@@ -279,6 +279,9 @@ struct jEPFlowAnalysis {
279279 epFlowHistograms.fill (HIST (" EpResQvecRefARefBxx" ), i + 2 , cent, qx_shifted[1 ] * qx_shifted[2 ] + qy_shifted[1 ] * qy_shifted[2 ]);
280280 epFlowHistograms.fill (HIST (" EpResQvecRefARefBxy" ), i + 2 , cent, qx_shifted[2 ] * qy_shifted[1 ] - qx_shifted[1 ] * qy_shifted[2 ]);
281281
282+ float q2 = std::sqrt (std::pow (qx_shifted[0 ], 2 ) + std::pos (qy_shifted[0 ], 2 )) / std::sqrt (coll.qvecAmp ()[detId]);
283+ epFlowHistograms.fill (HIST (" hCentQ2" ), i + 2 , cent, q2);
284+
282285 for (const auto & track : tracks) {
283286 if (trackSel (track))
284287 continue ;
@@ -295,8 +298,8 @@ struct jEPFlowAnalysis {
295298
296299 epFlowHistograms.fill (HIST (" SPvnxx" ), i + 2 , cent, track.pt (), (std::cos (track.phi () * static_cast <float >(i + 2 )) * qx_shifted[0 ] + std::sin (track.phi () * static_cast <float >(i + 2 )) * qy_shifted[0 ]), weight);
297300 epFlowHistograms.fill (HIST (" SPvnxy" ), i + 2 , cent, track.pt (), (std::sin (track.phi () * static_cast <float >(i + 2 )) * qx_shifted[0 ] - std::cos (track.phi () * static_cast <float >(i + 2 )) * qy_shifted[0 ]), weight);
301+ epFlowHistograms.fill (HIST (" SPvnxxQ2" ), i + 2 , cent, track.pt (), (std::sin (track.phi () * static_cast <float >(i + 2 )) * qx_shifted[0 ] - std::cos (track.phi () * static_cast <float >(i + 2 )) * qy_shifted[0 ], q2), weight);
298302 }
299- epFlowHistograms.fill (HIST (" hCentQ2" ), i + 2 , cent, std::sqrt (std::pow (qx_shifted[0 ], 2 ) + std::pos (qy_shifted[0 ], 2 )) / std::sqrt (coll.qvecAmp ()[detId]));
300303 }
301304 }
302305
@@ -364,7 +367,9 @@ struct jEPFlowAnalysis {
364367 epFlowHistograms.add (" hCentrality" , " " , {HistType::kTH1F , {axisCent}});
365368 epFlowHistograms.add (" hVertex" , " " , {HistType::kTH1F , {axisVertex}});
366369
367- epFlowHistograms.add (" hCentQ2" , " " , {HistType::kTH3F , {axisMod, axisCent, cfgAxisQ2}});
370+ epFlowHistograms.add (" hCentQ2" , " " , {HistType::kTH3F , {axisMod, axisCent, axisQ2}});
371+ epFlowHistograms.add (" SPvnxxQ2" , " " , {HistType::kTHnSparseF , {axisMod, axisCent, axisPt, axisQvec, axisQ2ana}});
372+
368373
369374 epFlowHistograms.add (" MC/hPartGen" , " " , {kTHnSparseF , {cfgAxisCentMC, cfgAxisVtxZMC, cfgAxisEtaMC, cfgAxisPhiMC, cfgAxisPtMC}});
370375 epFlowHistograms.add (" MC/hPartRecPr" , " " , {kTHnSparseF , {cfgAxisCentMC, cfgAxisVtxZMC, cfgAxisEtaMC, cfgAxisPhiMC, cfgAxisPtMC}});
0 commit comments