@@ -69,6 +69,7 @@ struct qVectorsCorrection {
6969 Configurable<bool > cfgAddEvtSel{" cfgAddEvtSel" , true , " event selection" };
7070
7171 Configurable<int > cfgnTotalSystem{" cfgnTotalSystem" , 7 , " total qvector number" };
72+ Configurable<int > cfgNbinsEP{" cfgNbinsEP" , 360 , " nbins for EP histograms" };
7273
7374 Configurable<bool > cfgQAAll{" cfgQAAll" , false , " draw all q-vector steps" };
7475 Configurable<bool > cfgQAFinal{" cfgQAFinal" , false , " draw final q-vector steps" };
@@ -80,7 +81,7 @@ struct qVectorsCorrection {
8081
8182 ConfigurableAxis cfgaxisQvecF{" cfgaxisQvecF" , {300 , -1 , 1 }, " " };
8283 ConfigurableAxis cfgaxisQvec{" cfgaxisQvec" , {100 , -3 , 3 }, " " };
83- ConfigurableAxis cfgaxisCent{" cfgaxisCent" , {90 , 0 , 90 }, " " };
84+ ConfigurableAxis cfgaxisCent{" cfgaxisCent" , {100 , 0 , 100 }, " " };
8485
8586 ConfigurableAxis cfgaxiscos{" cfgaxiscos" , {102 , -1.02 , 1.02 }, " " };
8687 ConfigurableAxis cfgaxispt{" cfgaxispt" , {100 , 0 , 10 }, " " };
@@ -159,7 +160,7 @@ struct qVectorsCorrection {
159160 AxisSpec axisCent{cfgaxisCent, " centrality" };
160161 AxisSpec axisQvec{cfgaxisQvec, " Q" };
161162 AxisSpec axisQvecF{cfgaxisQvecF, " Q" };
162- AxisSpec axisEvtPl{360 , -constants::math::PI , constants::math::PI };
163+ AxisSpec axisEvtPl{cfgNbinsEP , -constants::math::PI , constants::math::PI };
163164
164165 AxisSpec axisCos{cfgaxiscos, " angle function" };
165166 AxisSpec axisPt{cfgaxispt, " trasverse momentum" };
@@ -182,6 +183,10 @@ struct qVectorsCorrection {
182183 histosQA.add (Form (" histQvecRefAFinalV%d" , cfgnMods->at (i)), " " , {HistType::kTH3F , {axisQvec, axisQvec, axisCent}});
183184 histosQA.add (Form (" histQvecRefBFinalV%d" , cfgnMods->at (i)), " " , {HistType::kTH3F , {axisQvec, axisQvec, axisCent}});
184185
186+ histosQA.add (Form (" histQvecRes_SigRefAV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisQvecF, axisCent}});
187+ histosQA.add (Form (" histQvecRes_SigRefBV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisQvecF, axisCent}});
188+ histosQA.add (Form (" histQvecRes_RefARefBV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisQvecF, axisCent}});
189+
185190 histosQA.add (Form (" histEvtPlFinalV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
186191 histosQA.add (Form (" histEvtPlRefAFinalV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
187192 histosQA.add (Form (" histEvtPlRefBFinalV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
@@ -338,6 +343,10 @@ struct qVectorsCorrection {
338343 }
339344 }
340345 if (vec.qvecAmp ()[DetId] > 1e-8 && vec.qvecAmp ()[RefAId] > 1e-8 && vec.qvecAmp ()[RefBId] > 1e-8 && cfgQAFinal) {
346+ histosQA.fill (HIST (" histQvecRes_SigRefAV2" ), vec.qvecRe ()[DetInd + 3 ] * vec.qvecRe ()[RefAInd + 3 ] + vec.qvecIm ()[DetInd + 3 ] * vec.qvecIm ()[RefAInd + 3 ], vec.cent ());
347+ histosQA.fill (HIST (" histQvecRes_SigRefBV2" ), vec.qvecRe ()[DetInd + 3 ] * vec.qvecRe ()[RefBInd + 3 ] + vec.qvecIm ()[DetInd + 3 ] * vec.qvecIm ()[RefBInd + 3 ], vec.cent ());
348+ histosQA.fill (HIST (" histQvecRes_RefARefBV2" ), vec.qvecRe ()[RefAInd + 3 ] * vec.qvecRe ()[RefBInd + 3 ] + vec.qvecIm ()[RefAInd + 3 ] * vec.qvecIm ()[RefBInd + 3 ], vec.cent ());
349+
341350 histosQA.fill (HIST (" histEvtPlRes_SigRefAV2" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[DetInd + 3 ], vec.qvecIm ()[DetInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefAInd + 3 ], vec.qvecIm ()[RefAInd + 3 ], nmode), nmode), vec.cent ());
342351 histosQA.fill (HIST (" histEvtPlRes_SigRefBV2" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[DetInd + 3 ], vec.qvecIm ()[DetInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefBInd + 3 ], vec.qvecIm ()[RefBInd + 3 ], nmode), nmode), vec.cent ());
343352 histosQA.fill (HIST (" histEvtPlRes_RefARefBV2" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[RefAInd + 3 ], vec.qvecIm ()[RefAInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefBInd + 3 ], vec.qvecIm ()[RefBInd + 3 ], nmode), nmode), vec.cent ());
@@ -389,6 +398,10 @@ struct qVectorsCorrection {
389398 }
390399 }
391400 if (vec.qvecAmp ()[DetId] > 1e-8 && vec.qvecAmp ()[RefAId] > 1e-8 && vec.qvecAmp ()[RefBId] > 1e-8 && cfgQAFinal) {
401+ histosQA.fill (HIST (" histQvecRes_SigRefAV3" ), vec.qvecRe ()[DetInd + 3 ] * vec.qvecRe ()[RefAInd + 3 ] + vec.qvecIm ()[DetInd + 3 ] * vec.qvecIm ()[RefAInd + 3 ], vec.cent ());
402+ histosQA.fill (HIST (" histQvecRes_SigRefBV3" ), vec.qvecRe ()[DetInd + 3 ] * vec.qvecRe ()[RefBInd + 3 ] + vec.qvecIm ()[DetInd + 3 ] * vec.qvecIm ()[RefBInd + 3 ], vec.cent ());
403+ histosQA.fill (HIST (" histQvecRes_RefARefBV3" ), vec.qvecRe ()[RefAInd + 3 ] * vec.qvecRe ()[RefBInd + 3 ] + vec.qvecIm ()[RefAInd + 3 ] * vec.qvecIm ()[RefBInd + 3 ], vec.cent ());
404+
392405 histosQA.fill (HIST (" histEvtPlRes_SigRefAV3" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[DetInd + 3 ], vec.qvecIm ()[DetInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefAInd + 3 ], vec.qvecIm ()[RefAInd + 3 ], nmode), nmode), vec.cent ());
393406 histosQA.fill (HIST (" histEvtPlRes_SigRefBV3" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[DetInd + 3 ], vec.qvecIm ()[DetInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefBInd + 3 ], vec.qvecIm ()[RefBInd + 3 ], nmode), nmode), vec.cent ());
394407 histosQA.fill (HIST (" histEvtPlRes_RefARefBV3" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[RefAInd + 3 ], vec.qvecIm ()[RefAInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefBInd + 3 ], vec.qvecIm ()[RefBInd + 3 ], nmode), nmode), vec.cent ());
@@ -440,6 +453,10 @@ struct qVectorsCorrection {
440453 }
441454 }
442455 if (vec.qvecAmp ()[DetId] > 1e-8 && vec.qvecAmp ()[RefAId] > 1e-8 && vec.qvecAmp ()[RefBId] > 1e-8 && cfgQAFinal) {
456+ histosQA.fill (HIST (" histQvecRes_SigRefAV4" ), vec.qvecRe ()[DetInd + 3 ] * vec.qvecRe ()[RefAInd + 3 ] + vec.qvecIm ()[DetInd + 3 ] * vec.qvecIm ()[RefAInd + 3 ], vec.cent ());
457+ histosQA.fill (HIST (" histQvecRes_SigRefBV4" ), vec.qvecRe ()[DetInd + 3 ] * vec.qvecRe ()[RefBInd + 3 ] + vec.qvecIm ()[DetInd + 3 ] * vec.qvecIm ()[RefBInd + 3 ], vec.cent ());
458+ histosQA.fill (HIST (" histQvecRes_RefARefBV4" ), vec.qvecRe ()[RefAInd + 3 ] * vec.qvecRe ()[RefBInd + 3 ] + vec.qvecIm ()[RefAInd + 3 ] * vec.qvecIm ()[RefBInd + 3 ], vec.cent ());
459+
443460 histosQA.fill (HIST (" histEvtPlRes_SigRefAV4" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[DetInd + 3 ], vec.qvecIm ()[DetInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefAInd + 3 ], vec.qvecIm ()[RefAInd + 3 ], nmode), nmode), vec.cent ());
444461 histosQA.fill (HIST (" histEvtPlRes_SigRefBV4" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[DetInd + 3 ], vec.qvecIm ()[DetInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefBInd + 3 ], vec.qvecIm ()[RefBInd + 3 ], nmode), nmode), vec.cent ());
445462 histosQA.fill (HIST (" histEvtPlRes_RefARefBV4" ), helperEP.GetResolution (helperEP.GetEventPlane (vec.qvecRe ()[RefAInd + 3 ], vec.qvecIm ()[RefAInd + 3 ], nmode), helperEP.GetEventPlane (vec.qvecRe ()[RefBInd + 3 ], vec.qvecIm ()[RefBInd + 3 ], nmode), nmode), vec.cent ());
0 commit comments