Skip to content

Commit

Permalink
Added new flags to tracks.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielWielanek committed Oct 26, 2024
1 parent 7b9ce43 commit 0f5fd45
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion data/dataformat/Track.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ namespace Hal {
kGlobal = 3,
kMother = 4, // set if mother is known (and its secondary)
kV0Daughters = 5, // set if v0 and daughters are known
kXiDaughters = 6 // set if xi and daughters are known
kXiDaughters = 6, // set if xi and daughters are known
kBackground = 7, // set if background particle
kEmbedded = 8 // set if embedded particle
};
/**
* returns v0 value if vo is not null
Expand Down Expand Up @@ -228,6 +230,16 @@ namespace Hal {
* @return true if track is global
*/
inline Bool_t IsGlobal() const { return TESTBIT(fType, kGlobal); };
/**
*
* @return true if track is background track
*/
inline Bool_t IsBackground() const { return TESTBIT(fType, kBackground); }
/**
*
* @return true if track is embedded
*/
inline Bool_t IsEmbedded() const { return TESTBIT(fType, kEmbedded); }
/**
*
* @return pointer to standard hidden info
Expand Down

0 comments on commit 0f5fd45

Please sign in to comment.