Skip to content

Commit 7ec6de7

Browse files
committed
Please consider the following formatting changes
1 parent 06e871b commit 7ec6de7

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct ThreeParticleCorrelations {
5353
float cosPAMin = 0.995;
5454
float dcaProtonMin = 0.05, dcaPionMin = 0.2;
5555
int dcaV0DauMax = 1;
56-
56+
5757
// Track filter parameters
5858
float pionPtMin = 0.3, pionPtMax = 2.3, kaonPtMin = 0.5, kaonPtMax = 2.5, protonPtMin = 0.5, protonPtMax = 2.5;
5959
float pionPtMid = 1.5, kaonPtMid1 = 1.5, kaonPtMid2 = 2.0, protonPtMid = 0.7;
@@ -74,13 +74,13 @@ struct ThreeParticleCorrelations {
7474
HistogramRegistry rQARegistry{"QARegistry", {}, OutputObjHandlingPolicy::AnalysisObject, false, true};
7575

7676
// Collision & Event filters
77-
Filter collCent = aod::cent::centFT0C > centMin && aod::cent::centFT0C < centMax;
77+
Filter collCent = aod::cent::centFT0C > centMin&& aod::cent::centFT0C < centMax;
7878
Filter collZvtx = nabs(aod::collision::posZ) < zvtxMax;
7979
Filter mcCollZvtx = nabs(aod::mccollision::posZ) < zvtxMax;
8080
Filter evSelect = aod::evsel::sel8 == true;
8181

8282
// Track filters
83-
Filter trackPt = aod::track::pt > trackPtMin && aod::track::pt < trackPtMax;
83+
Filter trackPt = aod::track::pt > trackPtMin&& aod::track::pt < trackPtMax;
8484
Filter trackEta = nabs(aod::track::eta) < trackEtaMax;
8585
Filter globalTracks = requireGlobalTrackInFilter();
8686

@@ -108,8 +108,8 @@ struct ThreeParticleCorrelations {
108108
aod::pidTOFFullPi, aod::pidTOFFullKa, aod::pidTOFFullPr, aod::pidTOFbeta>>;
109109

110110
// Partitions
111-
Partition<MyFilteredMCParticles> mcTracks = aod::mcparticle::pt > trackPtMin && aod::mcparticle::pt < trackPtMax;
112-
Partition<MyFilteredMCParticles> mcV0s = aod::mcparticle::pt > v0PtMin && aod::mcparticle::pt < v0PtMax && nabs(aod::mcparticle::eta) < v0EtaMax;
111+
Partition<MyFilteredMCParticles> mcTracks = aod::mcparticle::pt > trackPtMin&& aod::mcparticle::pt < trackPtMax;
112+
Partition<MyFilteredMCParticles> mcV0s = aod::mcparticle::pt > v0PtMin&& aod::mcparticle::pt < v0PtMax&& nabs(aod::mcparticle::eta) < v0EtaMax;
113113
Partition<MyFilteredMCParticles> mcTriggers = ((aod::mcparticle::pdgCode == static_cast<int>(kLambda0) || aod::mcparticle::pdgCode == static_cast<int>(kLambda0Bar)) &&
114114
aod::mcparticle::pt > v0PtMin && aod::mcparticle::pt < v0PtMax && nabs(aod::mcparticle::eta) < v0EtaMax);
115115
Partition<MyFilteredMCParticles> mcAssociates = (((aod::mcparticle::pdgCode == static_cast<int>(kPiPlus) || aod::mcparticle::pdgCode == static_cast<int>(kPiMinus)) && aod::mcparticle::pt > pionPtMin && aod::mcparticle::pt < pionPtMax) ||
@@ -759,17 +759,17 @@ struct ThreeParticleCorrelations {
759759
if (!v0.has_mcParticle()) {
760760
continue;
761761
}
762-
762+
763763
if (v0Filters(collision, v0, tracks)) {
764764

765-
// V0 efficiency - Reconstructed
765+
// V0 efficiency - Reconstructed
766766
if (v0Sign(v0) == 1) { // Lambdas
767-
candMass = v0.mLambda();
768-
rQARegistry.fill(HIST("hInvMassLambda_MC"), v0.mLambda(), v0.pt(), collision.centFT0C());
767+
candMass = v0.mLambda();
768+
rQARegistry.fill(HIST("hInvMassLambda_MC"), v0.mLambda(), v0.pt(), collision.centFT0C());
769769
rMCRegistry.fill(HIST("hRecLambdaP"), v0.pt(), v0.eta(), collision.centFT0C());
770770
} else if (v0Sign(v0) == -1) { // AntiLambdas
771-
candMass = v0.mAntiLambda();
772-
rQARegistry.fill(HIST("hInvMassAntiLambda_MC"), v0.mAntiLambda(), v0.pt(), collision.centFT0C());
771+
candMass = v0.mAntiLambda();
772+
rQARegistry.fill(HIST("hInvMassAntiLambda_MC"), v0.mAntiLambda(), v0.pt(), collision.centFT0C());
773773
rMCRegistry.fill(HIST("hRecLambdaN"), v0.pt(), v0.eta(), collision.centFT0C());
774774
}
775775
}
@@ -886,14 +886,14 @@ struct ThreeParticleCorrelations {
886886
if (FillHist) {
887887
rQARegistry.fill(HIST("hNEvents"), 2.5);
888888
}
889-
889+
890890
return true;
891891
}
892892

893893
template <class Col, class V0Cand, typename T>
894894
bool v0Filters(const Col& col, const V0Cand& v0, T const&) // V0 filter
895895
{
896-
896+
897897
// Kinematic cuts
898898
if (v0.pt() <= v0PtMin || v0.pt() >= v0PtMax || std::abs(v0.eta()) >= v0EtaMax) {
899899
return false;
@@ -910,17 +910,17 @@ struct ThreeParticleCorrelations {
910910
}
911911
if (v0Sign(v0) == 1) {
912912
if (std::abs(posDaughter.tpcNSigmaPr()) >= nSigma5 || std::abs(negDaughter.tpcNSigmaPi()) >= nSigma5) {
913-
return false;
913+
return false;
914914
}
915915
if (std::abs(v0.dcapostopv()) <= dcaProtonMin || std::abs(v0.dcanegtopv()) <= dcaPionMin) {
916-
return false;
916+
return false;
917917
}
918918
} else if (v0Sign(v0) == -1) {
919919
if (std::abs(posDaughter.tpcNSigmaPi()) >= nSigma5 || std::abs(negDaughter.tpcNSigmaPr()) >= nSigma5) {
920-
return false;
920+
return false;
921921
}
922922
if (std::abs(v0.dcapostopv()) <= dcaPionMin || std::abs(v0.dcanegtopv()) <= dcaProtonMin) {
923-
return false;
923+
return false;
924924
}
925925
}
926926

@@ -1123,12 +1123,12 @@ struct ThreeParticleCorrelations {
11231123
}
11241124
}
11251125

1126-
if (proton.sign() * track.sign() == -1) { // OS (Electric charge)
1127-
if (std::abs(dEta) < dEtaMin && std::abs(dPhiStar) < dPhiStarMinOS) {
1128-
pass = false;
1129-
}
1130-
}
1131-
}
1126+
if (proton.sign() * track.sign() == -1) { // OS (Electric charge)
1127+
if (std::abs(dEta) < dEtaMin && std::abs(dPhiStar) < dPhiStarMinOS) {
1128+
pass = false;
1129+
}
1130+
}
1131+
}
11321132

11331133
dPhiStarMean += (dPhiStar / 170);
11341134
}
@@ -1160,10 +1160,10 @@ struct ThreeParticleCorrelations {
11601160
}
11611161

11621162
if (proton.sign() * track.sign() == 1) { // SS (Electric charge)
1163-
if (std::abs(dEta) < dEtaMin && std::abs(dPhiStarMean) < dPhiStarMinSS) {
1164-
pass = false;
1165-
}
1166-
}
1163+
if (std::abs(dEta) < dEtaMin && std::abs(dPhiStarMean) < dPhiStarMinSS) {
1164+
pass = false;
1165+
}
1166+
}
11671167
}
11681168

11691169
return pass;

0 commit comments

Comments
 (0)