Skip to content

Commit 4580a7c

Browse files
committed
fix o2-linter
1 parent 912f9bf commit 4580a7c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

PWGLF/Tasks/Resonances/cha01710analysis.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ struct Cha01710analysis {
140140
int refBId = 5;
141141

142142
float centrality = -1.;
143+
float rotmin = 5.0 / 6.0;
144+
float rotmax = 7.0 / 6.0;
143145

144146
template <typename T>
145147
int getDetId(T const& name)
@@ -349,7 +351,7 @@ struct Cha01710analysis {
349351
histos.fill(HIST("Pair/hSignalMinus"), mother.M(), mother.Pt(), centrality, relPhi);
350352
}
351353
for (int i = 0; i < cfgNRotations; ++i) {
352-
auto randomPhi = rn->Uniform(o2::constants::math::PI * 5.0 / 6.0, o2::constants::math::PI * 7.0 / 6.0);
354+
auto randomPhi = rn->Uniform(o2::constants::math::PI * rotmin, o2::constants::math::PI * rotmax);
353355
randomPhi += kaon.Phi();
354356
auto kaonRot = ROOT::Math::PxPyPzMVector(kaon.Pt() * std::cos(randomPhi), kaon.Pt() * std::sin(randomPhi), track.pz(), o2::constants::physics::MassKaonCharged);
355357
auto motherRot = k0 + kaonRot;

0 commit comments

Comments
 (0)