Skip to content

Commit

Permalink
[TPC-QC] Add configurables for the DCAr selection in Tracks.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Korwieser committed Oct 4, 2024
1 parent 69c7893 commit 8082ebb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Modules/TPC/src/Tracks.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ void Tracks::initialize(o2::framework::InitContext& /*ctx*/)
const float cutPtForDCAr = o2::quality_control_modules::common::getFromConfig<float>(mCustomParameters, "cutPtForDCAr", 1.5); // min pt cut only for the DCA
const float samplingFractionDCAr = o2::quality_control_modules::common::getFromConfig<float>(mCustomParameters, "samplingFractionDCAr", 0.1);
const bool runAsyncAndTurnOffSomeHistos = o2::quality_control_modules::common::getFromConfig<bool>(mCustomParameters, "turnOffHistosForAsync");
const float cutMaxAbsDCAr = o2::quality_control_modules::common::getFromConfig<float>(mCustomParameters, "cutMaxAbsDCAr", 0.1);
const bool useCutMaxAbsDCArOnHistos = o2::quality_control_modules::common::getFromConfig<bool>(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!
Expand Down Expand Up @@ -95,4 +97,4 @@ void Tracks::reset()
mQCTracks.resetHistograms();
}

} // namespace o2::quality_control_modules::tpc
} // namespace o2::quality_control_modules::tpc

0 comments on commit 8082ebb

Please sign in to comment.