Skip to content

Commit b18e6ce

Browse files
authored
make numbero of its clusters configurable
1 parent 67421a5 commit b18e6ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGLF/TableProducer/Nuspex/ebyeMaker.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ struct EbyeMaker {
257257
Configurable<float> antidPtItsClsSizeCut{"antidPtItsClsSizeCut", 10.f, "pt for cluster size cut for antideuterons"};
258258

259259
Configurable<float> trklEtaMax{"trklEtaMax", 0.8f, "maximum eta for run 2 tracklets"};
260+
Configurable<float> itsGloNclusItsCut{"itsGloNclusItsCut", 3, "Minimum number of ITS clusters for the ITS only + global tracks estimator"};
260261
Configurable<LabeledArray<float>> cfgTrackSels{"cfgTrackSels", {kTrackSels, 1, 12, particleName, trackSelsNames}, "Track selections"};
261262

262263
std::array<float, kNpart> ptMin;
@@ -555,7 +556,7 @@ struct EbyeMaker {
555556
for (const auto& track : tracks) {
556557
if (track.trackType() == o2::aod::track::TrackTypeEnum::Run2Tracklet && std::abs(track.eta()) < trklEtaMax && !(doprocessRun3 || doprocessMcRun3)) { // tracklet
557558
nTrackletsColl++;
558-
} else if (std::abs(track.eta()) < trklEtaMax && track.itsNCls() > 3 && (doprocessRun3 || doprocessMcRun3)) { // ITS only + global tracks
559+
} else if (std::abs(track.eta()) < trklEtaMax && track.itsNCls() > itsGloNclusItsCut && (doprocessRun3 || doprocessMcRun3)) { // ITS only + global tracks
559560
nTrackletsColl++;
560561
}
561562
if (!selectTrack(track)) {

0 commit comments

Comments
 (0)