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

#include <Digit.h>

Public Member Functions

 Digit ()=default
 
 ~Digit ()=default
 
 Digit (int det, int row, int pad, ArrayADC adc, int phase=0)
 
 Digit (int det, int row, int pad)
 
 Digit (int det, int rob, int mcm, int channel, ArrayADC adc, int phase=0)
 
 Digit (int det, int rob, int mcm, int channel)
 
 Digit (const Digit &)=default
 
Digitoperator= (const Digit &)=default
 
void setROB (int rob)
 
void setMCM (int mcm)
 
void setROB (int row, int col)
 
void setMCM (int row, int col)
 
void setChannel (int channel)
 
void setDetector (int det)
 
void setADC (ArrayADC const &adc)
 
void setADC (const gsl::span< ADC_t > &adc)
 
void setPreTrigPhase (int phase)
 
int getDetector () const
 
int getHCId () const
 
int getPadRow () const
 
int getPadCol () const
 
int getROB () const
 
int getMCM () const
 
int getMCMCol () const
 
int getChannel () const
 
int getPreTrigPhase () const
 
bool isSharedDigit () const
 
bool isNeighbour (const Digit &other) const
 
ArrayADC const & getADC () const
 
ADC_t getADCsum () const
 
ADC_t getADCmax (int &idx) const
 
ADC_t getADCval (int tb) const
 
bool operator== (const Digit &o) const
 

Detailed Description

Definition at line 54 of file Digit.h.

Constructor & Destructor Documentation

◆ Digit() [1/6]

o2::trd::Digit::Digit ( )
default

◆ ~Digit()

o2::trd::Digit::~Digit ( )
default

◆ Digit() [2/6]

o2::trd::Digit::Digit ( int  det,
int  row,
int  pad,
ArrayADC  adc,
int  phase = 0 
)

Definition at line 21 of file Digit.cxx.

◆ Digit() [3/6]

o2::trd::Digit::Digit ( int  det,
int  row,
int  pad 
)

Definition at line 31 of file Digit.cxx.

◆ Digit() [4/6]

o2::trd::Digit::Digit ( int  det,
int  rob,
int  mcm,
int  channel,
ArrayADC  adc,
int  phase = 0 
)

Definition at line 39 of file Digit.cxx.

◆ Digit() [5/6]

o2::trd::Digit::Digit ( int  det,
int  rob,
int  mcm,
int  channel 
)

Definition at line 49 of file Digit.cxx.

◆ Digit() [6/6]

o2::trd::Digit::Digit ( const Digit )
default

Member Function Documentation

◆ getADC()

ArrayADC const & o2::trd::Digit::getADC ( ) const
inline

Definition at line 91 of file Digit.h.

◆ getADCmax()

ADC_t o2::trd::Digit::getADCmax ( int idx) const

Definition at line 71 of file Digit.cxx.

◆ getADCsum()

ADC_t o2::trd::Digit::getADCsum ( ) const
inline

Definition at line 92 of file Digit.h.

◆ getADCval()

ADC_t o2::trd::Digit::getADCval ( int  tb) const
inline

Definition at line 95 of file Digit.h.

◆ getChannel()

int o2::trd::Digit::getChannel ( ) const
inline

Definition at line 86 of file Digit.h.

◆ getDetector()

int o2::trd::Digit::getDetector ( ) const
inline

Definition at line 79 of file Digit.h.

◆ getHCId()

int o2::trd::Digit::getHCId ( ) const
inline

Definition at line 80 of file Digit.h.

◆ getMCM()

int o2::trd::Digit::getMCM ( ) const
inline

Definition at line 84 of file Digit.h.

◆ getMCMCol()

int o2::trd::Digit::getMCMCol ( ) const
inline

Definition at line 85 of file Digit.h.

◆ getPadCol()

int o2::trd::Digit::getPadCol ( ) const
inline

Definition at line 82 of file Digit.h.

◆ getPadRow()

int o2::trd::Digit::getPadRow ( ) const
inline

Definition at line 81 of file Digit.h.

◆ getPreTrigPhase()

int o2::trd::Digit::getPreTrigPhase ( ) const
inline

Definition at line 87 of file Digit.h.

◆ getROB()

int o2::trd::Digit::getROB ( ) const
inline

Definition at line 83 of file Digit.h.

◆ isNeighbour()

bool o2::trd::Digit::isNeighbour ( const Digit other) const

Definition at line 66 of file Digit.cxx.

◆ isSharedDigit()

bool o2::trd::Digit::isSharedDigit ( ) const

Definition at line 57 of file Digit.cxx.

◆ operator=()

Digit & o2::trd::Digit::operator= ( const Digit )
default

◆ operator==()

bool o2::trd::Digit::operator== ( const Digit o) const
inline

Definition at line 97 of file Digit.h.

◆ setADC() [1/2]

void o2::trd::Digit::setADC ( ArrayADC const &  adc)
inline

Definition at line 75 of file Digit.h.

◆ setADC() [2/2]

void o2::trd::Digit::setADC ( const gsl::span< ADC_t > &  adc)
inline

Definition at line 76 of file Digit.h.

◆ setChannel()

void o2::trd::Digit::setChannel ( int  channel)
inline

Definition at line 73 of file Digit.h.

◆ setDetector()

void o2::trd::Digit::setDetector ( int  det)
inline

Definition at line 74 of file Digit.h.

◆ setMCM() [1/2]

void o2::trd::Digit::setMCM ( int  mcm)
inline

Definition at line 70 of file Digit.h.

◆ setMCM() [2/2]

void o2::trd::Digit::setMCM ( int  row,
int  col 
)
inline

Definition at line 72 of file Digit.h.

◆ setPreTrigPhase()

void o2::trd::Digit::setPreTrigPhase ( int  phase)
inline

Definition at line 77 of file Digit.h.

◆ setROB() [1/2]

void o2::trd::Digit::setROB ( int  rob)
inline

Definition at line 69 of file Digit.h.

◆ setROB() [2/2]

void o2::trd::Digit::setROB ( int  row,
int  col 
)
inline

Definition at line 71 of file Digit.h.


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