Project
Loading...
Searching...
No Matches
o2::mch::calibration::PedestalDigit Class Reference

"Fat" digit for pedestal data. More...

#include <PedestalDigit.h>

Public Member Functions

 PedestalDigit ()=default
 
 PedestalDigit (int solarid, int ds, int ch, uint32_t trigTime, uint32_t time, std::vector< uint16_t > samples)
 
 ~PedestalDigit ()=default
 
uint32_t getTime () const
 
uint32_t getTriggerTime () const
 
uint16_t nofSamples () const
 
int16_t getSample (uint16_t s) const
 
int getSolarId () const
 
int getDsId () const
 
int getChannel () const
 

Detailed Description

"Fat" digit for pedestal data.

In contrast to a "regular" digit, a PedestalDigit stores ADC samples (up to MCH_PEDESTALS_MAX_SAMPLES samples)

Definition at line 35 of file PedestalDigit.h.

Constructor & Destructor Documentation

◆ PedestalDigit() [1/2]

o2::mch::calibration::PedestalDigit::PedestalDigit ( )
default

◆ PedestalDigit() [2/2]

o2::mch::calibration::PedestalDigit::PedestalDigit ( int  solarid,
int  ds,
int  ch,
uint32_t  trigTime,
uint32_t  time,
std::vector< uint16_t >  samples 
)

Definition at line 18 of file PedestalDigit.cxx.

◆ ~PedestalDigit()

o2::mch::calibration::PedestalDigit::~PedestalDigit ( )
default

Member Function Documentation

◆ getChannel()

int o2::mch::calibration::PedestalDigit::getChannel ( ) const
inline

Definition at line 51 of file PedestalDigit.h.

◆ getDsId()

int o2::mch::calibration::PedestalDigit::getDsId ( ) const
inline

Definition at line 50 of file PedestalDigit.h.

◆ getSample()

int16_t o2::mch::calibration::PedestalDigit::getSample ( uint16_t  s) const

Definition at line 31 of file PedestalDigit.cxx.

◆ getSolarId()

int o2::mch::calibration::PedestalDigit::getSolarId ( ) const
inline

Definition at line 49 of file PedestalDigit.h.

◆ getTime()

uint32_t o2::mch::calibration::PedestalDigit::getTime ( ) const
inline

Definition at line 43 of file PedestalDigit.h.

◆ getTriggerTime()

uint32_t o2::mch::calibration::PedestalDigit::getTriggerTime ( ) const
inline

Definition at line 44 of file PedestalDigit.h.

◆ nofSamples()

uint16_t o2::mch::calibration::PedestalDigit::nofSamples ( ) const
inline

Definition at line 46 of file PedestalDigit.h.


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