@@ -345,7 +345,7 @@ struct PiKpRAA {
345345 bool isCalPlateauLoaded = false ;
346346 } etaCal;
347347
348- int currentRunNumberPhiSel;
348+ int currentRunNumberPhiSel = - 1 ;
349349 void init (InitContext const &)
350350 {
351351
@@ -1109,7 +1109,8 @@ struct PiKpRAA {
11091109 registry.fill (HIST (" NclVsEtaPiV0p" ), posTrkEta, posNcl);
11101110 nClVsPpPiV0[posIndexEta]->Fill (posPorPTPC, posNcl);
11111111 dEdxPiV0[posIndexEta]->Fill (posPorPTPC, posTrkdEdx);
1112- } else if (negTrackCharge < KzeroInt) {
1112+ }
1113+ if (negTrackCharge < KzeroInt) {
11131114 registry.fill (HIST (" nSigPrFromAL" ), negTrkPt, negTrack.tpcNSigmaPr ());
11141115 registry.fill (HIST (" NclVsEtaPrV0" ), negTrkEta, negNcl);
11151116 registry.fill (HIST (" NclVsEtaPrV0p" ), negTrkEta, negNcl);
@@ -1145,7 +1146,7 @@ struct PiKpRAA {
11451146 registry.fill (HIST (" dEdxVsEtaElMIPV0p" ), posTrkEta, posTrkdEdx);
11461147 }
11471148 dEdxElV0[posIndexEta]->Fill (posPorPTPC, posTrkdEdx);
1148- } else if (trackSelections.signCharge .value == " Positive " && posTrackCharge > KzeroInt) {
1149+ } else if (trackSelections.signCharge .value == " Negative " && negTrackCharge < KzeroInt) {
11491150 registry.fill (HIST (" nSigElFromG" ), negTrkPt, negTrack.tpcNSigmaEl ());
11501151 registry.fill (HIST (" NclVsEtaElV0" ), negTrkEta, negNcl);
11511152 registry.fill (HIST (" NclVsEtaElV0p" ), negTrkEta, negNcl);
0 commit comments