@@ -212,9 +212,7 @@ struct ZdcExtraTableReader {
212212 Configurable<float > tdcZnMax{" tdcZnMax" , 2.5 , " Max ZN TDC cut" };
213213 Configurable<bool > plotPMs{" plotPMs" , false , " Flag to plot individual PMs" };
214214
215- Configurable<int > qxyNbins{" qxyNbins" , 100 , " Number of bins in QxQy histograms" };
216- Configurable<float > qxyMin{" qxyMin" , -2 .0f , " Lower edge for QxQy histograms" };
217- Configurable<float > qxyMax{" qxyMax" , 2 .0f , " Upper edge for QxQy histograms" };
215+ ConfigurableAxis qxyAxis{" qxyAxis" , {100 , -2 .0f , 2 .0f }, " " };
218216
219217 Configurable<int > vxNbins{" vxNbins" , 50 , " Bins in Vx" };
220218 Configurable<float > vxMin{" vxMin" , -0 .1f , " Vx lower edge" };
@@ -404,10 +402,10 @@ struct ZdcExtraTableReader {
404402 const AxisSpec axisVy5D = {qNbins5D, vyMin, vyMax, " V_{y} (cm)" };
405403 const AxisSpec axisVz5D = {qNbins5D, vzMin, vzMax, " V_{z} (cm)" };
406404
407- const AxisSpec axisQx = {qxyNbins, qxyMin, qxyMax, " Q_{x}" };
408- const AxisSpec axisQy = {qxyNbins, qxyMin, qxyMax, " Q_{y}" };
405+ const AxisSpec axisQx{qxyAxis, " Q_{x}" };
406+ const AxisSpec axisQy{qxyAxis, " Q_{y}" };
407+ const AxisSpec axisQxQy = {qxyAxis, " " };
409408
410- const AxisSpec axisQxQy = {qxyNbins, qxyMin, qxyMax, " " };
411409 const AxisSpec axisPhi = {phiNbins, -1 .0f * o2::constants::math::PI , 1 .0f * o2::constants::math::PI , " #phi" };
412410
413411 const AxisSpec axisTime = {90 , 0 , 90 , " Time (minutes)" }; // 90 minutes
0 commit comments