Skip to content

Commit b0a6db4

Browse files
dsekihatalibuild
andauthored
[PWGEM/Dilepton] update ConfYllBins (#10500)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 2a25dfe commit b0a6db4

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

PWGEM/Dilepton/Core/DileptonMC.h

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ struct DileptonMC {
110110
ConfigurableAxis ConfPtllBins{"ConfPtllBins", {VARIABLE_WIDTH, 0.00, 0.10, 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}, "pTll bins for output histograms"};
111111
ConfigurableAxis ConfDCAllBins{"ConfDCAllBins", {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}, "DCAll bins for output histograms"};
112112

113+
ConfigurableAxis ConfYllBins{"ConfYllBins", {VARIABLE_WIDTH, -10.f, +10.f}, "yll bins for output histograms"};
114+
113115
// ConfigurableAxis ConfMmumuBins{"ConfMmumuBins", {VARIABLE_WIDTH, 0.20, 0.21, 0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 0.47, 0.48, 0.49, 0.50, 0.51, 0.52, 0.53, 0.54, 0.55, 0.56, 0.57, 0.58, 0.59, 0.60, 0.61, 0.62, 0.63, 0.64, 0.65, 0.66, 0.67, 0.68, 0.69, 0.70, 0.71, 0.72, 0.73, 0.74, 0.75, 0.76, 0.77, 0.78, 0.79, 0.80, 0.81, 0.82, 0.83, 0.84, 0.85, 0.86, 0.87, 0.88, 0.89, 0.90, 0.91, 0.92, 0.93, 0.94, 0.95, 0.96, 0.97, 0.98, 0.99, 1.00, 1.01, 1.02, 1.03, 1.04, 1.05, 1.06, 1.07, 1.08, 1.09, 1.10, 1.11,1.12,1.13,1.14,1.15,1.16,1.17,1.18,1.19, 1.20, 1.30, 1.40, 1.50, 1.60, 1.70, 1.80, 1.90, 2.00, 2.10, 2.20, 2.30, 2.40, 2.50, 2.60, 2.70, 2.75, 2.80, 2.85, 2.90, 2.95, 3.00, 3.05, 3.10, 3.15, 3.20, 3.25, 3.30, 3.35, 3.40, 3.45, 3.50, 3.55, 3.60, 3.65, 3.70, 3.75, 3.80, 3.85, 3.90, 3.95, 4.00, 4.10, 4.20, 4.30, 4.40, 4.50, 4.60, 4.70, 4.80, 4.90, 5.00, 5.10, 5.20, 5.30, 5.40, 5.50, 5.60, 5.70, 5.80, 5.90, 6.00, 6.10, 6.20, 6.30, 6.40, 6.50, 6.60, 6.70, 6.80, 6.90, 7.00, 7.10, 7.20, 7.30, 7.40, 7.50, 7.60, 7.70, 7.80, 7.90, 8.00, 8.10, 8.20, 8.30, 8.40, 8.50, 8.60, 8.70, 8.80, 8.90, 9.00, 9.10, 9.20, 9.30, 9.40, 9.50, 9.60, 9.70, 9.80, 9.90, 10.00, 10.10, 10.20, 10.30, 10.40, 10.50, 10.60, 10.70, 10.80, 10.90, 11.00, 11.50, 12.00}, "mmumu bins for output histograms"}; // for dimuon. one can copy bins here to hyperloop page.
114116

115117
Configurable<int> cfg_nbin_dphi_ee{"cfg_nbin_dphi_ee", 1, "number of bins for dphi_ee"}; // 36
@@ -301,9 +303,6 @@ struct DileptonMC {
301303
std::string pair_pt_axis_title = "p_{T,ll} (GeV/c)";
302304
std::string pair_y_axis_title = "y_{ll}";
303305
std::string pair_dca_axis_title = "DCA_{ll} (#sigma)";
304-
int nbin_y = 20;
305-
float min_y = -1.0;
306-
float max_y = +1.0;
307306
if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron) {
308307
mass_axis_title = "m_{ee} (GeV/c^{2})";
309308
pair_pt_axis_title = "p_{T,ee} (GeV/c)";
@@ -314,26 +313,20 @@ struct DileptonMC {
314313
} else if (cfgDCAType == 2) {
315314
pair_dca_axis_title = "DCA_{ee}^{Z} (#sigma)";
316315
}
317-
nbin_y = 20;
318-
min_y = -1.0;
319-
max_y = +1.0;
320316
} else if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDimuon) {
321317
mass_axis_title = "m_{#mu#mu} (GeV/c^{2})";
322318
pair_pt_axis_title = "p_{T,#mu#mu} (GeV/c)";
323319
pair_y_axis_title = "y_{#mu#mu}";
324320
pair_dca_axis_title = "DCA_{#mu#mu}^{XY} (#sigma)";
325-
nbin_y = 25;
326-
min_y = -4.5;
327-
max_y = -2.0;
328321
}
329322

330323
// pair info
331324
const AxisSpec axis_mass{ConfMllBins, mass_axis_title};
332325
const AxisSpec axis_pt{ConfPtllBins, pair_pt_axis_title};
333-
const AxisSpec axis_y{nbin_y, min_y, max_y, pair_y_axis_title};
326+
const AxisSpec axis_y{ConfYllBins, pair_y_axis_title};
334327
const AxisSpec axis_dca{ConfDCAllBins, pair_dca_axis_title};
335328
const AxisSpec axis_pt_meson{ConfPtllBins, "p_{T} (GeV/c)"}; // for omega, phi meson pT spectra
336-
const AxisSpec axis_y_meson{nbin_y, min_y, max_y, "y"}; // rapidity of meson
329+
const AxisSpec axis_y_meson{ConfYllBins, "y"}; // rapidity of meson
337330

338331
const AxisSpec axis_dphi_ee{cfg_nbin_dphi_ee, -M_PI / 2., 3. / 2. * M_PI, "#Delta#varphi = #varphi_{l1} - #varphi_{l2} (rad.)"}; // for kHFll
339332
const AxisSpec axis_deta_ee{cfg_nbin_deta_ee, -2., 2., "#Delta#eta = #eta_{l1} - #eta_{l2}"}; // for kHFll

0 commit comments

Comments
 (0)