Skip to content

Commit 73e09c6

Browse files
author
Pei-Ying Kuan
committed
fix function eror
1 parent aabc1ca commit 73e09c6

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
364364
int h7 = 0;
365365
int h8 = 0;
366366
// Book Q-vector components:
367-
static constexpr int MaxCorrelator = 4; // <<m>>
368-
static constexpr int MaxHarmonic = 17; // need 4 + 2 + 2 + 4 + 1 at least for SC(4,2)
367+
static constexpr int MaxCorrelator = 4; // <<m>>
368+
static constexpr int MaxHarmonic = 17; // need 4 + 2 + 2 + 4 + 1 at least for SC(4,2)
369369
static constexpr int MaxPower = MaxCorrelator + 1;
370370
std::array<std::array<TComplex, MaxPower>, MaxHarmonic> fQvectorBefore;
371371
std::array<std::array<TComplex, MaxPower>, MaxHarmonic> fQvectorAfter;
@@ -586,13 +586,11 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam
586586
}
587587
return TComplex::Conjugate(mcc.fQvectorAfterA[-n][p]);
588588
}
589-
if (egap == 2) {
590-
// Q-vector after cut, eta > gap:
591-
if (n >= 0) {
592-
return mcc.fQvectorAfterB[n][p];
593-
}
594-
return TComplex::Conjugate(mcc.fQvectorAfterB[-n][p]);
589+
// Q-vector after cut, eta > gap:
590+
if (n >= 0) {
591+
return mcc.fQvectorAfterB[n][p];
595592
}
593+
return TComplex::Conjugate(mcc.fQvectorAfterB[-n][p]);
596594
}
597595

598596
TComplex mccTwo(int n1, int n2, EnBeforeAfter eba, int egap)

0 commit comments

Comments
 (0)