Skip to content

Commit 08ddd5a

Browse files
committed
fix clang
1 parent dfc132e commit 08ddd5a

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

PWGLF/Tasks/Resonances/higherMassResonances.cxx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
#include "Common/DataModel/Multiplicity.h"
2828
#include "Common/DataModel/PIDResponseTOF.h" //
2929
#include "Common/DataModel/PIDResponseTPC.h" //
30-
#include "Common/DataModel/TrackSelectionTables.h"
3130
#include "Common/DataModel/Qvectors.h"
31+
#include "Common/DataModel/TrackSelectionTables.h"
3232

3333
#include <CommonConstants/MathConstants.h>
3434
#include <CommonConstants/PhysicsConstants.h>
@@ -448,7 +448,7 @@ struct HigherMassResonances {
448448
hglue.add("EpDet", "", {HistType::kTH2F, {axisCentQA, axisEvtPlQA}});
449449
hglue.add("EpRefA", "", {HistType::kTH2F, {axisCentQA, axisEvtPlQA}});
450450
hglue.add("EpRefB", "", {HistType::kTH2F, {axisCentQA, axisEvtPlQA}});
451-
451+
452452
hglue.add("EpResDetRefA", "", {HistType::kTH2F, {axisCentQA, axisEvtResPlQA}});
453453
hglue.add("EpResDetRefB", "", {HistType::kTH2F, {axisCentQA, axisEvtResPlQA}});
454454
hglue.add("EpResRefARefB", "", {HistType::kTH2F, {axisCentQA, axisEvtResPlQA}});
@@ -1311,43 +1311,43 @@ struct HigherMassResonances {
13111311

13121312
double deltaRDaugherPos = std::sqrt(TVector2::Phi_mpi_pi(postrack1.phi() - negtrack1.phi()) * TVector2::Phi_mpi_pi(postrack1.phi() - negtrack1.phi()) + (postrack1.eta() - negtrack1.eta()) * (postrack1.eta() - negtrack1.eta()));
13131313
double deltaRDaugherNeg = std::sqrt(TVector2::Phi_mpi_pi(postrack2.phi() - negtrack2.phi()) * TVector2::Phi_mpi_pi(postrack2.phi() - negtrack2.phi()) + (postrack2.eta() - negtrack2.eta()) * (postrack2.eta() - negtrack2.eta()));
1314-
1314+
13151315
if (config.qAv0) {
13161316
rKzeroShort.fill(HIST("hDauDeltaR"), deltaRDaugherPos, deltaRDaugherNeg);
13171317
}
1318-
1318+
13191319
if (deltaRDaugherPos < config.deltaRDaugherCut || deltaRDaugherNeg < config.deltaRDaugherCut) {
13201320
continue;
13211321
}
1322-
1322+
13231323
if (config.isApplyEtaCutK0s && (v1.eta() < config.confDaughEta || v2.eta() < config.confDaughEta)) {
13241324
continue;
13251325
}
1326-
1326+
13271327
daughter1 = ROOT::Math::PxPyPzMVector(v1.px(), v1.py(), v1.pz(), o2::constants::physics::MassK0Short); // Kshort
13281328
daughter2 = ROOT::Math::PxPyPzMVector(v2.px(), v2.py(), v2.pz(), o2::constants::physics::MassK0Short); // Kshort
13291329

13301330
mother = daughter1 + daughter2; // invariant mass of Kshort pair
13311331
isMix = false;
1332-
1332+
13331333
const double deltaMass = deltaM(v1.mK0Short(), v2.mK0Short());
13341334
if (config.qAv0) {
13351335
rKzeroShort.fill(HIST("hK0ShortMassCorr"), v1.mK0Short(), v2.mK0Short(), deltaMass);
13361336
}
1337-
1337+
13381338
if (!config.qAOptimisation) {
13391339
if (deltaMass > config.cMaxDeltaM) {
13401340
continue;
13411341
}
13421342
}
1343-
1343+
13441344
const double ptCorr = (mother.Pt() - daughter1.Pt() != 0.) ? daughter1.Pt() / (mother.Pt() - daughter1.Pt()) : 0.;
13451345
if (config.qAv0) {
13461346
rKzeroShort.fill(HIST("hK0sPtCorrelation"), ptCorr);
13471347
}
1348-
1348+
13491349
double deltaRvalue = std::sqrt(TVector2::Phi_mpi_pi(v1.phi() - v2.phi()) * TVector2::Phi_mpi_pi(v1.phi() - v2.phi()) + (v1.eta() - v2.eta()) * (v1.eta() - v2.eta()));
1350-
1350+
13511351
if (!config.qAOptimisation) {
13521352
if (deltaRvalue < config.deltaRK0sCut) {
13531353
continue;

0 commit comments

Comments
 (0)