Skip to content

Commit 4ef1213

Browse files
Fix formatting and comments in lambda1520_PbPb.cxx
1 parent 57f02d5 commit 4ef1213

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

PWGLF/Tasks/Resonances/lambda1520_PbPb.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ struct lambdaAnalysis_pb {
6262
Configurable<float> cPtMin{"cPtMin", 0.15, "Minimum Track pT"};
6363
Configurable<float> cPMin{"cPMin", 0., "Minimum Track p"};
6464
Configurable<float> cEtaMin{"cEtaMin", -0.8, "Minimum Pseudorapidity"};
65-
Configurable<float> cEtaMax{"cEtaMax", 0.8, "Maximum Pseudorapidity"};
65+
Configurable<float> cEtaMax{"cEtaMax", 0.8, "Maximum Pseudorapidity"};
6666
Configurable<float> cDcaz{"cDcazMin", 1., "Minimum DCAz"};
6767
Configurable<float> cfgRapidityMin{"cfgRapidityMin", -0.5, "Minimum rapidity"};
68-
Configurable<float> cfgRapidityMax{"cfgRapidityMax", 0.5, "Maximum rapidity"};
68+
Configurable<float> cfgRapidityMax{"cfgRapidityMax", 0.5, "Maximum rapidity"};
6969
// TPC crossed rows (absolute)
7070
Configurable<int> cfgMinCrossedRows{"cfgMinCrossedRows", 70, "min TPC crossed rows"};
7171
Configurable<bool> cfgUseCrossedRows{"cfgUseCrossedRows", false, "apply crossed rows cut"};
@@ -604,7 +604,7 @@ struct lambdaAnalysis_pb {
604604
float delta = o2::constants::math::PI / rotationalcut;
605605
float theta2;
606606
if (cNofRotations == 1) {
607-
// Single rotation — just rotate by exactly PI
607+
// Single rotation â just rotate by exactly PI
608608
theta2 = o2::constants::math::PI;
609609
} else {
610610
theta2 = (o2::constants::math::PI - delta) +
@@ -627,7 +627,7 @@ struct lambdaAnalysis_pb {
627627
float _Mrot = RecoDecay::m(arrMomRot, std::array{MassProton, MassKaonCharged});
628628
float _ptRot = RecoDecay::pt(std::array{_pxPr + _pxKaRot, _pyPr + _pyKaRot});
629629

630-
float _yrot =RecoDecay::y(std::array{_pxPr + _pxKaRot, _pyPr + _pyKaRot, _pzPr + _pzKa}, MassLambda1520);
630+
float _yrot = RecoDecay::y(std::array{_pxPr + _pxKaRot, _pyPr + _pyKaRot, _pzPr + _pzKa}, MassLambda1520);
631631

632632
if (_yrot < cfgRapidityMin || _yrot > cfgRapidityMax)
633633
continue;
@@ -788,7 +788,6 @@ struct lambdaAnalysis_pb {
788788
if (std::abs(part.pdgCode()) != lambda1520id) // // L* pdg_code = 3124
789789
continue;
790790

791-
792791
if (part.y() < cfgRapidityMin || part.y() > cfgRapidityMax)
793792
continue;
794793
bool pass1 = false;

0 commit comments

Comments
 (0)