Project
Loading...
Searching...
No Matches
o2::iotof::LabeledDigit Class Reference

#include <Digit.h>

Inherits o2::iotof::Digit.

Public Member Functions

 LabeledDigit (UShort_t chipindex=0, UShort_t row=0, UShort_t col=0, Int_t charge=0, double time=0., o2::MCCompLabel label=0)
 
void setLabel (McLabelRef label)
 
McLabelRef getLabel () const
 
- Public Member Functions inherited from o2::iotof::Digit
 ~Digit ()=default
 
 Digit (UShort_t chipindex=0, UShort_t row=0, UShort_t col=0, Int_t charge=0, double time=0.)
 
void setTime (double time)
 
double getTime () const
 
- Public Member Functions inherited from o2::itsmft::Digit
 Digit (UShort_t chipindex=0, UShort_t row=0, UShort_t col=0, Int_t charge=0)
 Constructor, initializing values for position, charge and readout frame.
 
 ~Digit ()=default
 Destructor.
 
UShort_t getChipIndex () const
 Get the index of the chip.
 
UShort_t getColumn () const
 Get the column of the pixel within the chip.
 
UShort_t getRow () const
 Get the row of the pixel within the chip.
 
Int_t getCharge () const
 Get the accumulated charged of the digit.
 
void setChipIndex (UShort_t index)
 Set the index of the chip.
 
void setPixelIndex (UShort_t row, UShort_t col)
 Set the index of the pixel within the chip.
 
void setCharge (Int_t charge)
 Set the charge of the digit.
 
void addCharge (int charge)
 Add charge to the digit, registering the label if provided.
 
std::ostream & print (std::ostream &output) const
 Print function: Print basic digit information on the output stream.
 

Additional Inherited Members

- Static Public Member Functions inherited from o2::iotof::Digit
static UInt_t getOrderingKey (UShort_t chipindex, UShort_t row, UShort_t col)
 

Detailed Description

Definition at line 59 of file Digit.h.

Constructor & Destructor Documentation

◆ LabeledDigit()

o2::iotof::LabeledDigit::LabeledDigit ( UShort_t  chipindex = 0,
UShort_t  row = 0,
UShort_t  col = 0,
Int_t  charge = 0,
double  time = 0.,
o2::MCCompLabel  label = 0 
)
inline

Definition at line 62 of file Digit.h.

Member Function Documentation

◆ getLabel()

McLabelRef o2::iotof::LabeledDigit::getLabel ( ) const
inline

Definition at line 67 of file Digit.h.

◆ setLabel()

void o2::iotof::LabeledDigit::setLabel ( McLabelRef  label)
inline

Definition at line 66 of file Digit.h.


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