Skip to content

Commit 59afd46

Browse files
gmantzarGeorgios Mantzaridis
andauthored
[PWGCF] FemtoDream: Implementing Cascades (#9385)
Co-authored-by: Georgios Mantzaridis <georgios@Georgioss-MacBook-Pro-3.local>
1 parent 9eae600 commit 59afd46

14 files changed

+2080
-61
lines changed

PWGCF/DataModel/FemtoDerived.h

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,12 @@ namespace femtodreamparticle
9090
{
9191
/// Distinuishes the different particle types
9292
enum ParticleType {
93-
kTrack, //! Track
94-
kV0, //! V0
95-
kV0Child, //! Child track of a V0
96-
kCascade, //! Cascade
93+
kTrack, //! Track
94+
kV0, //! V0
95+
kV0Child, //! Child track of a V0
96+
kCascade, //! Cascade
97+
kCascadeV0,
98+
kCascadeV0Child,
9799
kCascadeBachelor, //! Bachelor track of a cascade
98100
kCharmHadron, //! Bachelor track of a cascade
99101
kNParticleTypes //! Number of particle types
@@ -105,19 +107,20 @@ enum MomentumType {
105107
kPtpc //! momentum at the inner wall of the TPC (useful for PID plots)
106108
};
107109

108-
static constexpr std::string_view ParticleTypeName[kNParticleTypes] = {"Tracks", "V0", "V0Child", "Cascade", "CascadeBachelor", "CharmHadron"}; //! Naming of the different particle types
109-
static constexpr std::string_view TempFitVarName[kNParticleTypes] = {"/hDCAxy", "/hCPA", "/hDCAxy", "/hCPA", "/hDCAxy", "/hCPA"};
110+
static constexpr std::string_view ParticleTypeName[kNParticleTypes] = {"Tracks", "V0", "V0Child", "Cascade", "CascadeV0", "CascadeV0Child", "CascadeBachelor", "CharmHadron"}; //! Naming of the different particle types
111+
static constexpr std::string_view TempFitVarName[kNParticleTypes] = {"/hDCAxy", "/hCPA", "/hDCAxy", "/hCPA", "/hCPA", "/hDCAxy", "/hDCAxy", "/hCPA"};
110112

111113
using cutContainerType = uint32_t; //! Definition of the data type for the bit-wise container for the different selection criteria
112114

113115
enum TrackType {
114-
kNoChild, //! Not a V0 child
116+
kNoChild, //! Not any child
115117
kPosChild, //! Positive V0 child
116118
kNegChild, //! Negative V0 child
119+
kBachelor, //! Bachelor Cascade child
117120
kNTrackTypes //! Number of child types
118121
};
119122

120-
static constexpr std::string_view TrackTypeName[kNTrackTypes] = {"Trk", "Pos", "Neg"}; //! Naming of the different particle types
123+
static constexpr std::string_view TrackTypeName[kNTrackTypes] = {"Trk", "Pos", "Neg", "Bach"}; //! Naming of the different particle types
121124

122125
DECLARE_SOA_INDEX_COLUMN(FDCollision, fdCollision);
123126
DECLARE_SOA_COLUMN(Pt, pt, float); //! p_T (GeV/c)

0 commit comments

Comments
 (0)