Skip to content

Commit 1b11593

Browse files
committed
Add reconstructed ct
1 parent 95455b2 commit 1b11593

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

PWGHF/D2H/Tasks/taskCd.cxx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ DECLARE_SOA_COLUMN(FlagMcDecayChanRec, flagMcDecayChanRec, int8_t); //! Resonant
117117
DECLARE_SOA_COLUMN(OriginMcGen, originMcGen, int8_t); //! MC origin for generated particles
118118
DECLARE_SOA_COLUMN(FlagMcDecayChanGen, flagMcDecayChanGen, int8_t); //! Resonant MC decay channel for generated candidates
119119
DECLARE_SOA_COLUMN(CtGen, ctGen, float); //! Generated ct computed wrt to c-deuteron production vertex, which can be either PV (prompt) or B-hadron decay vertex (non-prompt)
120+
DECLARE_SOA_COLUMN(CtRec, ctRec, float); //! Reconstructed ct computed wrt to PV
120121
DECLARE_SOA_COLUMN(Cent, cent, float); //! Centrality
121122
DECLARE_SOA_COLUMN(VtxZ, vtxZ, float); //! Vertex Z
122123
DECLARE_SOA_COLUMN(GIndexCol, gIndexCol, int); //! Global index for the collision
@@ -144,6 +145,7 @@ DECLARE_SOA_TABLE(HfCandCdLite, "AOD", "HFCANDCDLITE",
144145
full::NSigmaTpcPr,
145146
full::NSigmaItsDe,
146147
full::NSigmaTofDe,
148+
full::CtRec,
147149
full::CandidateSelFlag,
148150
full::CandidateSign,
149151
full::FlagMc,
@@ -177,6 +179,7 @@ DECLARE_SOA_TABLE(HfCandCdFull, "AOD", "HFCANDCDFULL",
177179
full::NSigmaTofPi,
178180
full::NSigmaTpcKa,
179181
full::NSigmaTofKa,
182+
full::CtRec,
180183
full::CandidateSelFlag,
181184
full::CandidateSign,
182185
full::FlagMc,
@@ -588,6 +591,7 @@ struct HfTaskCd {
588591
nSigmaTpcPr,
589592
nSigmaItsDe,
590593
nSigmaTofDe,
594+
candidate.ct(o2::constants::physics::MassCDeuteron),
591595
candFlag,
592596
candSign,
593597
candidate.flagMcMatchRec(),
@@ -622,6 +626,7 @@ struct HfTaskCd {
622626
nSigmaTofPi,
623627
nSigmaTpcKa,
624628
nSigmaTofKa,
629+
candidate.ct(o2::constants::physics::MassCDeuteron),
625630
candFlag,
626631
candSign,
627632
candidate.flagMcMatchRec(),
@@ -940,6 +945,7 @@ struct HfTaskCd {
940945
nSigmaTpcPr,
941946
nSigmaItsDe,
942947
nSigmaTofDe,
948+
candidate.ct(o2::constants::physics::MassCDeuteron),
943949
candFlag,
944950
candSign,
945951
0,
@@ -975,6 +981,7 @@ struct HfTaskCd {
975981
nSigmaTofPi,
976982
nSigmaTpcKa,
977983
nSigmaTofKa,
984+
candidate.ct(o2::constants::physics::MassCDeuteron),
978985
candFlag,
979986
candSign,
980987
0,

0 commit comments

Comments
 (0)