@@ -204,6 +204,7 @@ struct JetChargedV2 {
204204 eventSelectionBits = jetderiveddatautilities::initialiseEventSelectionBits (static_cast <std::string>(eventSelections));
205205 trackSelection = jetderiveddatautilities::initialiseTrackSelection (static_cast <std::string>(trackSelections));
206206
207+ registry.add (" h_collisions" , " event status;event status;entries" , {HistType::kTH1F , {{4 , 0.0 , 4.0 }}});
207208 // < \sigma p_T at local rho test plot >
208209 registry.add (" h_accept_Track" , " all and accept track;Track;entries" , {HistType::kTH1F , {{10 , 0.0 , 10.0 }}});
209210 registry.add (" h_accept_Track_init" , " all and accept track;Track;entries" , {HistType::kTH1F , {{10 , 0.0 , 10.0 }}});
@@ -212,7 +213,6 @@ struct JetChargedV2 {
212213 registry.add (" h_ptsum_collnum" , " ptsum collnum;collnum;entries" , {HistType::kTH1F , {{40 , 0.0 , 40 }}});
213214 registry.add (" h_ptsum_sumpt" , " jet sumpt;sum p_{T};entries" , {HistType::kTH1F , {{40 , 0 ., o2::constants::math::TwoPI}}});
214215 registry.add (" h2_phi_track_eta" , " phi vs track eta; #eta (GeV/#it{c}); #varphi" , {HistType::kTH2F , {{100 , -1.0 , 1.0 }, {40 , 0 ., o2::constants::math::TwoPI}}});
215- registry.add (" h2_phi_track_pt" , " phi vs track pT; #it{p}_{T,track} (GeV/#it{c}); #varphi" , {HistType::kTH2F , {{200 , 0 ., 200 .}, {40 , 0 ., o2::constants::math::TwoPI}}});
216216 registry.add (" h2_centrality_phi_w_pt" , " centrality vs jet #varphi; centrality; entries" , {HistType::kTH2F , {{100 , 0.0 , 100.0 }, {40 , 0 ., o2::constants::math::TwoPI}}});
217217 registry.add (" h2_evtnum_phi_w_pt" , " eventNumber vs jet #varphi; #eventNumber; entries" , {HistType::kTH2F , {{1000 , 0.0 , 1000 }, {40 , 0 ., o2::constants::math::TwoPI}}});
218218
@@ -242,13 +242,11 @@ struct JetChargedV2 {
242242 registry.add (" h_fitparav2obs_evtnum" , " fitparameter v2obs vs evtnum ; #eventnumber" , {HistType::kTH1F , {{1000 , 0.0 , 1000 }}});
243243 registry.add (" h_fitparav3obs_evtnum" , " fitparameter v3obs vs evtnum ; #eventnumber" , {HistType::kTH1F , {{1000 , 0.0 , 1000 }}});
244244
245+ registry.add (" h2_fitParaZero_cent" , " #varphi vs #rho(#varphi); #cent; #fitParameter[0] " , {HistType::kTH2F , {{100 , 0 ., 100 }, {210 , -10.0 , 200.0 }}});
245246 registry.add (" h2_phi_rhophi" , " #varphi vs #rho(#varphi); #varphi - #Psi_{EP,2}; #rho_{ch}(#varphi) " , {HistType::kTH2F , {{40 , 0 ., o2::constants::math::TwoPI}, {210 , -10.0 , 200.0 }}});
246247 registry.add (" h2_phi_rholocal" , " #varphi vs #rho(#varphi); #varphi - #Psi_{EP,2}; #rho(#varphi) " , {HistType::kTH2F , {{40 , 0 ., o2::constants::math::TwoPI}, {210 , -10.0 , 200.0 }}});
247- registry.add (" h2_phi_rhomedian" , " #varphi vs #rho(#varphi); #varphi - #Psi_{EP,2}; #rho_{median} " , {HistType::kTH2F , {{40 , 0 ., o2::constants::math::TwoPI}, {210 , -10.0 , 200.0 }}});
248-
249- registry.add (" h2_fitParaZero_cent" , " #varphi vs #rho(#varphi); #cent; #fitParameter[0] " , {HistType::kTH2F , {{100 , 0 ., 100 }, {210 , -10.0 , 200.0 }}});
250248 registry.add (" h2_phi_rholocal_cent" , " #varphi vs #rho(#varphi); #cent; #rho(#varphi) " , {HistType::kTH2F , {{100 , 0 ., 100 }, {210 , -10.0 , 200.0 }}});
251- registry.add (" h2_phi_rhomedian_cent " , " #varphi vs #rho(#varphi) ; #cent; #rho_{median} " , {HistType::kTH2F , {{100 , 0 ., 100 }, {210 , - 10 .0 , 200.0 }}});
249+ registry.add (" h3_centrality_localrho_phi " , " centrality ; #rho_{local}; #Delta#varphi_{jet} " , {HistType::kTH3F , {{120 , - 10.0 , 110.0 }, {200 , 0 .0 , 200.0 }, { 40 , 0 ., o2::constants::math::TwoPI }}});
252250
253251 registry.add (" h3_centrality_rhovsphi_phi" , " centrality; #rho(#varphi); #Delta#varphi_{jet}" , {HistType::kTH3F , {{120 , -10.0 , 110.0 }, {200 , 0.0 , 200.0 }, {40 , 0 ., o2::constants::math::TwoPI}}});
254252 // < \sigma p_T at local rho test plot | end >
@@ -269,7 +267,7 @@ struct JetChargedV2 {
269267 // < RC test plots >//
270268 registry.add (" h3_centrality_deltapT_RandomCornPhi_rhorandomconewithoutleadingjet" , " centrality; #it{p}_{T,random cone} - #it{area, random cone} * #it{rho}; #Delta#varphi_{jet}" , {HistType::kTH3F , {{100 , 0.0 , 100.0 }, {400 , -200.0 , 200.0 }, {100 , 0 ., o2::constants::math::TwoPI}}});
271269 registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphi" , " centrality; #it{p}_{T,random cone} - #it{area, random cone} * #it{rho}; #Delta#varphi_{jet}" , {HistType::kTH3F , {{100 , 0.0 , 100.0 }, {400 , -200.0 , 200.0 }, {100 , 0 ., o2::constants::math::TwoPI}}});
272- registry.add (" h3_centrality_deltapT_RandomCornPhi_RCprocess_rhorandomconewithoutleadingjet " , " centrality; #it{p}_{T,random cone} - #it{area, random cone} * #it{rho}; #Delta#varphi_{jet}" , {HistType::kTH3F , {{ 100 , 0.0 , 100.0 }, {400 , -200.0 , 200.0 }, {100 , 0 ., o2::constants::math::TwoPI}}});
270+ registry.add (" h2_centrality_deltapT_RandomCornPhi_RCprocess_rhorandomconewithoutleadingjet " , " #it{p}_{T,random cone} - #it{area, random cone} * #it{rho}; #Delta#varphi_{jet}" , {HistType::kTH2F , {{400 , -200.0 , 200.0 }, {100 , 0 ., o2::constants::math::TwoPI}}});
273271
274272 registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphiwithoutleadingjet" , " centrality; #it{p}_{T,random cone} - #it{area, random cone} * #it{rho}(#varphi); #Delta#varphi_{jet}" , {HistType::kTH3F , {{100 , 0.0 , 100.0 }, {400 , -200.0 , 200.0 }, {100 , 0 ., o2::constants::math::TwoPI}}});
275273 registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphiwithoutoneleadingjet" , " centrality; #it{p}_{T,random cone} - #it{area, random cone} * #it{rho}(#varphi); #Delta#varphi_{jet}" , {HistType::kTH3F , {{100 , 0.0 , 100.0 }, {400 , -200.0 , 200.0 }, {100 , 0 ., o2::constants::math::TwoPI}}});
@@ -316,6 +314,10 @@ struct JetChargedV2 {
316314 histosQA.add (Form (" histEvtPlRectrV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
317315 histosQA.add (Form (" histEvtPlTwistV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
318316 histosQA.add (Form (" histEvtPlFinalV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
317+
318+ histosQA.add (Form (" histEvtPlRes_SigRefAV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
319+ histosQA.add (Form (" histEvtPlRes_SigRefBV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
320+ histosQA.add (Form (" histEvtPlRes_RefARefBV%d" , cfgnMods->at (i)), " " , {HistType::kTH2F , {axisEvtPl, axisCent}});
319321 }
320322 // =====================< evt pln plot | end >=====================//
321323 }
@@ -399,8 +401,10 @@ struct JetChargedV2 {
399401 for (uint i = 0 ; i < cfgnMods->size (); i++) {
400402 int nmode = cfgnMods->at (i);
401403 int detInd = detId * 4 + cfgnTotalSystem * 4 * (nmode - 2 );
404+ int refAInd = refAId * 4 + cfgnTotalSystem * 4 * (nmode - 2 );
405+ int refBInd = refBId * 4 + cfgnTotalSystem * 4 * (nmode - 2 );
402406 if (nmode == 2 ) {
403- if (collision.qvecAmp ()[detId] > 1e-8 ) {
407+ if (collision.qvecAmp ()[detId] > 1e-8 || collision. qvecAmp ()[refAId] < 1e-8 || collision. qvecAmp ()[refBId] < 1e-8 ) {
404408 histosQA.fill (HIST (" histQvecUncorV2" ), collision.qvecRe ()[detInd], collision.qvecIm ()[detInd], collision.cent ());
405409 histosQA.fill (HIST (" histQvecRectrV2" ), collision.qvecRe ()[detInd + 1 ], collision.qvecIm ()[detInd + 1 ], collision.cent ());
406410 histosQA.fill (HIST (" histQvecTwistV2" ), collision.qvecRe ()[detInd + 2 ], collision.qvecIm ()[detInd + 2 ], collision.cent ());
@@ -410,6 +414,10 @@ struct JetChargedV2 {
410414 histosQA.fill (HIST (" histEvtPlRectrV2" ), helperEP.GetEventPlane (collision.qvecRe ()[detInd + 1 ], collision.qvecIm ()[detInd + 1 ], nmode), collision.cent ());
411415 histosQA.fill (HIST (" histEvtPlTwistV2" ), helperEP.GetEventPlane (collision.qvecRe ()[detInd + 2 ], collision.qvecIm ()[detInd + 2 ], nmode), collision.cent ());
412416 histosQA.fill (HIST (" histEvtPlFinalV2" ), helperEP.GetEventPlane (collision.qvecRe ()[detInd + 3 ], collision.qvecIm ()[detInd + 3 ], nmode), collision.cent ());
417+
418+ histosQA.fill (HIST (" histEvtPlRes_SigRefAV2" ), helperEP.GetResolution (helperEP.GetEventPlane (collision.qvecRe ()[detInd + 3 ], collision.qvecIm ()[detInd + 3 ], nmode), helperEP.GetEventPlane (collision.qvecRe ()[refAInd + 3 ], collision.qvecIm ()[refAInd + 3 ], nmode), nmode), collision.cent ());
419+ histosQA.fill (HIST (" histEvtPlRes_SigRefBV2" ), helperEP.GetResolution (helperEP.GetEventPlane (collision.qvecRe ()[detInd + 3 ], collision.qvecIm ()[detInd + 3 ], nmode), helperEP.GetEventPlane (collision.qvecRe ()[refBInd + 3 ], collision.qvecIm ()[refBInd + 3 ], nmode), nmode), collision.cent ());
420+ histosQA.fill (HIST (" histEvtPlRes_RefARefBV2" ), helperEP.GetResolution (helperEP.GetEventPlane (collision.qvecRe ()[refAInd + 3 ], collision.qvecIm ()[refAInd + 3 ], nmode), helperEP.GetEventPlane (collision.qvecRe ()[refBInd + 3 ], collision.qvecIm ()[refBInd + 3 ], nmode), nmode), collision.cent ());
413421 }
414422 } else if (nmode == 3 ) {
415423 histosQA.fill (HIST (" histQvecUncorV3" ), collision.qvecRe ()[detInd], collision.qvecIm ()[detInd], collision.cent ());
@@ -421,6 +429,10 @@ struct JetChargedV2 {
421429 histosQA.fill (HIST (" histEvtPlRectrV3" ), helperEP.GetEventPlane (collision.qvecRe ()[detInd + 1 ], collision.qvecIm ()[detInd + 1 ], nmode), collision.cent ());
422430 histosQA.fill (HIST (" histEvtPlTwistV3" ), helperEP.GetEventPlane (collision.qvecRe ()[detInd + 2 ], collision.qvecIm ()[detInd + 2 ], nmode), collision.cent ());
423431 histosQA.fill (HIST (" histEvtPlFinalV3" ), helperEP.GetEventPlane (collision.qvecRe ()[detInd + 3 ], collision.qvecIm ()[detInd + 3 ], nmode), collision.cent ());
432+
433+ histosQA.fill (HIST (" histEvtPlRes_SigRefAV3" ), helperEP.GetResolution (helperEP.GetEventPlane (collision.qvecRe ()[detInd + 3 ], collision.qvecIm ()[detInd + 3 ], nmode), helperEP.GetEventPlane (collision.qvecRe ()[refAInd + 3 ], collision.qvecIm ()[refAInd + 3 ], nmode), nmode), collision.cent ());
434+ histosQA.fill (HIST (" histEvtPlRes_SigRefBV3" ), helperEP.GetResolution (helperEP.GetEventPlane (collision.qvecRe ()[detInd + 3 ], collision.qvecIm ()[detInd + 3 ], nmode), helperEP.GetEventPlane (collision.qvecRe ()[refBInd + 3 ], collision.qvecIm ()[refBInd + 3 ], nmode), nmode), collision.cent ());
435+ histosQA.fill (HIST (" histEvtPlRes_RefARefBV3" ), helperEP.GetResolution (helperEP.GetEventPlane (collision.qvecRe ()[refAInd + 3 ], collision.qvecIm ()[refAInd + 3 ], nmode), helperEP.GetEventPlane (collision.qvecRe ()[refBInd + 3 ], collision.qvecIm ()[refBInd + 3 ], nmode), nmode), collision.cent ());
424436 }
425437
426438 if (nmode == 2 ) {
@@ -484,13 +496,15 @@ struct JetChargedV2 {
484496 soa::Join<aod::ChargedJets, aod::ChargedJetConstituents> const & jets,
485497 aod::JetTracks const & tracks)
486498 {
487- // for (const auto& collision : collisions) {
488- if (collision. trackOccupancyInTimeRange () < trackOccupancyInTimeRangeMin || trackOccupancyInTimeRangeMax < collision. trackOccupancyInTimeRange ( )) {
499+ registry. fill ( HIST ( " h_collisions " ), 0.5 );
500+ if (! jetderiveddatautilities::selectCollision ( collision, eventSelectionBits )) {
489501 return ;
490502 }
491- if (!jetderiveddatautilities::selectCollision (collision, eventSelectionBits)) {
503+ registry.fill (HIST (" h_collisions" ), 1.5 );
504+ if (collision.trackOccupancyInTimeRange () < trackOccupancyInTimeRangeMin || trackOccupancyInTimeRangeMax < collision.trackOccupancyInTimeRange ()) {
492505 return ;
493506 }
507+ registry.fill (HIST (" h_collisions" ), 2.5 );
494508 double leadingJetPt = -1 ;
495509 double leadingJetPhi = -1 ;
496510 double leadingJetEta = -1 ;
@@ -535,7 +549,6 @@ struct JetChargedV2 {
535549 accptTrack += 1 ;
536550 registry.fill (HIST (" h_accept_Track" ), 2.5 );
537551 hPtsumSumptFit->Fill (track.phi (), track.pt ());
538- registry.fill (HIST (" h2_phi_track_pt" ), track.pt (), track.phi ());
539552 registry.fill (HIST (" h2_phi_track_eta" ), track.eta (), track.phi ());
540553 registry.fill (HIST (" h_ptsum_sumpt" ), track.phi (), track.pt ());
541554 registry.fill (HIST (" h2_centrality_phi_w_pt" ), collision.centrality (), track.phi (), track.pt ());
@@ -661,8 +674,11 @@ struct JetChargedV2 {
661674
662675 double integralValue = fFitModulationV2v3 ->Integral (jet.phi () - jetRadius, jet.phi () + jetRadius);
663676 double rholocal = collision.rho () / (2 * jetRadius * temppara[0 ]) * integralValue;
677+ registry.fill (HIST (" h2_phi_rhophi" ), jet.phi () - ep2, fFitModulationV2v3 ->Eval (jet.phi ()), 1.0 );
678+ registry.fill (HIST (" h3_centrality_rhovsphi_phi" ), collision.centrality (), fFitModulationV2v3 ->Eval (jet.phi ()), jet.phi () - ep2);
679+
664680 registry.fill (HIST (" h2_phi_rholocal_cent" ), collision.centrality (), rholocal, 1.0 );
665- registry.fill (HIST (" h2_phi_rhomedian_cent " ), collision.centrality (), collision. rho (), 1.0 );
681+ registry.fill (HIST (" h3_centrality_localrho_phi " ), collision.centrality (), rholocal, jet. phi () - ep2 );
666682
667683 if (nmode == 2 ) {
668684 registry.fill (HIST (" h_jet_pt_rholocal" ), jet.pt () - (rholocal * jet.area ()), 1.0 );
@@ -716,11 +732,6 @@ struct JetChargedV2 {
716732 double rcPhiPsi2;
717733 rcPhiPsi2 = randomConePhi - ep2;
718734
719- for (auto const & jet : jets) {
720- registry.fill (HIST (" h2_phi_rhophi" ), jet.phi () - ep2, fFitModulationV2v3 ->Eval (jet.phi ()), 1.0 );
721- registry.fill (HIST (" h3_centrality_rhovsphi_phi" ), collision.centrality (), fFitModulationV2v3 ->Eval (jet.phi ()), jet.phi () - ep2);
722- }
723-
724735 for (auto const & track : tracks) {
725736 if (jetderiveddatautilities::selectTrack (track, trackSelection)) {
726737 float dPhi = RecoDecay::constrainAngle (track.phi () - randomConePhi, static_cast <float >(-o2::constants::math::PI));
@@ -849,7 +860,7 @@ struct JetChargedV2 {
849860 }
850861 }
851862 }
852- registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_RCprocess_rhorandomconewithoutleadingjet " ), collision. centrality ( ), randomConePt - o2::constants::math::PI * randomConeR * randomConeR * collision.rho (), rcPhiPsi2, 1.0 );
863+ registry.fill (HIST (" h2_centrality_deltapT_RandomCornPhi_RCprocess_rhorandomconewithoutleadingjet " ), randomConePt - o2::constants::math::PI * randomConeR * randomConeR * collision.rho (), rcPhiPsi2, 1.0 );
853864 } else if (nmode == 3 ) {
854865 continue ;
855866 }
0 commit comments