@@ -890,7 +890,7 @@ struct ThreeParticleCorrelations {
890890 template <class CollCand >
891891 bool acceptEvent (const CollCand& collision, bool FillHist) // Event filter
892892 {
893-
893+
894894 if (FillHist) {
895895 rQARegistry.fill (HIST (" hNEvents" ), 0.5 );
896896 }
@@ -915,7 +915,7 @@ struct ThreeParticleCorrelations {
915915 template <class V0Cand >
916916 bool v0Filters (const V0Cand& v0, bool MCRec) // V0 filter
917917 {
918-
918+
919919 if (v0.pt () < v0PtMin || v0.pt () > v0PtMax)
920920 return kFALSE ;
921921 if (std::abs (v0.eta ()) > v0EtaMax)
@@ -1132,16 +1132,16 @@ struct ThreeParticleCorrelations {
11321132 }
11331133 }
11341134
1135- if (std::abs (dEta) < dEtaMin) {
1136- if (proton.sign () * track.sign () == -1 ) { // OS (Electric charge)
1137- if (std::abs (dPhiStar) < dPhiStarMinOS) {
1138- pass = false ;
1139- }
1140- } else if (proton.sign () * track.sign () == 1 ) { // SS (Electric charge)
1141- if (std::abs (dPhiStar) < dPhiStarMinSS) {
1142- pass = false ;
1143- }
1144- }
1135+ if (std::abs (dEta) < dEtaMin) {
1136+ if (proton.sign () * track.sign () == -1 ) { // OS (Electric charge)
1137+ if (std::abs (dPhiStar) < dPhiStarMinOS) {
1138+ pass = false ;
1139+ }
1140+ } else if (proton.sign () * track.sign () == 1 ) { // SS (Electric charge)
1141+ if (std::abs (dPhiStar) < dPhiStarMinSS) {
1142+ pass = false ;
1143+ }
1144+ }
11451145 }
11461146
11471147 if (r == rMin && pass) {
@@ -1171,33 +1171,33 @@ struct ThreeParticleCorrelations {
11711171 }
11721172 }
11731173
1174- dPhiStarMean += (dPhiStar/ 170 );
1174+ dPhiStarMean += (dPhiStar / 170 );
11751175 }
11761176 // End of the TPC radius loop
1177-
1177+
11781178 if (!Mix) { // Same-event
1179- if (proton.sign () * track.sign () == -1 ) { // OS (Electric charge)
1180- rPhiStarRegistry.fill (HIST (" hSEPhiStarMean_OS" ), dPhiStarMean, dEta);
1181- } else if (proton.sign () * track.sign () == 1 ) { // SS (Electric charge)
1182- rPhiStarRegistry.fill (HIST (" hSEPhiStarMean_SS" ), dPhiStarMean, dEta);
1183- if (proton.sign () == 1 ) { // Positive
1184- rPhiStarRegistry.fill (HIST (" hSEPhiStarMean_SSP" ), dPhiStarMean, dEta);
1185- } else if (proton.sign () == -1 ) { // Negative
1186- rPhiStarRegistry.fill (HIST (" hSEPhiStarMean_SSN" ), dPhiStarMean, dEta);
1187- }
1188- }
1179+ if (proton.sign () * track.sign () == -1 ) { // OS (Electric charge)
1180+ rPhiStarRegistry.fill (HIST (" hSEPhiStarMean_OS" ), dPhiStarMean, dEta);
1181+ } else if (proton.sign () * track.sign () == 1 ) { // SS (Electric charge)
1182+ rPhiStarRegistry.fill (HIST (" hSEPhiStarMean_SS" ), dPhiStarMean, dEta);
1183+ if (proton.sign () == 1 ) { // Positive
1184+ rPhiStarRegistry.fill (HIST (" hSEPhiStarMean_SSP" ), dPhiStarMean, dEta);
1185+ } else if (proton.sign () == -1 ) { // Negative
1186+ rPhiStarRegistry.fill (HIST (" hSEPhiStarMean_SSN" ), dPhiStarMean, dEta);
1187+ }
1188+ }
11891189
11901190 } else { // Mixed-event
1191- if (proton.sign () * track.sign () == -1 ) { // OS (Electric charge)
1192- rPhiStarRegistry.fill (HIST (" hMEPhiStarMean_OS" ), dPhiStarMean, dEta);
1193- } else if (proton.sign () * track.sign () == 1 ) { // SS (Electric charge)
1194- rPhiStarRegistry.fill (HIST (" hMEPhiStarMean_SS" ), dPhiStarMean, dEta);
1195- if (proton.sign () == 1 ) { // Positive
1196- rPhiStarRegistry.fill (HIST (" hMEPhiStarMean_SSP" ), dPhiStarMean, dEta);
1197- } else if (proton.sign () == -1 ) { // Negative
1198- rPhiStarRegistry.fill (HIST (" hMEPhiStarMean_SSN" ), dPhiStarMean, dEta);
1199- }
1200- }
1191+ if (proton.sign () * track.sign () == -1 ) { // OS (Electric charge)
1192+ rPhiStarRegistry.fill (HIST (" hMEPhiStarMean_OS" ), dPhiStarMean, dEta);
1193+ } else if (proton.sign () * track.sign () == 1 ) { // SS (Electric charge)
1194+ rPhiStarRegistry.fill (HIST (" hMEPhiStarMean_SS" ), dPhiStarMean, dEta);
1195+ if (proton.sign () == 1 ) { // Positive
1196+ rPhiStarRegistry.fill (HIST (" hMEPhiStarMean_SSP" ), dPhiStarMean, dEta);
1197+ } else if (proton.sign () == -1 ) { // Negative
1198+ rPhiStarRegistry.fill (HIST (" hMEPhiStarMean_SSN" ), dPhiStarMean, dEta);
1199+ }
1200+ }
12011201 }
12021202 }
12031203
0 commit comments