diff --git a/Modules/TPC/src/Tracks.cxx b/Modules/TPC/src/Tracks.cxx index 6932ffde41..76f8f1074b 100644 --- a/Modules/TPC/src/Tracks.cxx +++ b/Modules/TPC/src/Tracks.cxx @@ -43,9 +43,11 @@ void Tracks::initialize(o2::framework::InitContext& /*ctx*/) const float cutPtForDCAr = o2::quality_control_modules::common::getFromConfig(mCustomParameters, "cutPtForDCAr", 1.5); // min pt cut only for the DCA const float samplingFractionDCAr = o2::quality_control_modules::common::getFromConfig(mCustomParameters, "samplingFractionDCAr", 0.1); const bool runAsyncAndTurnOffSomeHistos = o2::quality_control_modules::common::getFromConfig(mCustomParameters, "turnOffHistosForAsync"); + const float cutMaxAbsDCAr = o2::quality_control_modules::common::getFromConfig(mCustomParameters, "cutMaxAbsDCAr", 0.1); + const bool useCutMaxAbsDCArOnHistos = o2::quality_control_modules::common::getFromConfig(mCustomParameters, "useCutMaxAbsDCArOnHistos"); // set track cuts defaults are (AbsEta = 1.0, nCluster = 60, MindEdxTot = 20) - mQCTracks.setTrackCuts(cutAbsEta, cutMinNCluster, cutMindEdxTot, cutPtForDCAr, samplingFractionDCAr, runAsyncAndTurnOffSomeHistos); + mQCTracks.setTrackCuts(cutAbsEta, cutMinNCluster, cutMindEdxTot, cutPtForDCAr, samplingFractionDCAr, runAsyncAndTurnOffSomeHistos, cutMaxAbsDCAr, useCutMaxAbsDCArOnHistos); mQCTracks.initializeHistograms(); // pass map of vectors of histograms to be beutified! @@ -95,4 +97,4 @@ void Tracks::reset() mQCTracks.resetHistograms(); } -} // namespace o2::quality_control_modules::tpc +} // namespace o2::quality_control_modules::tpc \ No newline at end of file