Skip to content

Commit 3edceb1

Browse files
authored
Merge pull request #2 from alibuild/alibot-cleanup-18036
[PWGLF] Please consider the following formatting changes to #18036
2 parents 641c8ae + 069067f commit 3edceb1

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎PWGLF/DataModel/LFHResonanceCorrelationTables.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ DECLARE_SOA_TABLE(
148148
assocKstars::PosTrackDaughterId,
149149
assocKstars::NegTrackDaughterId);
150150
} // namespace o2::aod
151-
#endif // PWGLF_DATAMODEL_LFHRESONANCECORRELATIONTABLES_H_
151+
#endif // PWGLF_DATAMODEL_LFHRESONANCECORRELATIONTABLES_H_

‎PWGLF/TableProducer/Resonances/hResonanceCorrelationFilter.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,9 +1256,9 @@ struct HResonanceCorrelationFilter {
12561256
}
12571257

12581258
LorentzVectorPtEtaPhiMass kaon = LorentzVectorPtEtaPhiMass(kaonTrack.pt(), kaonTrack.eta(), kaonTrack.phi(),
1259-
o2::constants::physics::MassKPlus);
1259+
o2::constants::physics::MassKPlus);
12601260
LorentzVectorPtEtaPhiMass pion = LorentzVectorPtEtaPhiMass(pionTrack.pt(), pionTrack.eta(), pionTrack.phi(),
1261-
o2::constants::physics::MassPiPlus);
1261+
o2::constants::physics::MassPiPlus);
12621262
LorentzVectorPtEtaPhiMass kstar = kaon + pion;
12631263

12641264
float invMass = kstar.M();
@@ -1338,4 +1338,4 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
13381338
{
13391339
return WorkflowSpec{
13401340
adaptAnalysisTask<HResonanceCorrelationFilter>(cfgc)};
1341-
}
1341+
}

‎PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ struct HResonanceCorrelation {
13611361
c.isRightBg = (massWindowConfigurationsPhi.minBgNSigma * sig < delta && delta < massWindowConfigurationsPhi.maxBgNSigma * sig);
13621362

13631363
c.passesMcSelection = (!masterConfigurations.doMCassociation || assocCandidate.mcTruePhi()) &&
1364-
(!doAssocPhysicalPrimary || assocCandidate.mcPhysicalPrimary());
1364+
(!doAssocPhysicalPrimary || assocCandidate.mcPhysicalPrimary());
13651365

13661366
// Candidate-level kinematic/spectrum QA, ported from the equivalent
13671367
// block in hStrangeCorrelation.cxx (h3d<Species>Spectrum[Y],
@@ -1712,7 +1712,7 @@ struct HResonanceCorrelation {
17121712
c.isRightBg = (massWindowConfigurationsKstar.minBgNSigma * sig < delta && delta < massWindowConfigurationsKstar.maxBgNSigma * sig);
17131713

17141714
c.passesMcSelection = (!masterConfigurations.doMCassociation || assocCandidate.mcTrueKstar()) &&
1715-
(!doAssocPhysicalPrimary || assocCandidate.mcPhysicalPrimary());
1715+
(!doAssocPhysicalPrimary || assocCandidate.mcPhysicalPrimary());
17161716

17171717
// Same candidate-level Spectrum/EtaVsPtVsPhi QA as fillCorrelationsPhi
17181718
// above -- see the comment there for rationale.
@@ -2717,7 +2717,7 @@ struct HResonanceCorrelation {
27172717
std::vector<uint32_t> piIndices;
27182718
std::vector<uint32_t> phiIndices;
27192719
std::vector<uint32_t> kstarIndices; // intentionally left unpopulated: Kstar0 is not
2720-
// extended to this process function in this version
2720+
// extended to this process function in this version
27212721

27222722
for (auto const& mcParticle : mcParticles) {
27232723
double geta = mcParticle.eta();
@@ -2830,9 +2830,9 @@ struct HResonanceCorrelation {
28302830
}
28312831
}
28322832

2833-
associatedIndices.emplace_back(phiIndices); // IndexPhi = 0
2834-
associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here)
2835-
associatedIndices.emplace_back(piIndices); // IndexPion = 2
2833+
associatedIndices.emplace_back(phiIndices); // IndexPhi = 0
2834+
associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here)
2835+
associatedIndices.emplace_back(piIndices); // IndexPion = 2
28362836
associatedIndices.emplace_back(assocHadronIndices); // Hadron = 3
28372837

28382838
for (std::size_t iTrigger = 0; iTrigger < triggerIndices.size(); iTrigger++) {
@@ -2914,7 +2914,7 @@ struct HResonanceCorrelation {
29142914
std::vector<uint32_t> piIndices;
29152915
std::vector<uint32_t> phiIndices;
29162916
std::vector<uint32_t> kstarIndices; // intentionally left unpopulated: Kstar0 is not
2917-
// extended to this process function in this version
2917+
// extended to this process function in this version
29182918
float centMultFT0M = -1;
29192919
float centMultFT0A = -1;
29202920
float centMultFT0C = -1;
@@ -2998,9 +2998,9 @@ struct HResonanceCorrelation {
29982998
}
29992999
}
30003000

3001-
associatedIndices.emplace_back(phiIndices); // IndexPhi = 0
3002-
associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here)
3003-
associatedIndices.emplace_back(piIndices); // IndexPion = 2
3001+
associatedIndices.emplace_back(phiIndices); // IndexPhi = 0
3002+
associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here)
3003+
associatedIndices.emplace_back(piIndices); // IndexPion = 2
30043004
associatedIndices.emplace_back(assocHadronIndices); // Hadron = 3
30053005
for (std::size_t iTrigger = 0; iTrigger < triggerIndices.size(); iTrigger++) {
30063006
auto triggerParticle = mcParticles.iteratorAt(triggerIndices[iTrigger]);
@@ -3074,4 +3074,4 @@ struct HResonanceCorrelation {
30743074
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
30753075
{
30763076
return WorkflowSpec{adaptAnalysisTask<HResonanceCorrelation>(cfgc)};
3077-
}
3077+
}

0 commit comments

Comments
 (0)