@@ -264,7 +264,7 @@ struct UpcRhoAnalysis {
264264 }
265265 for (int i = 0 ; i < static_cast <int >(runNumbers.size ()); ++i)
266266 rQC.get <TH2>(HIST (" QC/tracks/hSelectionCounterPerRun" ))->GetYaxis ()->SetBinLabel (i + 1 , std::to_string (runNumbers[i]).c_str ());
267-
267+
268268 rQC.add (" QC/tracks/hTofHitCheck" , " ;leading track TOF hit;subleading track TOF hit;counts" , kTH2D , {{2 , -0.5 , 1.5 }, {2 , -0.5 , 1.5 }});
269269 rQC.get <TH2>(HIST (" QC/tracks/hTofHitCheck" ))->GetXaxis ()->SetBinLabel (1 , " no hit" );
270270 rQC.get <TH2>(HIST (" QC/tracks/hTofHitCheck" ))->GetXaxis ()->SetBinLabel (2 , " hit" );
@@ -817,7 +817,7 @@ struct UpcRhoAnalysis {
817817 float subleadingPhi = phi (subleadingTrack.px (), subleadingTrack.py ());
818818 float phiRandom = getPhiRandom (cutTracksLVs);
819819 float phiCharge = getPhiCharge (cutTracks, cutTracksLVs);
820-
820+
821821 // fill recoTree
822822 recoTree (collision.flags (), collision.runNumber (), collision.posZ (), collision.occupancyInTime (), collision.hadronicRate (),
823823 collision.totalFT0AmplitudeA (), collision.totalFT0AmplitudeC (), collision.totalFV0AmplitudeA (), collision.totalFDDAmplitudeA (), collision.totalFDDAmplitudeC (),
@@ -831,10 +831,10 @@ struct UpcRhoAnalysis {
831831 leadingTrack.tpcNSigmaEl (), subleadingTrack.tpcNSigmaEl (),
832832 leadingTrack.tpcNSigmaKa (), subleadingTrack.tpcNSigmaKa (),
833833 leadingTrack.tpcNSigmaPr (), subleadingTrack.tpcNSigmaPr ());
834-
834+
835835 if (!tracksPassPID (cutTracks)) // apply PID cut
836836 return ;
837-
837+
838838 for (const auto & cutTrack : cutTracks) {
839839 rQC.fill (HIST (" QC/tracks/hSelectionCounter" ), 16 );
840840 rQC.fill (HIST (" QC/tracks/hSelectionCounterPerRun" ), 16 , runIndex);
@@ -1107,12 +1107,12 @@ struct UpcRhoAnalysis {
11071107
11081108 if (truePionLVs.size () != 2 || recoPionLVs.size () != 2 )
11091109 return ;
1110-
1110+
11111111 ROOT::Math::PxPyPzMVector trueSystem = reconstructSystem (truePionLVs);
11121112 const float trueDeltaPhi = getPhiChargeMC (trueTracks, truePionLVs);
11131113 ROOT::Math::PxPyPzMVector recoSystem = reconstructSystem (recoPionLVs);
11141114 const float recoDeltaPhi = getPhiCharge (recoTracks, recoPionLVs);
1115-
1115+
11161116 rResolution.fill (HIST (" MC/resolution/system/1D/hM" ), recoSystem.M () - trueSystem.M ());
11171117 rResolution.fill (HIST (" MC/resolution/system/2D/hMVsM" ), trueSystem.M (), recoSystem.M ());
11181118 rResolution.fill (HIST (" MC/resolution/system/1D/hPt" ), recoSystem.Pt () - trueSystem.Pt ());
0 commit comments