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

MCH digit implementation. More...

#include <Digit.h>

Public Member Functions

 Digit ()=default
 
 Digit (int detid, int pad, uint32_t adc, int32_t time, uint16_t nSamples=1, bool saturated=false)
 
 ~Digit ()=default
 
bool operator== (const Digit &) const
 
bool operator!= (const Digit &other) const
 
bool operator< (const Digit &) const
 
void setTime (int32_t t)
 
int32_t getTime () const
 
void setNofSamples (uint16_t n)
 
uint16_t getNofSamples () const
 
void setSaturated (bool sat)
 
bool isSaturated () const
 
int getDetID () const
 
int getPadID () const
 
void setPadID (int padID)
 
uint32_t getADC () const
 
void setADC (uint32_t adc)
 

Detailed Description

MCH digit implementation.

Definition at line 30 of file Digit.h.

Constructor & Destructor Documentation

◆ Digit() [1/2]

o2::mch::Digit::Digit ( )
default

◆ Digit() [2/2]

o2::mch::Digit::Digit ( int  detid,
int  pad,
uint32_t  adc,
int32_t  time,
uint16_t  nSamples = 1,
bool  saturated = false 
)

Definition at line 33 of file Digit.cxx.

◆ ~Digit()

o2::mch::Digit::~Digit ( )
default

Member Function Documentation

◆ getADC()

uint32_t o2::mch::Digit::getADC ( ) const
inline

Definition at line 57 of file Digit.h.

◆ getDetID()

int o2::mch::Digit::getDetID ( ) const
inline

Definition at line 52 of file Digit.h.

◆ getNofSamples()

uint16_t o2::mch::Digit::getNofSamples ( ) const

Definition at line 39 of file Digit.cxx.

◆ getPadID()

int o2::mch::Digit::getPadID ( ) const
inline

Definition at line 54 of file Digit.h.

◆ getTime()

int32_t o2::mch::Digit::getTime ( ) const
inline

Definition at line 44 of file Digit.h.

◆ isSaturated()

bool o2::mch::Digit::isSaturated ( ) const

Definition at line 44 of file Digit.cxx.

◆ operator!=()

bool o2::mch::Digit::operator!= ( const Digit other) const
inline

Definition at line 39 of file Digit.h.

◆ operator<()

bool o2::mch::Digit::operator< ( const Digit other) const

Definition at line 73 of file Digit.cxx.

◆ operator==()

bool o2::mch::Digit::operator== ( const Digit other) const

Definition at line 63 of file Digit.cxx.

◆ setADC()

void o2::mch::Digit::setADC ( uint32_t  adc)
inline

Definition at line 58 of file Digit.h.

◆ setNofSamples()

void o2::mch::Digit::setNofSamples ( uint16_t  n)

Definition at line 49 of file Digit.cxx.

◆ setPadID()

void o2::mch::Digit::setPadID ( int  padID)
inline

Definition at line 55 of file Digit.h.

◆ setSaturated()

void o2::mch::Digit::setSaturated ( bool  sat)

Definition at line 58 of file Digit.cxx.

◆ setTime()

void o2::mch::Digit::setTime ( int32_t  t)
inline

Definition at line 43 of file Digit.h.


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