11 #define SCORRELATORQAMAKER_CC
23 namespace SColdQcdCorrelatorAnalysis {
27 SCorrelatorQAMaker::~SCorrelatorQAMaker() {
29 delete m_checkTrackPairs;
30 delete m_makeTrackQATuples;
38 void SCorrelatorQAMaker::SetGlobalDebug(
const bool debug) {
40 m_checkTrackPairs -> SetDebug(debug);
41 m_makeTrackQATuples -> SetDebug(debug);
48 void SCorrelatorQAMaker::SetGlobalOutFile(
const string sOutFile) {
50 m_checkTrackPairs -> SetOutFile(sOutFile);
51 m_makeTrackQATuples -> SetOutFile(sOutFile);
58 void SCorrelatorQAMaker::SetGlobalVerbosity(
const int verbosity) {
60 m_checkTrackPairs -> SetVerbosity(verbosity);
61 m_makeTrackQATuples -> SetVerbosity(verbosity);
74 if (!name.has_value()) {
79 m_checkTrackPairs -> SetConfig(config);
87 template <>
void SCorrelatorQAMaker::InitPlugin(
const SMakeTrkQATuplesConfig&
config, optional<string>
name) {
90 if (!name.has_value()) {
94 m_makeTrackQATuples =
new SMakeTrkQATuples(name.value());
95 m_makeTrackQATuples -> SetConfig(config);