![]() |
Project
|
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 |
| void | setNThreads (int nThreads) |
Public Attributes | |
| friend | iterator |
| friend | const_iterator |
Static Public Attributes | |
| static constexpr int | MAXDS = 40 |
| static constexpr int | MAXCHANNEL = 64 |
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.
| using o2::mch::calibration::PedestalData::const_iterator = impl::PedestalDataIterator<const PedestalChannel> |
Definition at line 51 of file PedestalData.h.
Definition at line 50 of file PedestalData.h.
| using o2::mch::calibration::PedestalData::PedestalMatrix = std::array<std::array<PedestalChannel, MAXCHANNEL>, MAXDS> |
a matrix of 40 (dual sampas) x 64 (channels) PedestalChannel objects
Definition at line 70 of file PedestalData.h.
| using o2::mch::calibration::PedestalData::PedestalsMap = std::unordered_map<int, PedestalMatrix> |
a map from solarIds to PedestalMatrix
Definition at line 72 of file PedestalData.h.
| o2::mch::calibration::PedestalData::PedestalData | ( | ) |
Definition at line 29 of file PedestalData.cxx.
|
default |
| PedestalData::iterator o2::mch::calibration::PedestalData::begin | ( | ) |
Definition at line 197 of file PedestalData.cxx.
| PedestalData::const_iterator o2::mch::calibration::PedestalData::cbegin | ( | ) | const |
Definition at line 207 of file PedestalData.cxx.
| PedestalData::const_iterator o2::mch::calibration::PedestalData::cend | ( | ) | const |
Definition at line 211 of file PedestalData.cxx.
| PedestalData::iterator o2::mch::calibration::PedestalData::end | ( | ) |
Definition at line 202 of file PedestalData.cxx.
| void o2::mch::calibration::PedestalData::fill | ( | const gsl::span< const PedestalDigit > | digits | ) |
function to update the pedestal values from the data
| digits | a span of pedestal digits for a single TimeFrame |
Definition at line 72 of file PedestalData.cxx.
| void o2::mch::calibration::PedestalData::merge | ( | const PedestalData * | other | ) |
merge this object with other FIXME: not yet implemented.
Definition at line 179 of file PedestalData.cxx.
| void o2::mch::calibration::PedestalData::print | ( | ) | const |
dump this object.
Definition at line 185 of file PedestalData.cxx.
| void o2::mch::calibration::PedestalData::reset | ( | ) |
Definition at line 35 of file PedestalData.cxx.
Definition at line 89 of file PedestalData.h.
| uint32_t o2::mch::calibration::PedestalData::size | ( | ) | const |
Definition at line 192 of file PedestalData.cxx.
Definition at line 54 of file PedestalData.h.
Definition at line 53 of file PedestalData.h.
|
staticconstexpr |
Definition at line 67 of file PedestalData.h.
|
staticconstexpr |
Definition at line 66 of file PedestalData.h.