Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion PWGHF/D2H/TableProducer/mlBasedTrackSelector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ struct HfTrackSelectorTagSelTracks {
Configurable<bool> testAcknowledgement{"testAcknowledgement", false, "test acknowledgement"};
Configurable<bool> fillHistograms{"fillHistograms", true, "fill histograms"};
Configurable<float> ptMinTrack{"ptMinTrack", 0.3f, "min. track pT entering the charm combinatorics"};
Configurable<float> etaMaxTrack{"etaMaxTrack", 0.8f, "max. track eta entering the charm combinatorics"};
Configurable<bool> enableTiming{"enableTiming", false, "fill hTiming with the CPU of the feature building and of each model evaluation (adds two clock reads per call)"};
// D+ model
Configurable<bool> applyMlDplus{"applyMlDplus", true, "evaluate the D+ track model"};
Expand Down Expand Up @@ -589,7 +590,7 @@ struct HfTrackSelectorTagSelTracks {
registry.fill(HIST("hPtNoCuts"), track.pt());
}

const bool passesQuality = track.pt() >= config.ptMinTrack && track.isGlobalTrackWoDCA();
const bool passesQuality = track.pt() >= config.ptMinTrack && std::abs(track.eta()) <= config.etaMaxTrack && track.isGlobalTrackWoDCA();
if (passesQuality && !scoreCollision && config.fillHistograms) {
registry.fill(HIST("hPtQualityRejColl"), track.pt());
}
Expand Down
Loading