Project
Loading...
Searching...
No Matches
o2::mid::MCClusterLabel Class Reference

#include <MCClusterLabel.h>

Inherits o2::MCCompLabel.

Public Member Functions

 MCClusterLabel ()=default
 
 MCClusterLabel (int trackID, int eventID, int srcID, bool isFiredBP, bool isFiredNBP)
 
void setIsFiredBP (bool isFired)
 Sets flag stating if the bending plane was fired.
 
bool isFiredBP () const
 Gets flag stating if the bending plane was fired.
 
void setIsFiredNBP (bool isFired)
 Sets flag stating if the non-bending plane was fired.
 
bool isFiredNBP () const
 Gets flag stating if the non-bending plane was fired.
 
 ClassDefNV (MCClusterLabel, 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 27 of file MCClusterLabel.h.

Constructor & Destructor Documentation

◆ MCClusterLabel() [1/2]

o2::mid::MCClusterLabel::MCClusterLabel ( )
default

◆ MCClusterLabel() [2/2]

o2::mid::MCClusterLabel::MCClusterLabel ( int  trackID,
int  eventID,
int  srcID,
bool  isFiredBP,
bool  isFiredNBP 
)

Constructor

Definition at line 24 of file MCClusterLabel.cxx.

Member Function Documentation

◆ ClassDefNV()

o2::mid::MCClusterLabel::ClassDefNV ( MCClusterLabel  ,
 
)

◆ isFiredBP()

bool o2::mid::MCClusterLabel::isFiredBP ( ) const
inline

Gets flag stating if the bending plane was fired.

Definition at line 39 of file MCClusterLabel.h.

◆ isFiredNBP()

bool o2::mid::MCClusterLabel::isFiredNBP ( ) const
inline

Gets flag stating if the non-bending plane was fired.

Definition at line 44 of file MCClusterLabel.h.

◆ setIsFiredBP()

void o2::mid::MCClusterLabel::setIsFiredBP ( bool  isFired)
inline

Sets flag stating if the bending plane was fired.

Definition at line 37 of file MCClusterLabel.h.

◆ setIsFiredNBP()

void o2::mid::MCClusterLabel::setIsFiredNBP ( bool  isFired)
inline

Sets flag stating if the non-bending plane was fired.

Definition at line 42 of file MCClusterLabel.h.


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