![]() |
Project
|
Pedestal mean and sigma for one channel. More...
#include <PedestalChannel.h>
Public Member Functions | |
double | getRms () const |
bool | isValid () const |
true if the channel is associated to a detector pad | |
std::string | asString () const |
Public Attributes | |
int | mEntries {0} |
number of entries used so far for the mean and variance | |
double | mPedestal {0} |
mean | |
double | mVariance {0} |
variance | |
DsChannelId | dsChannelId |
identifier of the channel | |
Friends | |
std::ostream & | operator<< (std::ostream &, const PedestalChannel &) |
Pedestal mean and sigma for one channel.
A PedestalChannel stores the mean and sigma of the pedestal of one MCH channel, as well as the number of entries (digits) used to compute those values.
Definition at line 26 of file PedestalChannel.h.
std::string o2::mch::calibration::PedestalChannel::asString | ( | ) | const |
Definition at line 30 of file PedestalChannel.cxx.
double o2::mch::calibration::PedestalChannel::getRms | ( | ) | const |
return the RMS of the pedestal
Definition at line 20 of file PedestalChannel.cxx.
bool o2::mch::calibration::PedestalChannel::isValid | ( | ) | const |
true if the channel is associated to a detector pad
Definition at line 25 of file PedestalChannel.cxx.
|
friend |
Definition at line 36 of file PedestalChannel.cxx.
DsChannelId o2::mch::calibration::PedestalChannel::dsChannelId |
identifier of the channel
Definition at line 30 of file PedestalChannel.h.
int o2::mch::calibration::PedestalChannel::mEntries {0} |
number of entries used so far for the mean and variance
Definition at line 27 of file PedestalChannel.h.
double o2::mch::calibration::PedestalChannel::mPedestal {0} |
mean
Definition at line 28 of file PedestalChannel.h.
double o2::mch::calibration::PedestalChannel::mVariance {0} |
variance
Definition at line 29 of file PedestalChannel.h.