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

Compute and store the mean and RMS of the pedestal digit amplitudes. More...

#include <PedestalData.h>

Public Types

using iterator = impl::PedestalDataIterator< PedestalChannel >
 
using const_iterator = impl::PedestalDataIterator< const PedestalChannel >
 
using PedestalMatrix = std::array< std::array< PedestalChannel, MAXCHANNEL >, MAXDS >
 
using PedestalsMap = std::unordered_map< int, PedestalMatrix >
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator cbegin () const
 
const_iterator cend () const
 
 PedestalData ()
 
 ~PedestalData ()=default
 
void reset ()
 
void fill (const gsl::span< const PedestalDigit > digits)
 
void merge (const PedestalData *other)
 
void print () const
 
uint32_t size () const
 

Public Attributes

friend iterator
 
friend const_iterator
 

Static Public Attributes

static constexpr int MAXDS = 40
 
static constexpr int MAXCHANNEL = 64
 

Detailed Description

Compute and store the mean and RMS of the pedestal digit amplitudes.

To extract the values from PedestalData, use the provided iterator(s).

Definition at line 47 of file PedestalData.h.

Member Typedef Documentation

◆ const_iterator

◆ iterator

◆ PedestalMatrix

◆ PedestalsMap

Constructor & Destructor Documentation

◆ PedestalData()

o2::mch::calibration::PedestalData::PedestalData ( )

◆ ~PedestalData()

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

Member Function Documentation

◆ begin()

◆ cbegin()

◆ cend()

◆ end()

◆ fill()

void o2::mch::calibration::PedestalData::fill ( const gsl::span< const PedestalDigit digits)

function to update the pedestal values from the data

Parameters
digitsa span of pedestal digits for a single TimeFrame
Examples
/home/runner/work/AliceO2/AliceO2/Detectors/MUON/MCH/Calibration/include/MCHCalibration/PedestalData.h.

Definition at line 69 of file PedestalData.cxx.

◆ merge()

void o2::mch::calibration::PedestalData::merge ( const PedestalData other)

merge this object with other FIXME: not yet implemented.

Examples
/home/runner/work/AliceO2/AliceO2/Detectors/MUON/MCH/Calibration/include/MCHCalibration/PedestalData.h.

Definition at line 114 of file PedestalData.cxx.

◆ print()

void o2::mch::calibration::PedestalData::print ( ) const

◆ reset()

void o2::mch::calibration::PedestalData::reset ( )

◆ size()

uint32_t o2::mch::calibration::PedestalData::size ( ) const

Member Data Documentation

◆ const_iterator

◆ iterator

◆ MAXCHANNEL

constexpr int o2::mch::calibration::PedestalData::MAXCHANNEL = 64
staticconstexpr

◆ MAXDS

constexpr int o2::mch::calibration::PedestalData::MAXDS = 40
staticconstexpr

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