Skip to content

Commit 5919620

Browse files
committed
fix zdc gapside selection
1 parent 7402511 commit 5919620

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

‎PWGUD/Tasks/flowCorrelationsUpc.cxx‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,13 @@ struct FlowCorrelationsUpc {
264264
registry.fill(HIST("neutronClass"), 0, 0);
265265
}
266266
if (std::abs(timeZNA) <= cfgZdcTimeCut && std::abs(timeZNC) > cfgZdcTimeCut) {
267-
neutronClass = 1;
268-
registry.fill(HIST("neutronClass"), 0, 1);
269-
}
270-
if (std::abs(timeZNA) > cfgZdcTimeCut && std::abs(timeZNC) <= cfgZdcTimeCut) {
271267
neutronClass = 2;
272268
registry.fill(HIST("neutronClass"), 1, 0);
273269
}
270+
if (std::abs(timeZNA) > cfgZdcTimeCut && std::abs(timeZNC) <= cfgZdcTimeCut) {
271+
neutronClass = 1;
272+
registry.fill(HIST("neutronClass"), 0, 1);
273+
}
274274
if (std::abs(timeZNA) <= cfgZdcTimeCut && std::abs(timeZNC) <= cfgZdcTimeCut) {
275275
neutronClass = 3;
276276
registry.fill(HIST("neutronClass"), 1, 1);
@@ -332,10 +332,6 @@ struct FlowCorrelationsUpc {
332332
return false;
333333
}
334334

335-
if (!zdcTimeCut(collision)) {
336-
return false;
337-
}
338-
339335
return true;
340336
}
341337

0 commit comments

Comments
 (0)