@@ -102,8 +102,8 @@ struct SpectatorPlaneTutorial {
102102 AxisSpec axisEta = {64 , -1.6 , 1.6 , " #eta" };
103103 AxisSpec axisEtaVn = {8 , -.8 , .8 , " #eta" };
104104 AxisSpec axisCent = {90 , 0 , 90 , " Centrality(%)" };
105- AxisSpec axisPhiPlane = {40 , -constants::math::PI , constants::math::PI , " #Psi" };
106- AxisSpec axisQQ = {10 , -0.2 , 0.2 , " #LT Q_{X}^{A}Q_{Y}^{C} #GT" };
105+ AxisSpec axisPhiPlane = {100 , -constants::math::PI , constants::math::PI , " #Psi" };
106+ AxisSpec axisQQ = {100 , -0.2 , 0.2 , " #LT Q_{X}^{A}Q_{Y}^{C} #GT" };
107107
108108 std::vector<double > ptbinning = {0.2 , 0.25 , 0.3 , 0.35 , 0.4 , 0.45 , 0.5 , 0.55 , 0.6 , 0.65 , 0.7 , 0.75 , 0.8 , 0.85 , 0.9 , 0.95 , 1 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 , 2 , 2.2 , 2.4 , 2.6 , 2.8 , 3 , 3.5 , 4 , 5 , 6 , 8 , 10 };
109109 AxisSpec axisPt = {ptbinning, " #it{p}_{T} GeV/#it{c}" };
@@ -127,13 +127,13 @@ struct SpectatorPlaneTutorial {
127127 registry.add (" CalibHistos/hEvPlaneRes" , " Event Plane Resolution; #Events; Event Plane Resolution" , {HistType::kTProfile , {axisCent}});
128128
129129 // Flow Histograms
130- registry.add (" flow/v1A" , " " , {HistType::kTProfile , {axisEtaVn }});
131- registry.add (" flow/v1C" , " " , {HistType::kTProfile , {axisEtaVn }});
130+ registry.add (" flow/v1A" , " " , {HistType::kTProfile , {axisPt }});
131+ registry.add (" flow/v1C" , " " , {HistType::kTProfile , {axisPt }});
132132
133- registry.add (" flow/v2AxCxUxMH " , " " , {HistType::kTProfile , {axisCent}});
134- registry.add (" flow/v2AyCyUxMH " , " " , {HistType::kTProfile , {axisCent}});
135- registry.add (" flow/v2AxCyUyMH " , " " , {HistType::kTProfile , {axisCent}});
136- registry.add (" flow/v2AyCxUyMH " , " " , {HistType::kTProfile , {axisCent}});
133+ registry.add (" flow/vnAxCxUxMH " , " " , {HistType::kTProfile , {axisCent}});
134+ registry.add (" flow/vnAyCyUxMH " , " " , {HistType::kTProfile , {axisCent}});
135+ registry.add (" flow/vnAxCyUyMH " , " " , {HistType::kTProfile , {axisCent}});
136+ registry.add (" flow/vnAyCxUyMH " , " " , {HistType::kTProfile , {axisCent}});
137137 }
138138
139139 void process (ZDCCollisions::iterator const & collision, aod::BCsWithTimestamps const &, UsedTracks const & tracks)
@@ -147,7 +147,7 @@ struct SpectatorPlaneTutorial {
147147 float centMin = 0 ;
148148 float centMax = 80 ;
149149
150- if (centrality >= centMax || centrality < centMin)
150+ if (centrality > centMax || centrality < centMin)
151151 return ;
152152
153153 if (collision.isSelected () == false )
@@ -174,10 +174,10 @@ struct SpectatorPlaneTutorial {
174174 // Fill the q-vector correlations
175175 registry.fill (HIST (" qAqCXY" ), centrality, qxA * qxC + qyA * qyC);
176176
177- double corrQQx = 1.0 ;
178- double corrQQy = 1.0 ;
179- double corrQQ = 1.0 ;
180- double evPlaneRes = 1.0 ;
177+ double corrQQx = 1 ;
178+ double corrQQy = 1 ;
179+ double corrQQ = 1 ;
180+ double evPlaneRes = 1 ;
181181
182182 // Get QQ-correlations from CCDB
183183 if (cfgCCDBdir_QQ.value .empty () == false ) {
@@ -200,6 +200,7 @@ struct SpectatorPlaneTutorial {
200200 }
201201
202202 for (const auto & track : tracks) {
203+
203204 // constrain angle to 0 -> [0,0+2pi]
204205 auto phi = RecoDecay::constrainAngle (track.phi (), 0 );
205206
@@ -209,9 +210,6 @@ struct SpectatorPlaneTutorial {
209210 double uxMH = std::cos (2 * phi);
210211 double uyMH = std::sin (2 * phi);
211212
212- if (corrQQ == 0 || corrQQx == 0 || corrQQy == 0 )
213- continue ;
214-
215213 double v1A = (uy * qyA + ux * qxA) / std::sqrt (std::fabs (corrQQ));
216214 double v1C = (uy * qyC + ux * qxC) / std::sqrt (std::fabs (corrQQ));
217215
0 commit comments