File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -761,7 +761,7 @@ struct SGFITAnalyzer {
761761 // registry.get<TH2>(HIST("tracks/etavsptPVC"))->Fill(vtrk.Eta(), track.pt(), 1.);
762762 if (truegapSide == 0 ) {
763763 pva++;
764- avPtPVa = track.pt ();
764+ avPtPVa + = track.pt ();
765765 vecEtaPVa.push_back (vtrk.Eta ());
766766 registry.get <TH1>(HIST (" tracks/etaApv" ))->Fill (vtrk.Eta (), 1 .);
767767 if (!an)
@@ -773,7 +773,7 @@ struct SGFITAnalyzer {
773773 }
774774 if (truegapSide == 1 ) {
775775 pvc++;
776- avPtPVc = track.pt ();
776+ avPtPVc + = track.pt ();
777777 vecEtaPVc.push_back (vtrk.Eta ());
778778 registry.get <TH1>(HIST (" tracks/etaCpv" ))->Fill (vtrk.Eta (), 1 .);
779779 if (!cn)
@@ -785,7 +785,7 @@ struct SGFITAnalyzer {
785785 }
786786 if (truegapSide == 2 ) {
787787 pvac++;
788- avPtPVac = track.pt ();
788+ avPtPVac + = track.pt ();
789789 vecEtaPVac.push_back (vtrk.Eta ());
790790 registry.get <TH1>(HIST (" tracks/etaACpv" ))->Fill (vtrk.Eta (), 1 .);
791791 if (!an && !cn)
You can’t perform that action at this time.
0 commit comments