@@ -59,14 +59,11 @@ struct HfTaskDirectedFlowCharmHadrons {
5959 Configurable<std::string> ccdbUrl{" ccdbUrl" , " http://alice-ccdb.cern.ch" , " url of the ccdb repository" };
6060 Configurable<std::vector<int >> classMl{" classMl" , {0 , 2 }, " Indices of BDT scores to be stored. Two indexes max." };
6161
62- ConfigurableAxis thnConfigAxisInvMass{" thnConfigAxisInvMass" , {100 , 1.78 , 2.05 }, " " };
63- ConfigurableAxis thnConfigAxisPt{" thnConfigAxisPt" , {VARIABLE_WIDTH, 0.2 , 0.5 , 1.0 , 1.5 , 2.0 , 2.5 , 3.0 , 4.0 , 5.0 , 6.5 , 8.0 , 10.0 }, " " };
64- ConfigurableAxis thnConfigAxisEta{" thnConfigAxisEta" , {VARIABLE_WIDTH, -0.8 , -0.4 , 0 , 0.4 , 0.8 }, " " };
65- ConfigurableAxis thnConfigAxisCent{" thnConfigAxisCent" , {VARIABLE_WIDTH, 0.0 , 10.0 , 40.0 , 80.0 }, " " };
66- ConfigurableAxis thnConfigAxisScalarProd{" thnConfigAxisScalarProd" , {8000 , -2.0 , 2.0 }, " " };
67- ConfigurableAxis thnConfigAxisSign{" thnConfigAxisSign" , {2 , -2.0 , 2.0 }, " " };
68- ConfigurableAxis thnConfigAxisMlOne{" thnConfigAxisMlOne" , {1000 , 0 ., 1 .}, " " };
69- ConfigurableAxis thnConfigAxisMlTwo{" thnConfigAxisMlTwo" , {1000 , 0 ., 1 .}, " " };
62+ HfHelper hfHelper;
63+ EventPlaneHelper epHelper;
64+ SliceCache cache;
65+ HfEventSelection hfEvSel; // event selection and monitoring
66+ o2::framework::Service<o2::ccdb::BasicCCDBManager> ccdb;
7067
7168 using CandDplusDataWMl = soa::Filtered<soa::Join<aod::HfCand3Prong, aod::HfSelDplusToPiKPi, aod::HfMlDplusToPiKPi>>;
7269 using CandDplusData = soa::Filtered<soa::Join<aod::HfCand3Prong, aod::HfSelDplusToPiKPi>>;
@@ -86,11 +83,14 @@ struct HfTaskDirectedFlowCharmHadrons {
8683 Partition<CandD0DataWMl> selectedD0ToPiKWMl = aod::hf_sel_candidate_d0::isSelD0 >= selectionFlag;
8784 Partition<CandD0DataWMl> selectedD0ToKPiWMl = aod::hf_sel_candidate_d0::isSelD0bar >= selectionFlag;
8885
89- SliceCache cache;
90- HfHelper hfHelper;
91- EventPlaneHelper epHelper;
92- HfEventSelection hfEvSel; // event selection and monitoring
93- o2::framework::Service<o2::ccdb::BasicCCDBManager> ccdb;
86+ ConfigurableAxis thnConfigAxisInvMass{" thnConfigAxisInvMass" , {100 , 1.78 , 2.05 }, " " };
87+ ConfigurableAxis thnConfigAxisPt{" thnConfigAxisPt" , {VARIABLE_WIDTH, 0.2 , 0.5 , 1.0 , 1.5 , 2.0 , 2.5 , 3.0 , 4.0 , 5.0 , 6.5 , 8.0 , 10.0 }, " " };
88+ ConfigurableAxis thnConfigAxisEta{" thnConfigAxisEta" , {VARIABLE_WIDTH, -0.8 , -0.4 , 0 , 0.4 , 0.8 }, " " };
89+ ConfigurableAxis thnConfigAxisCent{" thnConfigAxisCent" , {VARIABLE_WIDTH, 0.0 , 10.0 , 40.0 , 80.0 }, " " };
90+ ConfigurableAxis thnConfigAxisScalarProd{" thnConfigAxisScalarProd" , {8000 , -2.0 , 2.0 }, " " };
91+ ConfigurableAxis thnConfigAxisSign{" thnConfigAxisSign" , {2 , -2.0 , 2.0 }, " " };
92+ ConfigurableAxis thnConfigAxisMlOne{" thnConfigAxisMlOne" , {1000 , 0 ., 1 .}, " " };
93+ ConfigurableAxis thnConfigAxisMlTwo{" thnConfigAxisMlTwo" , {1000 , 0 ., 1 .}, " " };
9494
9595 HistogramRegistry registry{" registry" , {}, OutputObjHandlingPolicy::AnalysisObject};
9696
@@ -206,26 +206,26 @@ struct HfTaskDirectedFlowCharmHadrons {
206206 auto qxZDCC = collision.qxZDCC (); // extracting q vectors of ZDC
207207 auto qyZDCC = collision.qyZDCC ();
208208
209- auto QxtQxp = qxZDCC * qxZDCA;
210- auto QytQyp = qyZDCC * qyZDCA;
211- auto Qxytp = QxtQxp + QytQyp ;
212- auto QxpQyt = qxZDCA * qyZDCC;
213- auto QxtQyp = qxZDCC * qyZDCA;
209+ auto qxtQxp = qxZDCC * qxZDCA;
210+ auto qytQyp = qyZDCC * qyZDCA;
211+ auto qxytp = qxtQxp + qytQyp ;
212+ auto qxpQyt = qxZDCA * qyZDCC;
213+ auto qxtQyp = qxZDCC * qyZDCA;
214214
215215 // correlations in the denominators for SP calculation
216216 if (direct) {
217- registry.fill (HIST (" hpQxytpvscent" ), cent, Qxytp );
217+ registry.fill (HIST (" hpQxytpvscent" ), cent, qxytp );
218218 if (correction) {
219219 registry.fill (HIST (" hpQxpvscent" ), cent, qxZDCA);
220220 registry.fill (HIST (" hpQxtvscent" ), cent, qxZDCC);
221221 registry.fill (HIST (" hpQypvscent" ), cent, qyZDCA);
222222 registry.fill (HIST (" hpQytvscent" ), cent, qyZDCC);
223223 }
224224 } else {
225- registry.fill (HIST (" hpQxtQxpvscent" ), cent, QxtQxp );
226- registry.fill (HIST (" hpQytQypvscent" ), cent, QytQyp );
227- registry.fill (HIST (" hpQxpQytvscent" ), cent, QxpQyt );
228- registry.fill (HIST (" hpQxtQypvscent" ), cent, QxtQyp );
225+ registry.fill (HIST (" hpQxtQxpvscent" ), cent, qxtQxp );
226+ registry.fill (HIST (" hpQytQypvscent" ), cent, qytQyp );
227+ registry.fill (HIST (" hpQxpQytvscent" ), cent, qxpQyt );
228+ registry.fill (HIST (" hpQxtQypvscent" ), cent, qxtQyp );
229229 registry.fill (HIST (" hpQxpvscent" ), cent, qxZDCA);
230230 registry.fill (HIST (" hpQxtvscent" ), cent, qxZDCC);
231231 registry.fill (HIST (" hpQypvscent" ), cent, qyZDCA);
0 commit comments