Skip to content

Commit

Permalink
Add sampling to DCAr calculation, optional pT selection and DCAr vs p…
Browse files Browse the repository at this point in the history
…T, NCls, eta plots. (#2022)

Co-authored-by: Maximilian Korwieser <[email protected]>
  • Loading branch information
makor and Maximilian Korwieser authored Nov 27, 2023
1 parent d294eab commit 8b46870
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Modules/TPC/src/Tracks.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ void Tracks::initialize(o2::framework::InitContext& /*ctx*/)
const float cutMindEdxTot = o2::quality_control_modules::common::getFromConfig<float>(mCustomParameters, "cutMindEdxTot");
const float cutAbsEta = o2::quality_control_modules::common::getFromConfig<float>(mCustomParameters, "cutAbsEta");
const int cutMinNCluster = o2::quality_control_modules::common::getFromConfig<int>(mCustomParameters, "cutMinNCluster");
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);

// set track cuts defaults are (AbsEta = 1.0, nCluster = 60, MindEdxTot = 20)
mQCTracks.setTrackCuts(cutAbsEta, cutMinNCluster, cutMindEdxTot);
mQCTracks.setTrackCuts(cutAbsEta, cutMinNCluster, cutMindEdxTot, cutPtForDCAr, samplingFractionDCAr);

mQCTracks.initializeHistograms();
// pass map of vectors of histograms to be beutified!
Expand Down

0 comments on commit 8b46870

Please sign in to comment.