Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions PWGHF/D2H/Tasks/taskCd.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ namespace full
DECLARE_SOA_COLUMN(MassCd, massCd, float); //! Invariant mass of cd candidate (GeV/c^2)
DECLARE_SOA_COLUMN(MassLc, massLc, float); //! Invariant mass under the p K pi hypothesis (GeV/c^2)
DECLARE_SOA_COLUMN(Pt, pt, float); //! Transverse momentum of candidate (GeV/c)
DECLARE_SOA_COLUMN(Eta, eta, float); //! eta of candidate (GeV/c)
DECLARE_SOA_COLUMN(Phi, phi, float); //! phi of candidate (GeV/c)
DECLARE_SOA_COLUMN(Eta, eta, float); //! Candidate pseudorapidity
DECLARE_SOA_COLUMN(Phi, phi, float); //! Candidate azimuthal angle (rad)
DECLARE_SOA_COLUMN(EtaDe, etaDe, float); //! Pseudorapidity of the selected deuteron track
DECLARE_SOA_COLUMN(PhiDe, phiDe, float); //! Azimuthal angle of the selected deuteron track (rad)
DECLARE_SOA_COLUMN(Y, y, float); //! rapidity of generated particle
DECLARE_SOA_COLUMN(PtProng0, ptProng0, float); //! Transverse momentum of prong 0 (GeV/c)
DECLARE_SOA_COLUMN(PxProng0, pxProng0, float); //! Px of prong 0 (GeV/c)
Expand Down Expand Up @@ -212,7 +214,11 @@ DECLARE_SOA_TABLE(HfCandCdFull, "AOD", "HFCANDCDFULL",
full::VtxZ,
full::GIndexCol,
full::TimeStamp,
full::TpcNClsFoundDe);
full::TpcNClsFoundDe,
full::Eta,
full::Phi,
full::EtaDe,
full::PhiDe);

DECLARE_SOA_TABLE(HfCandCdGen, "AOD", "HFCANDCDGEN",
full::Pt,
Expand Down Expand Up @@ -626,7 +632,9 @@ struct HfTaskCd {
candidate.ct(o2::constants::physics::MassCDeuteron) * CmToMum,
candFlag, candSign, candidate.flagMcMatchRec(), isCandidateSwapped, hypothesisMask, candidateGlobalIndex, candidate.originMcRec(),
candidate.flagMcDecayChanRec(), ctGen, collision.numContrib(), o2::hf_centrality::getCentralityColl(collision),
collision.posZ(), collision.globalIndex(), timeStamp, deuteronProng.tpcNClsFound());
collision.posZ(), collision.globalIndex(), timeStamp, deuteronProng.tpcNClsFound(),
candidate.eta(), candidate.phi(),
deuteronProng.eta(), deuteronProng.phi());
}
};

Expand Down Expand Up @@ -907,7 +915,9 @@ struct HfTaskCd {
nSigmaTpcPi, nSigmaTofPi, nSigmaTpcKa, nSigmaTofKa,
candidate.ct(o2::constants::physics::MassCDeuteron),
candFlag, candSign, 0, -1, hypothesisMask, candidateGlobalIndex, 0, 0, -1.f, collision.numContrib(), cent,
collision.posZ(), collision.globalIndex(), timeStamp, deuteronProng.tpcNClsFound());
collision.posZ(), collision.globalIndex(), timeStamp, deuteronProng.tpcNClsFound(),
eta, phi,
deuteronProng.eta(), deuteronProng.phi());
}
};

Expand Down
Loading