@@ -345,8 +345,9 @@ struct SingleTrackQCMC {
345345 fRegistry .add (" Track/PromptLF/positive/hdEtadPhi" , " #Delta#eta vs. #Delta#varphi between MFT-MCH-MID and MCH-MID;#varphi_{sa} - #varphi_{gl} (rad.);#eta_{sa} - #eta_{gl}" , kTH2F , {{90 , -M_PI / 4 , M_PI / 4 }, {100 , -0.5 , +0.5 }}, false );
346346 fRegistry .add (" Track/PromptLF/positive/hQoverPt" , " q/pT;q/p_{T} (GeV/c)^{-1}" , kTH1F , {{1000 , -5 , 5 }}, false );
347347 fRegistry .add (" Track/PromptLF/positive/hTrackType" , " track type" , kTH1F , {{6 , -0 .5f , 5.5 }}, false );
348- fRegistry .add (" Track/PromptLF/positive/hDCAxy" , " DCA x vs. y;DCA_{x} (cm);DCA_{y} (cm)" , kTH2F , {{200 , -0 .5f , 0 .5f }, {200 , -0 .5f , 0 .5f }}, false );
349- fRegistry .add (" Track/PromptLF/positive/hDCAxySigma" , " DCA x vs. y;DCA_{x} (#sigma);DCA_{y} (#sigma)" , kTH2F , {{200 , -10 .0f , 10 .0f }, {200 , -10 .0f , 10 .0f }}, false );
348+ fRegistry .add (" Track/PromptLF/positive/hDCAxy" , " DCAxy;DCA_{xy} (cm)" , kTH1F , {{100 , 0 .f , 1 .0f }}, false );
349+ fRegistry .add (" Track/PromptLF/positive/hDCAxy2D" , " DCA x vs. y;DCA_{x} (cm);DCA_{y} (cm)" , kTH2F , {{200 , -0 .5f , 0 .5f }, {200 , -0 .5f , 0 .5f }}, false );
350+ fRegistry .add (" Track/PromptLF/positive/hDCAxy2DinSigma" , " DCA x vs. y;DCA_{x} (#sigma);DCA_{y} (#sigma)" , kTH2F , {{200 , -10 .0f , 10 .0f }, {200 , -10 .0f , 10 .0f }}, false );
350351 fRegistry .add (" Track/PromptLF/positive/hDCAxRes_Pt" , " DCA_{x} resolution vs. pT;p_{T} (GeV/c);DCA_{x} resolution (#mum)" , kTH2F , {{200 , 0 , 10 }, {500 , 0 , 500 }}, false );
351352 fRegistry .add (" Track/PromptLF/positive/hDCAyRes_Pt" , " DCA_{y} resolution vs. pT;p_{T} (GeV/c);DCA_{y} resolution (#mum)" , kTH2F , {{200 , 0 , 10 }, {500 , 0 , 500 }}, false );
352353 fRegistry .add (" Track/PromptLF/positive/hDCAxyRes_Pt" , " DCA_{xy} resolution vs. pT;p_{T} (GeV/c);DCA_{xy} resolution (#mum)" , kTH2F , {{200 , 0 , 10 }, {500 , 0 , 500 }}, false );
@@ -758,8 +759,9 @@ struct SingleTrackQCMC {
758759 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hdEtadPhi" ), dphi, deta, weight);
759760 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hQoverPt" ), track.sign () / track.pt ());
760761 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hTrackType" ), track.trackType ());
761- fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hDCAxy" ), track.fwdDcaX (), track.fwdDcaY ());
762- fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hDCAxySigma" ), track.fwdDcaX () / std::sqrt (track.cXXatDCA ()), track.fwdDcaY () / std::sqrt (track.cYYatDCA ()));
762+ fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hDCAxy" ), std::sqrt (std::pow (track.fwdDcaX (), 2 ) + std::pow (track.fwdDcaY (), 2 )));
763+ fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hDCAxy2D" ), track.fwdDcaX (), track.fwdDcaY ());
764+ fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hDCAxy2DinSigma" ), track.fwdDcaX () / std::sqrt (track.cXXatDCA ()), track.fwdDcaY () / std::sqrt (track.cYYatDCA ()));
763765 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hDCAxRes_Pt" ), track.pt (), std::sqrt (track.cXXatDCA ()) * 1e+4 );
764766 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hDCAyRes_Pt" ), track.pt (), std::sqrt (track.cYYatDCA ()) * 1e+4 );
765767 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" positive/hDCAxyRes_Pt" ), track.pt (), sigmaFwdDcaXY (track) * 1e+4 );
@@ -785,8 +787,9 @@ struct SingleTrackQCMC {
785787 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hdEtadPhi" ), dphi, deta, weight);
786788 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hQoverPt" ), track.sign () / track.pt ());
787789 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hTrackType" ), track.trackType ());
788- fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hDCAxy" ), track.fwdDcaX (), track.fwdDcaY ());
789- fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hDCAxySigma" ), track.fwdDcaX () / std::sqrt (track.cXXatDCA ()), track.fwdDcaY () / std::sqrt (track.cYYatDCA ()));
790+ fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hDCAxy" ), std::sqrt (std::pow (track.fwdDcaX (), 2 ) + std::pow (track.fwdDcaY (), 2 )));
791+ fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hDCAxy2D" ), track.fwdDcaX (), track.fwdDcaY ());
792+ fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hDCAxy2DinSigma" ), track.fwdDcaX () / std::sqrt (track.cXXatDCA ()), track.fwdDcaY () / std::sqrt (track.cYYatDCA ()));
790793 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hDCAxRes_Pt" ), track.pt (), std::sqrt (track.cXXatDCA ()) * 1e+4 );
791794 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hDCAyRes_Pt" ), track.pt (), std::sqrt (track.cYYatDCA ()) * 1e+4 );
792795 fRegistry .fill (HIST (" Track/" ) + HIST (lepton_source_types[lepton_source_id]) + HIST (" negative/hDCAxyRes_Pt" ), track.pt (), sigmaFwdDcaXY (track) * 1e+4 );
0 commit comments