56 bool setGains(
const std::vector<float>& gains,
float error = 0);
Calibration constants of a single ASIC window: gains.
TOPASICGains(unsigned short asicWindow)
Constructor with ASIC window.
unsigned short m_gains[c_WindowSize]
gains (in fixed point format)
ClassDef(TOPASICGains, 1)
ClassDef.
float getValue(unsigned i) const
Return relative gain for i-th sample.
unsigned getSize() const
Return window size (number of pedestal samples)
unsigned getASICWindow() const
Return ASIC window number.
unsigned short m_asicWindow
ASIC window number.
@ c_Unit
unit of fixed point number
@ c_WindowSize
number of samples
unsigned short m_gainError
gain error (fixed point format)
unsigned short m_unit
unit of fixed point number
float getError() const
Return gain uncertainly.
TOPASICGains()
Default constructor.
bool setGains(const std::vector< float > &gains, float error=0)
Set gains.
Abstract base class for different kinds of events.