Skip to content

Commit b748c7e

Browse files
authored
ZN a+c sum fix
1 parent 254de9b commit b748c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DPG/Tasks/AOTEvent/timeDependentQa.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ struct TimeDependentQaTask {
769769
histos.fill(HIST("multDistributions/hSecondsDistrZNA"), secFromSOR, col.multZNA());
770770
histos.fill(HIST("multDistributions/hSecondsDistrZNC"), secFromSOR, col.multZNC());
771771
float ZNdiff = col.multZNA() - col.multZNC();
772-
float ZNsum = col.multZNA() - col.multZNC();
772+
float ZNsum = col.multZNA() + col.multZNC();
773773
histos.fill(HIST("multDistributions/hSecondsDistrZNACdiff"), secFromSOR, ZNdiff);
774774
if (ZNsum > 0)
775775
histos.fill(HIST("multDistributions/hSecondsDistrZNACdiffNorm"), secFromSOR, ZNdiff / ZNsum);

0 commit comments

Comments
 (0)