Skip to content

Commit 2898b7a

Browse files
ekryshenDelloStritto
authored andcommitted
[PWGUD] Change condition for pileup selection (#18632)
1 parent 2de68c1 commit 2898b7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PWGUD/TableProducer/upcCandProducerBarrel.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ struct UpcCandProducerBarrel {
547547
const auto iTF = localTFIndex[bc.globalIndex()];
548548
const auto tfID = tfIDs[iTF];
549549
const int32_t rofInTF = getRofInTF(bcInTF);
550-
bool pileupInROF = vCollisionsPerROF[iTF][rofInTF] > 1;
550+
bool pileupInROF = vCollisionsPerROF[iTF][rofInTF] >= 1; // TODO investigate other options
551551
bool upcMode = vCollisionsPerROF[iTF][rofInTF] == 0 || vUpcModePerROF[iTF][rofInTF] > 0;
552552

553553
// Multiplicity for FT0C-based occupancy estimates
@@ -677,7 +677,7 @@ struct UpcCandProducerBarrel {
677677
const int bcInOrbit = globalBC % NBCsPerOrbit;
678678
const int32_t rofInTF = getRofInTF(bcInTF);
679679
bool upcMode = vCollisionsPerROF[iTF][rofInTF] == 0 || vUpcModePerROF[iTF][rofInTF] > 0;
680-
bool pileupInROF = vCollisionsPerROF[iTF][rofInTF] > 1;
680+
bool pileupInROF = vCollisionsPerROF[iTF][rofInTF] >= 1;
681681
const auto distanceFT0 = minDistanceFT0[iTF][bcInTF];
682682
const auto distanceFV0 = minDistanceFV0[iTF][bcInTF];
683683
const auto distanceFDD = minDistanceFDD[iTF][bcInTF];

0 commit comments

Comments
 (0)