Skip to content

Commit eb80df8

Browse files
committed
PWGCF/EbyE:MINOR FIX, Need to insert some missing condition in order to tune the process function with configurables
Signed-off-by: baasingh <balwansinghrana11@gmail.com>
1 parent 03c3531 commit eb80df8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGCF/EbyEFluctuations/Tasks/FactorialMomentsTask.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,9 @@ struct FactorialMomentsTask {
431431
histos.fill(HIST("mNFractionShClsTPC"), track.tpcFractionSharedCls());
432432
histos.fill(HIST("mSharedClsvsPt"), track.pt(), track.tpcNClsShared());
433433
histos.fill(HIST("mSharedClsProbvsPt"), track.pt(), track.tpcFractionSharedCls() / track.tpcNClsCrossedRows());
434-
checkpT(track);
435-
//}
434+
if (applyCheckPtForRec && !applyCheckPtForMC) {
435+
checkpT(track);
436+
}
436437
}
437438
auto mcParts = mcParticles.sliceBy(perMcCollision, coll.mcCollision().globalIndex());
438439
for (auto const& mc : mcParts) {

0 commit comments

Comments
 (0)