@@ -91,7 +91,9 @@ struct SingleTrackQCMC {
9191 Configurable<bool > cfgRequireTrueAssociation{" cfgRequireTrueAssociation" , false , " flag to require true mc collision association" };
9292
9393 ConfigurableAxis ConfPtlBins{" ConfPtlBins" , {VARIABLE_WIDTH, 0.00 , 0.05 , 0.10 , 0.15 , 0.20 , 0.30 , 0.40 , 0.50 , 0.60 , 0.70 , 0.80 , 0.90 , 1.00 , 1.10 , 1.20 , 1.30 , 1.40 , 1.50 , 1.60 , 1.70 , 1.80 , 1.90 , 2.00 , 2.50 , 3.00 , 3.50 , 4.00 , 4.50 , 5.00 , 6.00 , 7.00 , 8.00 , 9.00 , 10.00 }, " pTl bins for output histograms" };
94- ConfigurableAxis ConfDCABins{" ConfDCABins" , {VARIABLE_WIDTH, -10.0 , -9.0 , -8.0 , -7.0 , -6.0 , -5.0 , -4.5 , -4.0 , -3.5 , -3.0 , -2.5 , -2.0 , -1.9 , -1.8 , -1.7 , -1.6 , -1.5 , -1.4 , -1.3 , -1.2 , -1.1 , -1.0 , -0.9 , -0.8 , -0.7 , -0.6 , -0.5 , -0.4 , -0.3 , -0.2 , -0.1 , 0.0 , 0.1 , 0.2 , 0.3 , 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 , 2.0 , 2.5 , 3.0 , 3.5 , 4.0 , 4.5 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 , 10.0 }, " DCA bins for output histograms" };
94+ ConfigurableAxis ConfDCA3DBins{" ConfDCA3DBins" , {VARIABLE_WIDTH, 0.0 , 0.1 , 0.2 , 0.3 , 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 , 2.0 , 2.5 , 3.0 , 3.5 , 4.0 , 4.5 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 , 10.0 }, " DCA3d bins in sigma for output histograms" };
95+ ConfigurableAxis ConfDCAXYBins{" ConfDCAXYBins" , {VARIABLE_WIDTH, -10.0 , -9.0 , -8.0 , -7.0 , -6.0 , -5.0 , -4.5 , -4.0 , -3.5 , -3.0 , -2.5 , -2.0 , -1.9 , -1.8 , -1.7 , -1.6 , -1.5 , -1.4 , -1.3 , -1.2 , -1.1 , -1.0 , -0.9 , -0.8 , -0.7 , -0.6 , -0.5 , -0.4 , -0.3 , -0.2 , -0.1 , 0.0 , 0.1 , 0.2 , 0.3 , 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 , 2.0 , 2.5 , 3.0 , 3.5 , 4.0 , 4.5 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 , 10.0 }, " DCAxy bins in sigma for output histograms" };
96+ ConfigurableAxis ConfDCAZBins{" ConfDCAZBins" , {VARIABLE_WIDTH, -10.0 , -9.0 , -8.0 , -7.0 , -6.0 , -5.0 , -4.5 , -4.0 , -3.5 , -3.0 , -2.5 , -2.0 , -1.9 , -1.8 , -1.7 , -1.6 , -1.5 , -1.4 , -1.3 , -1.2 , -1.1 , -1.0 , -0.9 , -0.8 , -0.7 , -0.6 , -0.5 , -0.4 , -0.3 , -0.2 , -0.1 , 0.0 , 0.1 , 0.2 , 0.3 , 0.4 , 0.5 , 0.6 , 0.7 , 0.8 , 0.9 , 1.0 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 , 2.0 , 2.5 , 3.0 , 3.5 , 4.0 , 4.5 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 , 10.0 }, " DCAz bins in sigma for output histograms" };
9597
9698 EMEventCut fEMEventCut ;
9799 struct : ConfigurableGroup {
@@ -246,13 +248,9 @@ struct SingleTrackQCMC {
246248 const AxisSpec axis_eta{20 , -1.0 , +1.0 , " #eta_{e}" };
247249 const AxisSpec axis_phi{36 , 0.0 , 2 * M_PI, " #varphi_{e} (rad.)" };
248250 const AxisSpec axis_charge_gen{3 , -1.5 , +1.5 , " true charge" };
249- std::string dca3D_axis_title = " DCA_{e}^{3D} (#sigma)" ;
250- std::string dcaXY_axis_title = " DCA_{e}^{XY} (#sigma)" ;
251- std::string dcaZ_axis_title = " DCA_{e}^{Z} (#sigma)" ;
252-
253- const AxisSpec axis_dca3D{ConfDCABins, dca3D_axis_title};
254- const AxisSpec axis_dcaXY{ConfDCABins, dcaXY_axis_title};
255- const AxisSpec axis_dcaZ{ConfDCABins, dcaZ_axis_title};
251+ const AxisSpec axis_dca3D{ConfDCA3DBins, " DCA_{e}^{3D} (#sigma)" };
252+ const AxisSpec axis_dcaXY{ConfDCAXYBins, " DCA_{e}^{XY} (#sigma)" };
253+ const AxisSpec axis_dcaZ{ConfDCAZBins, " DCA_{e}^{Z} (#sigma)" };
256254
257255 // generated info
258256 fRegistry .add (" Generated/lf/hs" , " gen. single electron" , kTHnSparseD , {axis_pt, axis_eta, axis_phi, axis_charge_gen}, true );
@@ -269,7 +267,7 @@ struct SingleTrackQCMC {
269267 fRegistry .add (" Track/lf/positive/hs" , " rec. single electron" , kTHnSparseD , {axis_pt, axis_eta, axis_phi, axis_dca3D, axis_dcaXY, axis_dcaZ, axis_charge_gen}, true );
270268 if (cfgFillQA) {
271269 fRegistry .add (" Track/lf/positive/hQoverPt" , " q/pT;q/p_{T} (GeV/c)^{-1}" , kTH1F , {{400 , -20 , 20 }}, false );
272- fRegistry .add (" Track/lf/positive/hDCAxyz" , " DCA xy vs. z;DCA_{xy} (cm);DCA_{z} (cm)" , kTH2F , {{200 , -1 .0f , 1 .0f }, {700 , -3 . 5f , 3 . 5f }}, false );
270+ fRegistry .add (" Track/lf/positive/hDCAxyz" , " DCA xy vs. z;DCA_{xy} (cm);DCA_{z} (cm)" , kTH2F , {{200 , -1 .0f , 1 .0f }, {200 , -1 . f , 1 . f }}, false );
273271 fRegistry .add (" Track/lf/positive/hDCAxyzSigma" , " DCA xy vs. z;DCA_{xy} (#sigma);DCA_{z} (#sigma)" , kTH2F , {{400 , -20 .0f , 20 .0f }, {400 , -20 .0f , 20 .0f }}, false );
274272 fRegistry .add (" Track/lf/positive/hDCAxyRes_Pt" , " DCA_{xy} resolution vs. pT;p_{T} (GeV/c);DCA_{xy} resolution (#mum)" , kTH2F , {{200 , 0 , 10 }, {500 , 0 ., 500 }}, false );
275273 fRegistry .add (" Track/lf/positive/hDCAzRes_Pt" , " DCA_{z} resolution vs. pT;p_{T} (GeV/c);DCA_{z} resolution (#mum)" , kTH2F , {{200 , 0 , 10 }, {500 , 0 ., 500 }}, false );
@@ -327,7 +325,7 @@ struct SingleTrackQCMC {
327325 const AxisSpec axis_pt{ConfPtlBins, " p_{T,#mu} (GeV/c)" };
328326 const AxisSpec axis_eta{50 , -6 , -1 , " #eta_{#mu}" };
329327 const AxisSpec axis_phi{36 , 0.0 , 2 * M_PI, " #varphi_{#mu} (rad.)" };
330- const AxisSpec axis_dca{ConfDCABins , " DCA_{#mu}^{XY} (#sigma)" };
328+ const AxisSpec axis_dca{ConfDCAXYBins , " DCA_{#mu}^{XY} (#sigma)" };
331329 const AxisSpec axis_charge_gen{3 , -1.5 , +1.5 , " true charge" };
332330
333331 // generated info
0 commit comments