Skip to content

Commit 34611b4

Browse files
author
ariffero
committed
Modify names of saved gen varaibles.
The names of the varaibles in the gen tree are now the same as the name of the gen varaibles in the reco tree.
1 parent 3630bee commit 34611b4

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

PWGUD/Tasks/FwdMuonsUPC.cxx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -86,28 +86,28 @@ DECLARE_SOA_TABLE(DiMu, "AOD", "DIMU",
8686
namespace gendimu
8787
{
8888
// dimuon
89-
DECLARE_SOA_COLUMN(M, m, float);
90-
DECLARE_SOA_COLUMN(Pt, pt, float);
91-
DECLARE_SOA_COLUMN(Rap, rap, float);
92-
DECLARE_SOA_COLUMN(Phi, phi, float);
93-
DECLARE_SOA_COLUMN(PhiAv, phiAv, float);
94-
DECLARE_SOA_COLUMN(PhiCh, phiCh, float);
89+
DECLARE_SOA_COLUMN(GenM, genM, float);
90+
DECLARE_SOA_COLUMN(GenPt, genPt, float);
91+
DECLARE_SOA_COLUMN(GenRap, genRap, float);
92+
DECLARE_SOA_COLUMN(GenPhi, genPhi, float);
93+
DECLARE_SOA_COLUMN(GenPhiAv, genPhiAv, float);
94+
DECLARE_SOA_COLUMN(GenPhiCh, genPhiCh, float);
9595
// tracks positive (p) and negative (n)
96-
DECLARE_SOA_COLUMN(Ptp, ptp, float);
97-
DECLARE_SOA_COLUMN(Etap, etap, float);
98-
DECLARE_SOA_COLUMN(Phip, phip, float);
99-
DECLARE_SOA_COLUMN(Ptn, ptn, float);
100-
DECLARE_SOA_COLUMN(Etan, etan, float);
101-
DECLARE_SOA_COLUMN(Phin, phin, float);
96+
DECLARE_SOA_COLUMN(GenPtp, genPtp, float);
97+
DECLARE_SOA_COLUMN(GenEtap, genEtap, float);
98+
DECLARE_SOA_COLUMN(GenPhip, genPhip, float);
99+
DECLARE_SOA_COLUMN(GenPtn, genPtn, float);
100+
DECLARE_SOA_COLUMN(GenEtan, genEtan, float);
101+
DECLARE_SOA_COLUMN(GenPhin, genPhin, float);
102102
} // namespace gendimu
103103

104104
namespace o2::aod
105105
{
106106
DECLARE_SOA_TABLE(GenDimu, "AOD", "GENDIMU",
107-
gendimu::M, gendimu::Pt, gendimu::Rap, gendimu::Phi,
108-
gendimu::PhiAv, gendimu::PhiCh,
109-
gendimu::Ptp, gendimu::Etap, gendimu::Phip,
110-
gendimu::Ptn, gendimu::Etan, gendimu::Phin);
107+
gendimu::GenM, gendimu::GenPt, gendimu::GenRap, gendimu::GenPhi,
108+
gendimu::GenPhiAv, gendimu::GenPhiCh,
109+
gendimu::GenPtp, gendimu::GenEtap, gendimu::GenPhip,
110+
gendimu::GenPtn, gendimu::GenEtan, gendimu::GenPhin);
111111
} // namespace o2::aod
112112

113113
// for saving tree with info on reco MC

0 commit comments

Comments
 (0)