Skip to content

Commit

Permalink
fetch config
Browse files Browse the repository at this point in the history
  • Loading branch information
njacazio committed Nov 16, 2023
1 parent cd1022b commit ae1513c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Modules/GLO/src/ITSTPCMatchingTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ void ITSTPCMatchingTask::initialize(o2::framework::InitContext& /*ctx*/)
mMatchITSTPCQC.setUseMC(true);
}
}
if (auto param = mCustomParameters.find("useTrkPID"); param != mCustomParameters.end()) {
ILOG(Debug, Devel) << "Custom parameter - useTrkPID (= add plots for tracking PID): " << param->second << ENDM;
if (param->second == "true" || param->second == "True" || param->second == "TRUE") {
mMatchITSTPCQC.setUseTrkPID(true);
}
}
if (auto param = mCustomParameters.find("minPtCut"); param != mCustomParameters.end()) {
ILOG(Debug, Devel) << "Custom parameter - minPtCut (for track selection): " << param->second << ENDM;
mMatchITSTPCQC.setPtCut(atof(param->second.c_str()));
Expand Down

0 comments on commit ae1513c

Please sign in to comment.