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

#include <CompressedDigit.h>

Public Member Functions

 CompressedDigit ()=default
 
 ~CompressedDigit ()=default
 
 CompressedDigit (const int det, const int rob, const int mcm, const int channel, const std::array< uint16_t, constants::TIMEBINS > &adc)
 
 CompressedDigit (const int det, const int rob, const int mcm, const int channel)
 
 CompressedDigit (const CompressedDigit &)=default
 
CompressedDigitoperator= (const CompressedDigit &)=default
 
void setChannel (int channel)
 
void setMCM (int mcm)
 
void setROB (int rob)
 
void setDetector (int det)
 
void setADC (std::array< uint16_t, constants::TIMEBINS > const &adcs)
 
void setADCi (int index, uint16_t adcvalue)
 
int getChannel () const
 
int getMCM () const
 
int getROB () const
 
int getDetector () const
 
bool isSharedCompressedDigit () const
 
uint16_t operator[] (const int index)
 
uint32_t getADCsum () const
 

Detailed Description

Definition at line 31 of file CompressedDigit.h.

Constructor & Destructor Documentation

◆ CompressedDigit() [1/4]

o2::trd::CompressedDigit::CompressedDigit ( )
default

◆ ~CompressedDigit()

o2::trd::CompressedDigit::~CompressedDigit ( )
default

◆ CompressedDigit() [2/4]

o2::trd::CompressedDigit::CompressedDigit ( const int  det,
const int  rob,
const int  mcm,
const int  channel,
const std::array< uint16_t, constants::TIMEBINS > &  adc 
)

Definition at line 20 of file CompressedDigit.cxx.

◆ CompressedDigit() [3/4]

o2::trd::CompressedDigit::CompressedDigit ( const int  det,
const int  rob,
const int  mcm,
const int  channel 
)

Definition at line 29 of file CompressedDigit.cxx.

◆ CompressedDigit() [4/4]

o2::trd::CompressedDigit::CompressedDigit ( const CompressedDigit )
default

Member Function Documentation

◆ getADCsum()

uint32_t o2::trd::CompressedDigit::getADCsum ( ) const
inline

Definition at line 89 of file CompressedDigit.h.

◆ getChannel()

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

Definition at line 82 of file CompressedDigit.h.

◆ getDetector()

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

Definition at line 85 of file CompressedDigit.h.

◆ getMCM()

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

Definition at line 83 of file CompressedDigit.h.

◆ getROB()

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

Definition at line 84 of file CompressedDigit.h.

◆ isSharedCompressedDigit()

bool o2::trd::CompressedDigit::isSharedCompressedDigit ( ) const

Definition at line 37 of file CompressedDigit.cxx.

◆ operator=()

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

◆ operator[]()

uint16_t o2::trd::CompressedDigit::operator[] ( const int  index)
inline

Definition at line 88 of file CompressedDigit.h.

◆ setADC()

void o2::trd::CompressedDigit::setADC ( std::array< uint16_t, constants::TIMEBINS > const &  adcs)
inline

Definition at line 64 of file CompressedDigit.h.

◆ setADCi()

void o2::trd::CompressedDigit::setADCi ( int  index,
uint16_t  adcvalue 
)
inline

Definition at line 75 of file CompressedDigit.h.

◆ setChannel()

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

Definition at line 44 of file CompressedDigit.h.

◆ setDetector()

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

Definition at line 59 of file CompressedDigit.h.

◆ setMCM()

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

Definition at line 49 of file CompressedDigit.h.

◆ setROB()

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

Definition at line 54 of file CompressedDigit.h.


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