Skip to content

Commit f72d4d7

Browse files
author
Pei-Ying Kuan
committed
fix error
1 parent 266f505 commit f72d4d7

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -489,12 +489,16 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
489489
if (n >= 0) {
490490
return mcc.fQvectorBefore[n][p];
491491
}
492-
return TComplex::Conjugate(mcc.fQvectorBefore[-n][p]);
493-
} else if (eba == eAfter) {
492+
else {
493+
return TComplex::Conjugate(mcc.fQvectorBefore[-n][p]);
494+
}
495+
} else {
494496
if (n >= 0) {
495497
return mcc.fQvectorAfter[n][p];
496498
}
497-
return TComplex::Conjugate(mcc.fQvectorAfter[-n][p]);
499+
else {
500+
return TComplex::Conjugate(mcc.fQvectorAfter[-n][p]);
501+
}
498502
}
499503
}
500504

@@ -725,7 +729,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
725729
return;
726730
}
727731

728-
TH1F* histAcceptanceWeight = wt.fWeightHistograms[1];
732+
// TH1F* histAcceptanceWeight = wt.fWeightHistograms[1];
729733

730734
for (int h = 0; h < mcc.MaxHarmonic; h++) {
731735
for (int p = 0; p < mcc.MaxPower; p++) {

0 commit comments

Comments
 (0)