Skip to content

Commit 11e0094

Browse files
[PWGUD] Modified a wrongly placed histogram for four pion pt (#11821)
1 parent 3d5d077 commit 11e0094

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

PWGUD/Tasks/exclusiveRhoTo4Pi.cxx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,18 +641,22 @@ struct ExclusiveRhoTo4Pi {
641641

642642
// Four Pion Transverse Momentum
643643
histosData.add("fourpion_pT_0_charge", "Event pT in 0 Charge Events With Track Selection and PID Selection of Pi; pT [GeV/c]; Events", kTH1F, {pTAxis});
644+
histosData.add("fourpion_pT_0_charge_within_rap", "Event pT in 0 Charge Events With Track Selection and PID Selection of Pi; pT [GeV/c]; Events", kTH1F, {pTAxis});
644645
histosData.add("fourpion_pT_non_0_charge", "Event pT in Non 0 Charge Events With Track Selection and PID Selection of Pi; pT [GeV/c]; Events", kTH1F, {pTAxis});
645646

646647
// Four Pion Eta
647648
histosData.add("fourpion_eta_0_charge", "Four Pion #eta (0 charge); #eta; Events", kTH1F, {{1000, -1.1, 1.1}});
649+
histosData.add("fourpion_eta_0_charge_within_rap", "Four Pion #eta (0 charge within rap); #eta; Events", kTH1F, {{1000, -1.1, 1.1}});
648650
histosData.add("fourpion_eta_non_0_charge", "Four Pion #eta (non 0 charge); #eta; #eta; Events", kTH1F, {{1000, -1.1, 1.1}});
649651

650652
// Four Pion Phi
651653
histosData.add("fourpion_phi_0_charge", "Four Pion #phi (0 charge); #phi [rad]; Events", kTH1F, {phiAxis});
654+
histosData.add("fourpion_phi_0_charge_within_rap", "Four Pion #phi (0 charge within rap); #phi [rad]; Events", kTH1F, {phiAxis});
652655
histosData.add("fourpion_phi_non_0_charge", "Four Pion #phi (non 0 charge); #phi [rad]; Events", kTH1F, {phiAxis});
653656

654657
// Four Pion Rapidity
655658
histosData.add("fourpion_rap_0_charge", "Four Pion Rapidity (0 charge); y; Events", kTH1F, {{1000, -2.5, 2.5}});
659+
histosData.add("fourpion_rap_0_charge_within_rap", "Four Pion Rapidity (0 charge within rap); y; Events", kTH1F, {{1000, -2.5, 2.5}});
656660
histosData.add("fourpion_rap_non_0_charge", "Four Pion Rapidity (non 0 charge); y; Events", kTH1F, {rapidityAxis});
657661

658662
// Four Pion Mass
@@ -1117,7 +1121,10 @@ struct ExclusiveRhoTo4Pi {
11171121
fourPiPhiPair1, fourPiPhiPair2, fourPiCosThetaPair1, fourPiCosThetaPair2);
11181122

11191123
if (std::fabs(p1234.Rapidity()) < rhoRapCut) {
1120-
histosData.fill(HIST("fourpion_pT_0_charge"), p1234.Pt());
1124+
histosData.fill(HIST("fourpion_pT_0_charge_within_rap"), p1234.Pt());
1125+
histosData.fill(HIST("fourpion_eta_0_charge_within_rap"), p1234.Eta());
1126+
histosData.fill(HIST("fourpion_phi_0_charge_within_rap"), p1234.Phi());
1127+
histosData.fill(HIST("fourpion_rap_0_charge_within_rap"), p1234.Rapidity());
11211128
if (p1234.Pt() < rhoPtCut) {
11221129
histosData.fill(HIST("EventsCounts_vs_runNo"), collision.runNumber(), 5);
11231130
// Fill the Invariant Mass Histogram

0 commit comments

Comments
 (0)