Skip to content

Commit 46091d8

Browse files
authored
Merge pull request #194 from alibuild/alibot-cleanup-16514
Please consider the following formatting changes to #16514
2 parents e3e2477 + db746e4 commit 46091d8

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}});
@@ -1312,44 +1312,44 @@ struct HigherMassResonances {
13121312

13131313
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()));
13141314
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()));
1315-
1315+
13161316
if (config.qAv0) {
13171317
rKzeroShort.fill(HIST("hDauDeltaR"), deltaRDaugherPos, deltaRDaugherNeg);
13181318
}
1319-
1319+
13201320
if (deltaRDaugherPos < config.deltaRDaugherCut || deltaRDaugherNeg < config.deltaRDaugherCut) {
13211321
continue;
13221322
}
1323-
1323+
13241324
if (config.isApplyEtaCutK0s && (v1.eta() < config.confDaughEta || v2.eta() < config.confDaughEta)) {
13251325
continue;
13261326
}
1327-
1327+
13281328
allConditionsMet = 1;
13291329
daughter1 = ROOT::Math::PxPyPzMVector(v1.px(), v1.py(), v1.pz(), o2::constants::physics::MassK0Short); // Kshort
13301330
daughter2 = ROOT::Math::PxPyPzMVector(v2.px(), v2.py(), v2.pz(), o2::constants::physics::MassK0Short); // Kshort
13311331

13321332
mother = daughter1 + daughter2; // invariant mass of Kshort pair
13331333
isMix = false;
1334-
1334+
13351335
const double deltaMass = deltaM(v1.mK0Short(), v2.mK0Short());
13361336
if (config.qAv0) {
13371337
rKzeroShort.fill(HIST("hK0ShortMassCorr"), v1.mK0Short(), v2.mK0Short(), deltaMass);
13381338
}
1339-
1339+
13401340
if (!config.qAOptimisation) {
13411341
if (deltaMass > config.cMaxDeltaM) {
13421342
continue;
13431343
}
13441344
}
1345-
1345+
13461346
const double ptCorr = (mother.Pt() - daughter1.Pt() != 0.) ? daughter1.Pt() / (mother.Pt() - daughter1.Pt()) : 0.;
13471347
if (config.qAv0) {
13481348
rKzeroShort.fill(HIST("hK0sPtCorrelation"), ptCorr);
13491349
}
1350-
1350+
13511351
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()));
1352-
1352+
13531353
if (!config.qAOptimisation) {
13541354
if (deltaRvalue < config.deltaRK0sCut) {
13551355
continue;

0 commit comments

Comments
 (0)