@@ -389,13 +389,20 @@ struct JetChargedV2 {
389389 // < RC test plots >//
390390 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}}});
391391 registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphi_abs" , " 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}}});
392+ registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphi_abs_in" , " 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}}});
393+ registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphi_abs_out" , " 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}}});
392394
393395 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}}});
394396 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}}});
395397 registry.add (" h3_centrality_deltapT_RandomCornPhi_rhorandomconewithoutleadingjet_abs" , " 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}}});
396398 registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphiwithoutleadingjet_abs" , " 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}}});
397399
398- registry.add (" h1_distribution_RC" , " RC #phi-#Psi_{2}" , {HistType::kTH1F , {{72 , 0.0 , o2::constants::math::TwoPI}}});
400+ registry.add (" h3_centrality_deltapT_RandomCornPhi_rhorandomconewithoutleadingjet_abs_in" , " 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}}});
401+ registry.add (" h3_centrality_deltapT_RandomCornPhi_rhorandomconewithoutleadingjet_abs_out" , " 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}}});
402+ registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphiwithoutleadingjet_abs_in" , " 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}}});
403+ registry.add (" h3_centrality_deltapT_RandomCornPhi_localrhovsphiwithoutleadingjet_abs_out" , " 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}}});
404+
405+ // registry.add("h1_distribution_RC", "RC #phi-#Psi_{2}", {HistType::kTH1F, {{72, 0.0, o2::constants::math::TwoPI}}});
399406
400407 // < bkg sub plot | end >//
401408 // < median rho >//
@@ -1440,9 +1447,9 @@ struct JetChargedV2 {
14401447 double ep3 = 0 .;
14411448 int cfgNmodA = 2 ;
14421449 int cfgNmodB = 3 ;
1443- int evtPlnAngleA = 7 ;
1444- int evtPlnAngleB = 3 ;
1445- int evtPlnAngleC = 5 ;
1450+ int evtPlnAngleA = 3 ;
1451+ // int evtPlnAngleB = 3;
1452+ // int evtPlnAngleC = 5;
14461453 for (uint i = 0 ; i < cfgnMods->size (); i++) {
14471454 int nmode = cfgnMods->at (i);
14481455 int detInd = detId * 4 + cfgnTotalSystem * 4 * (nmode - 2 );
@@ -1651,7 +1658,8 @@ struct JetChargedV2 {
16511658 histosQA.fill (HIST (" h2_ep2_FT0C_FT0M_bumpRegion" ), helperEP.GetEventPlane (collision.qvecRe ()[detInd + 3 ], collision.qvecIm ()[detInd + 3 ], nmode), helperEP.GetEventPlane (collision.qvecRe ()[detIndFT0M + 3 ], collision.qvecIm ()[detIndFT0M + 3 ], nmode), collision.cent ());
16521659 }
16531660
1654- if ((absDelta < o2::constants::math::PIQuarter) || (absDelta >= evtPlnAngleA * o2::constants::math::PIQuarter) || (absDelta >= evtPlnAngleB * o2::constants::math::PIQuarter && absDelta < evtPlnAngleC * o2::constants::math::PIQuarter)) {
1661+ // if ((absDelta < o2::constants::math::PIQuarter) || (absDelta >= evtPlnAngleA * o2::constants::math::PIQuarter) || (absDelta >= evtPlnAngleB * o2::constants::math::PIQuarter && absDelta < evtPlnAngleC * o2::constants::math::PIQuarter)) {
1662+ if (absDelta < o2::constants::math::PIQuarter || absDelta >= evtPlnAngleA * o2::constants::math::PIQuarter) {
16551663 registry.fill (HIST (" h_jet_pt_in_plane_v2" ), jet.pt () - (collision.rho () * jet.area ()), 1.0 );
16561664 registry.fill (HIST (" h2_centrality_jet_pt_in_plane_v2" ), centrality, jet.pt () - (collision.rho () * jet.area ()), 1.0 );
16571665
@@ -1688,7 +1696,8 @@ struct JetChargedV2 {
16881696 phiMinusPsi3 = RecoDecay::constrainAngle (jet.phi () - ep3, -o2::constants::math::PI );
16891697 float absDelta3 = std::abs (phiMinusPsi3);
16901698
1691- if ((absDelta3 < o2::constants::math::PIQuarter) || (absDelta3 >= evtPlnAngleA * o2::constants::math::PIQuarter) || (absDelta3 >= evtPlnAngleB * o2::constants::math::PIQuarter && absDelta3 < evtPlnAngleC * o2::constants::math::PIQuarter)) {
1699+ // if ((absDelta3 < o2::constants::math::PIQuarter) || (absDelta3 >= evtPlnAngleA * o2::constants::math::PIQuarter) || (absDelta3 >= evtPlnAngleB * o2::constants::math::PIQuarter && absDelta3 < evtPlnAngleC * o2::constants::math::PIQuarter)) {
1700+ if (absDelta3 < o2::constants::math::PIQuarter || absDelta3 >= evtPlnAngleA * o2::constants::math::PIQuarter) {
16921701 registry.fill (HIST (" h_jet_pt_in_plane_v3" ), jet.pt () - (collision.rho () * jet.area ()), 1.0 );
16931702 registry.fill (HIST (" h_jet_pt_in_plane_v3_rho" ), jet.pt () - (rholocal * jet.area ()), 1.0 );
16941703 } else {
@@ -1727,10 +1736,14 @@ struct JetChargedV2 {
17271736 }
17281737 }
17291738 }
1730- registry.fill (HIST (" h1_distribution_RC" ), rcPhiPsi2);
1739+ // registry.fill(HIST("h1_distribution_RC"), rcPhiPsi2);
17311740 registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_localrhovsphi" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * rholocalRC, rcPhiPsi2, 1.0 );
17321741 registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_localrhovsphi_abs" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * rholocalRC, absRcPhiPsi2, 1.0 );
1733-
1742+ if (absRcPhiPsi2 < o2::constants::math::PIQuarter || absRcPhiPsi2 >= evtPlnAngleA * o2::constants::math::PIQuarter) {
1743+ registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_localrhovsphi_abs_in" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * rholocalRC, absRcPhiPsi2, 1.0 );
1744+ } else {
1745+ registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_localrhovsphi_abs_out" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * rholocalRC, absRcPhiPsi2, 1.0 );
1746+ }
17341747 // removing the leading jet from the random cone
17351748 if (jets.size () > 0 ) { // if there are no jets in the acceptance (from the jetfinder cuts) then there can be no leading jet
17361749 float dPhiLeadingJet = RecoDecay::constrainAngle (leadingJetPhi - randomConePhi, -o2::constants::math::PI );
@@ -1766,6 +1779,15 @@ struct JetChargedV2 {
17661779 registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_rhorandomconewithoutleadingjet" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * collision.rho (), rcPhiPsi2, 1.0 );
17671780 registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_localrhovsphiwithoutleadingjet_abs" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * rholocalRC, absRcPhiPsi2, 1.0 );
17681781 registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_rhorandomconewithoutleadingjet_abs" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * collision.rho (), absRcPhiPsi2, 1.0 );
1782+
1783+ if (absRcPhiPsi2 < o2::constants::math::PIQuarter || absRcPhiPsi2 >= evtPlnAngleA * o2::constants::math::PIQuarter) {
1784+ registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_localrhovsphiwithoutleadingjet_abs_in" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * rholocalRC, absRcPhiPsi2, 1.0 );
1785+ registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_rhorandomconewithoutleadingjet_abs_in" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * collision.rho (), absRcPhiPsi2, 1.0 );
1786+ } else {
1787+ registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_localrhovsphiwithoutleadingjet_abs_out" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * rholocalRC, absRcPhiPsi2, 1.0 );
1788+ registry.fill (HIST (" h3_centrality_deltapT_RandomCornPhi_rhorandomconewithoutleadingjet_abs_out" ), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * collision.rho (), absRcPhiPsi2, 1.0 );
1789+ }
1790+
17691791 } else if (nmode == cfgNmodB) {
17701792 continue ;
17711793 }
0 commit comments