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.
  • Loading branch information
Maximilian Korwieser committed Nov 15, 2023
1 parent eafbbd5 commit 506e523
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 506e523

Please sign in to comment.