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

#include <Digit.h>

Inherits o2::itsmft::Digit.

Public Member Functions

 Digit ()=default
 
 ~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.
 

Detailed Description

Definition at line 26 of file Digit.h.

Constructor & Destructor Documentation

◆ Digit() [1/2]

o2::iotof::Digit::Digit ( )
default

◆ ~Digit()

o2::iotof::Digit::~Digit ( )
default

◆ Digit() [2/2]

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

Definition at line 31 of file Digit.h.

Member Function Documentation

◆ getTime()

double o2::iotof::Digit::getTime ( ) const
inline

Definition at line 38 of file Digit.h.

◆ setTime()

void o2::iotof::Digit::setTime ( double  time)
inline

Definition at line 35 of file Digit.h.


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