Skip to content

Commit 27bbe4d

Browse files
authored
Merge pull request #3 from alibuild/alibot-cleanup-18036
[PWGLF] Please consider the following formatting changes to #18036
2 parents e5ca551 + eb05780 commit 27bbe4d

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎PWGLF/TableProducer/Resonances/hResonanceCorrelationFilter.cxx‎

Lines changed: 2 additions & 2 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();

‎PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx‎

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

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

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

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

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

27242724
for (auto const& mcParticle : mcParticles) {
27252725
double geta = mcParticle.eta();
@@ -2832,9 +2832,9 @@ struct HResonanceCorrelation {
28322832
}
28332833
}
28342834

2835-
associatedIndices.emplace_back(phiIndices); // IndexPhi = 0
2836-
associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here)
2837-
associatedIndices.emplace_back(piIndices); // IndexPion = 2
2835+
associatedIndices.emplace_back(phiIndices); // IndexPhi = 0
2836+
associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here)
2837+
associatedIndices.emplace_back(piIndices); // IndexPion = 2
28382838
associatedIndices.emplace_back(assocHadronIndices); // Hadron = 3
28392839

28402840
for (std::size_t iTrigger = 0; iTrigger < triggerIndices.size(); iTrigger++) {
@@ -2916,7 +2916,7 @@ struct HResonanceCorrelation {
29162916
std::vector<uint32_t> piIndices;
29172917
std::vector<uint32_t> phiIndices;
29182918
std::vector<uint32_t> kstarIndices; // intentionally left unpopulated: Kstar0 is not
2919-
// extended to this process function in this version
2919+
// extended to this process function in this version
29202920
float centMultFT0M = -1;
29212921
float centMultFT0A = -1;
29222922
float centMultFT0C = -1;
@@ -3000,9 +3000,9 @@ struct HResonanceCorrelation {
30003000
}
30013001
}
30023002

3003-
associatedIndices.emplace_back(phiIndices); // IndexPhi = 0
3004-
associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here)
3005-
associatedIndices.emplace_back(piIndices); // IndexPion = 2
3003+
associatedIndices.emplace_back(phiIndices); // IndexPhi = 0
3004+
associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here)
3005+
associatedIndices.emplace_back(piIndices); // IndexPion = 2
30063006
associatedIndices.emplace_back(assocHadronIndices); // Hadron = 3
30073007
for (std::size_t iTrigger = 0; iTrigger < triggerIndices.size(); iTrigger++) {
30083008
auto triggerParticle = mcParticles.iteratorAt(triggerIndices[iTrigger]);

0 commit comments

Comments
 (0)