Project
Loading...
Searching...
No Matches
o2::fdd::MCLabel Class Reference

#include <MCLabel.h>

Inherits o2::MCCompLabel.

Public Member Functions

 MCLabel ()=default
 
 MCLabel (Int_t trackID, Int_t eventID, Int_t srcID, Int_t chID)
 
Int_t getDetID () const
 
 ClassDefNV (MCLabel, 1)
 
- Public Member Functions inherited from o2::MCCompLabel
 MCCompLabel (int trackID, int evID, int srcID, bool fake=false)
 
 MCCompLabel (bool noise=false)
 
 ~MCCompLabel ()=default
 
bool isSet () const
 
bool isEmpty () const
 
bool isQED () const
 
bool isNoise () const
 
bool isValid () const
 
bool isFake () const
 
bool isCorrect () const
 
int compare (const MCCompLabel &other) const
 
uint64_t getRawValue () const
 
bool operator== (const MCCompLabel &other) const
 
bool operator!= (const MCCompLabel &other) const
 
bool operator< (const MCCompLabel &other) const
 
bool operator> (const MCCompLabel &other) const
 
void unset ()
 
void setNoise ()
 
void setFakeFlag (bool v=true)
 
void set (unsigned int trackID, int evID, int srcID, bool fake)
 
int getTrackID () const
 
int getTrackIDSigned () const
 
int getEventID () const
 
int getSourceID () const
 
uint64_t getTrackEventSourceID () const
 
void get (int &trackID, int &evID, int &srcID, bool &fake) const
 
void print () const
 
std::string asString () const
 
 ClassDefNV (MCCompLabel, 1)
 

Additional Inherited Members

- Static Public Member Functions inherited from o2::MCCompLabel
static constexpr int maxSourceID ()
 
static constexpr int maxEventID ()
 
static constexpr int maxTrackID ()
 
- Static Public Attributes inherited from o2::MCCompLabel
static constexpr int nbitsTrackID = 31
 
static constexpr int nbitsEvID = 19
 
static constexpr int nbitsSrcID = 8
 
static constexpr uint64_t maskTrackID = (ul0x1 << nbitsTrackID) - 1
 
static constexpr uint64_t maskEvID = (ul0x1 << nbitsEvID) - 1
 
static constexpr uint64_t maskSrcID = (ul0x1 << nbitsSrcID) - 1
 
static constexpr uint64_t maskFull = (ul0x1 << (nbitsTrackID + nbitsEvID + nbitsSrcID)) - 1
 

Detailed Description

Definition at line 23 of file MCLabel.h.

Constructor & Destructor Documentation

◆ MCLabel() [1/2]

o2::fdd::MCLabel::MCLabel ( )
default

◆ MCLabel() [2/2]

o2::fdd::MCLabel::MCLabel ( Int_t  trackID,
Int_t  eventID,
Int_t  srcID,
Int_t  chID 
)
inline

Definition at line 30 of file MCLabel.h.

Member Function Documentation

◆ ClassDefNV()

o2::fdd::MCLabel::ClassDefNV ( MCLabel  ,
 
)

◆ getDetID()

Int_t o2::fdd::MCLabel::getDetID ( ) const
inline

Definition at line 33 of file MCLabel.h.


The documentation for this class was generated from the following file: