Skip to content

Commit dce1063

Browse files
committed
Please consider the following formatting changes
1 parent bdf24f1 commit dce1063

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

PWGLF/TableProducer/Strangeness/cascadeflow.cxx

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -580,9 +580,12 @@ struct cascadeFlow {
580580
void fillAnalysedLambdaTable(collision_t coll, bool hasEventPlane, bool hasSpectatorPlane, int chargeIndex, v0_t v0, float v2CEP, float psiT0C, double pzs2Lambda, double cos2ThetaLambda, double cosThetaLambda)
581581
{
582582
double invMassLambda = 0;
583-
if (chargeIndex == 0) invMassLambda = v0.mLambda();
584-
else if (chargeIndex == 1) invMassLambda = v0.mAntiLambda();
585-
else invMassLambda = v0.mLambda();
583+
if (chargeIndex == 0)
584+
invMassLambda = v0.mLambda();
585+
else if (chargeIndex == 1)
586+
invMassLambda = v0.mAntiLambda();
587+
else
588+
invMassLambda = v0.mLambda();
586589
analysisLambdaSample(coll.centFT0C(),
587590
hasEventPlane,
588591
hasSpectatorPlane,
@@ -1598,7 +1601,7 @@ struct cascadeFlow {
15981601
}
15991602
if (!isSelectedV0[0] && !isSelectedV0[1])
16001603
continue;
1601-
1604+
16021605
ROOT::Math::XYZVector lambdaQvec{std::cos(2 * v0.phi()), std::sin(2 * v0.phi()), 0};
16031606
auto v2CSP = lambdaQvec.Dot(eventplaneVecT0C); // not normalised by amplitude
16041607
auto lambdaminuspsiT0C = GetPhiInRange(v0.phi() - psiT0C);
@@ -1666,13 +1669,17 @@ struct cascadeFlow {
16661669
}
16671670

16681671
double invMassLambda = 0;
1669-
if (chargeIndex == 0) invMassLambda = v0.mLambda();
1670-
else if (chargeIndex == 1) invMassLambda = v0.mAntiLambda();
1671-
else invMassLambda = v0.mLambda();
1672+
if (chargeIndex == 0)
1673+
invMassLambda = v0.mLambda();
1674+
else if (chargeIndex == 1)
1675+
invMassLambda = v0.mAntiLambda();
1676+
else
1677+
invMassLambda = v0.mLambda();
1678+
1679+
// mass selection
1680+
if (invMassLambda < V0Configs.MinMassLambdaInTree || invMassLambda > V0Configs.MaxMassLambdaInTree)
1681+
continue;
16721682

1673-
//mass selection
1674-
if (invMassLambda < V0Configs.MinMassLambdaInTree || invMassLambda > V0Configs.MaxMassLambdaInTree) continue;
1675-
16761683
if (fillingConfigs.isFillTree)
16771684
fillAnalysedLambdaTable(coll, hasEventPlane, hasSpectatorPlane, chargeIndex, v0, v2CEP, psiT0C, pzs2Lambda, cos2ThetaLambda, cosThetaLambda);
16781685
}

0 commit comments

Comments
 (0)