Skip to content

Commit cdf39af

Browse files
authored
[PWGCF] add ev selection for Mc true (#14254)
1 parent 778a327 commit cdf39af

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

PWGCF/Flow/Tasks/flowTask.cxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,13 @@ struct FlowTask {
12531253
fGFW->Clear();
12541254
fFCptgen->clearVector();
12551255

1256+
if (cfgUseAdditionalEventCut) {
1257+
for (auto const& collision : collisions) {
1258+
if (!eventSelected(collision, mcParticles.size(), cent))
1259+
return;
1260+
}
1261+
}
1262+
12561263
double ptSum_Gap08 = 0.;
12571264
double count_Gap08 = 0.;
12581265
for (const auto& mcParticle : mcParticles) {

0 commit comments

Comments
 (0)