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

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 &)
 

Detailed Description

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.

Member Function Documentation

◆ asString()

std::string o2::mch::calibration::PedestalChannel::asString ( ) const

Definition at line 30 of file PedestalChannel.cxx.

◆ getRms()

double o2::mch::calibration::PedestalChannel::getRms ( ) const

return the RMS of the pedestal

Definition at line 20 of file PedestalChannel.cxx.

◆ isValid()

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.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const PedestalChannel c 
)
friend

Definition at line 36 of file PedestalChannel.cxx.

Member Data Documentation

◆ dsChannelId

DsChannelId o2::mch::calibration::PedestalChannel::dsChannelId

identifier of the channel

Definition at line 30 of file PedestalChannel.h.

◆ mEntries

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.

◆ mPedestal

double o2::mch::calibration::PedestalChannel::mPedestal {0}

mean

Definition at line 28 of file PedestalChannel.h.

◆ mVariance

double o2::mch::calibration::PedestalChannel::mVariance {0}

variance

Definition at line 29 of file PedestalChannel.h.


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