@@ -116,6 +116,7 @@ struct Chk892Flow {
116116 ConfigurableAxis cfgBinsVtxZ{" cfgBinsVtxZ" , {VARIABLE_WIDTH, -10.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.0 , 10.0 }, " Binning of the z-vertex axis" };
117117 Configurable<int > cNbinsDiv{" cNbinsDiv" , 1 , " Integer to divide the number of bins" };
118118 Configurable<int > cNbinsDivQA{" cNbinsDivQA" , 1 , " Integer to divide the number of bins for QA" };
119+ ConfigurableAxis cfgAxisV2{" cfgAxisV2" , {200 , -2 , 2 }, " Binning of the v2 axis" };
119120
120121 // / Event cuts
121122 o2::analysis::CollisonCuts colCuts;
@@ -243,7 +244,7 @@ struct Chk892Flow {
243244 AxisSpec epAxis = {100 , -1.0 * constants::math::PI, constants::math::PI};
244245 AxisSpec ptAxis = {cfgBinsPt, " #it{p}_{T} (GeV/#it{c})" };
245246 AxisSpec ptAxisQA = {cfgBinsPtQA, " #it{p}_{T} (GeV/#it{c})" };
246- AxisSpec v2Axis = {200 , - 1 , 1 , " #v_{2}" };
247+ AxisSpec v2Axis = {cfgAxisV2 , " #v_{2}" };
247248 AxisSpec radiusAxis = {50 , 0 , 5 , " Radius (cm)" };
248249 AxisSpec cpaAxis = {30 , 0.97 , 1.0 , " CPA" };
249250 AxisSpec tauAxis = {250 , 0 , 25 , " Lifetime (cm)" };
@@ -868,7 +869,7 @@ struct Chk892Flow {
868869 lDaughterRot.RotateZ (lRotAngle);
869870 lResonanceRot = lDecayDaughter_bach + lDaughterRot;
870871 }
871- auto lPhiMinusPsiKstar = RecoDecay::constrainAngle (lResonanceRot.Phi () - lEPDet, 0.0 , 1 ); // constrain angle to range 0, Pi
872+ auto lPhiMinusPsiKstar = RecoDecay::constrainAngle (lResonanceRot.Phi () - lEPDet, 0.0 , 2 ); // constrain angle to range 0, Pi
872873 auto v2Kstar = std::cos (static_cast <float >(nmode) * lPhiMinusPsiKstar);
873874 typeKstar = bTrack.sign () > 0 ? BinType::kKstarP_Rot : BinType::kKstarN_Rot ;
874875 histos.fill (HIST (" hInvmass_Kstar" ), typeKstar, lCentrality, lResonanceRot.Pt (), lResonanceRot.M (), v2Kstar);
0 commit comments