Skip to content

Commit 237ad99

Browse files
committed
Changed name of variable
1 parent 7554c49 commit 237ad99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -680,19 +680,19 @@ struct ThreeParticleCorrelations {
680680
bool radialDistanceFilter(const V0Cand& v0, const TrackCand& track, double B, bool Mix)
681681
{
682682

683-
auto Proton = v0.template posTrack_as<MyFilteredTracks>();
683+
auto proton = v0.template posTrack_as<MyFilteredTracks>();
684684
if (v0Sign(v0) == -1) {
685-
Proton = v0.template negTrack_as<MyFilteredTracks>();
685+
proton = v0.template negTrack_as<MyFilteredTracks>();
686686
}
687687

688-
double dEta = Proton.eta() - track.eta();
688+
double dEta = proton.eta() - track.eta();
689689
if (std::abs(dEta) > 0.02) {
690690
return kTRUE;
691691
}
692692

693693
double dPhiStar;
694-
double dPhi = Proton.phi() - track.phi();
695-
double phaseProton = (-0.3 * B * Proton.sign()) / (2 * Proton.pt());
694+
double dPhi = proton.phi() - track.phi();
695+
double phaseProton = (-0.3 * B * proton.sign()) / (2 * proton.pt());
696696
double phaseTrack = (-0.3 * B * track.sign()) / (2 * track.pt());
697697

698698
for (double r = 0.8; r <= 2.5; r += 0.01) {

0 commit comments

Comments
 (0)