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

#include <Digit.h>

Public Member Functions

 Digit (UShort_t chipindex=0, UShort_t row=0, UShort_t col=0, Int_t charge=0)
 
 ~Digit ()=default
 
UShort_t getChipIndex () const
 
UShort_t getColumn () const
 
UShort_t getRow () const
 
Int_t getCharge () const
 
void setChipIndex (UShort_t index)
 
void setPixelIndex (UShort_t row, UShort_t col)
 
void setCharge (Int_t charge)
 
void addCharge (int charge)
 
std::ostream & print (std::ostream &output) const
 

Friends

std::ostream & operator<< (std::ostream &output, const Digit &digi)
 

Detailed Description

Definition at line 22 of file Digit.h.

Constructor & Destructor Documentation

◆ Digit()

Digit::Digit ( UShort_t  chipindex = 0,
UShort_t  row = 0,
UShort_t  col = 0,
Int_t  charge = 0 
)

Definition at line 19 of file Digit.cxx.

◆ ~Digit()

o2::trkft3::Digit::~Digit ( )
default

Member Function Documentation

◆ addCharge()

void o2::trkft3::Digit::addCharge ( int  charge)
inline

Definition at line 40 of file Digit.h.

◆ getCharge()

Int_t o2::trkft3::Digit::getCharge ( ) const
inline

Definition at line 31 of file Digit.h.

◆ getChipIndex()

UShort_t o2::trkft3::Digit::getChipIndex ( ) const
inline

Definition at line 28 of file Digit.h.

◆ getColumn()

UShort_t o2::trkft3::Digit::getColumn ( ) const
inline

Definition at line 29 of file Digit.h.

◆ getRow()

UShort_t o2::trkft3::Digit::getRow ( ) const
inline

Definition at line 30 of file Digit.h.

◆ print()

std::ostream & Digit::print ( std::ostream &  output) const

Definition at line 25 of file Digit.cxx.

◆ setCharge()

void o2::trkft3::Digit::setCharge ( Int_t  charge)
inline

Definition at line 39 of file Digit.h.

◆ setChipIndex()

void o2::trkft3::Digit::setChipIndex ( UShort_t  index)
inline

Definition at line 33 of file Digit.h.

◆ setPixelIndex()

void o2::trkft3::Digit::setPixelIndex ( UShort_t  row,
UShort_t  col 
)
inline

Definition at line 34 of file Digit.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  output,
const Digit digi 
)
friend

Definition at line 43 of file Digit.h.


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