Go to the documentation of this file.
10 #ifndef HERD_CALOPDCHANNELINFO_H_
11 #define HERD_CALOPDCHANNELINFO_H_
void SetHighGainNoise(unsigned int volID, float HGnoise)
Set high gain noise (i.e. pedestal distribution RMS).
Definition: CaloPDChannelInfo.h:272
void SetSiLpdMipValue(unsigned int volID, float MIPvalue)
Set MIP value in Si for LPD.
Definition: CaloPDChannelInfo.h:240
const std::vector< float > & Pedestals() const
Return a vector with the pedestal means [ADC].
Definition: CaloPDChannelInfo.h:218
float SiLpdMIPvalue(unsigned int volID) const
Return the MIP value in Si for LPD [ADC].
Definition: CaloPDChannelInfo.h:86
Data structure for the Calo PD readout information.
Definition: CaloPDChannelInfo.h:35
const std::vector< float > & SiSpdMipVar() const
Return a vector with the MIP RMS in Si for SPD [ADC].
Definition: CaloPDChannelInfo.h:140
const std::vector< float > & HighGainNoises() const
Return a vector with the high gain noises [ADC].
Definition: CaloPDChannelInfo.h:153
float SiLpdMipVar(unsigned int volID) const
Return the MIP RMS in Si for LPD [ADC].
Definition: CaloPDChannelInfo.h:100
std::vector< float > _SiLpdMIPvalues
MIP values in Si LPD for each crystal.
Definition: CaloPDChannelInfo.h:326
float Pedestal(unsigned int volID) const
Return the pedestal mean [ADC].
Definition: CaloPDChannelInfo.h:212
const std::vector< float > & GainRatios() const
Return a vector with the gain ratios.
Definition: CaloPDChannelInfo.h:179
std::vector< float > _LGnoises
RMS of the pedestal when the electronics is in low gain, for each crystal.
Definition: CaloPDChannelInfo.h:321
void SetMaximumHighGainSignal(unsigned int volID, float maxHGADCvalues)
Set saturation level for high gain.
Definition: CaloPDChannelInfo.h:296
unsigned int NChannels() const
Return the number of channels.
Definition: CaloPDChannelInfo.h:224
float SiSpdMipVar(unsigned int volID) const
Return the MIP RMS in Si for SPD [ADC].
Definition: CaloPDChannelInfo.h:107
std::vector< float > _SiLpdMIPvar
RMS of MIP values in Si LPD for each crystal.
Definition: CaloPDChannelInfo.h:328
const std::vector< float > & SiLpdMopVar() const
Return a vector with the MIP RMS in Si for LPD [ADC].
Definition: CaloPDChannelInfo.h:134
float SiSpdMIPvalue(unsigned int volID) const
Return the MIP value in Si for SPD [ADC].
Definition: CaloPDChannelInfo.h:93
void SetSiSPDMIPvar(unsigned int volID, float MIPvar)
Set MIP RMS in Si for SPD.
Definition: CaloPDChannelInfo.h:264
void SetSiSpdMipValue(unsigned int volID, float MIPvalue)
Set MIP value in Si for SPD.
Definition: CaloPDChannelInfo.h:248
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:22
const std::vector< float > & MaximumLowGainSignals() const
Return a vector with the maximum signals obtained with low gain [ADC].
Definition: CaloPDChannelInfo.h:205
CaloPDChannelInfo(unsigned int nChannels)
Constructor.
Definition: CaloPDChannelInfo.h:48
float MIPvalue(unsigned int volID) const
Return the MIP value [ADC].
Definition: CaloPDChannelInfo.h:79
void SetGainRatio(unsigned int volID, float gainRatio)
Set gain ratio.
Definition: CaloPDChannelInfo.h:288
const std::vector< float > & MIPvalues() const
Return a vector with the MIP values [ADC].
Definition: CaloPDChannelInfo.h:116
void SetPedestal(unsigned int volID, float pedestal)
Set pedestal mean.
Definition: CaloPDChannelInfo.h:316
const std::vector< float > & SiLpdMIPvalues() const
Return a vector with the MIP values in Si for LPD [ADC].
Definition: CaloPDChannelInfo.h:122
const std::vector< float > & MaximumHighGainSignals() const
Return a vector with the maximum signals obtained with high gain [ADC].
Definition: CaloPDChannelInfo.h:192
void SetMaximumLowGainSignal(unsigned int volID, float maxLGADCvalues)
Set saturation level for low gain gain.
Definition: CaloPDChannelInfo.h:306
const std::vector< float > & LowGainNoises() const
Return a vector with the low gain noises [ADC].
Definition: CaloPDChannelInfo.h:166
std::vector< float > _maxHGADCvalues
ADC value of the saturation for Low gain.
Definition: CaloPDChannelInfo.h:323
float MaximumLowGainSignal(unsigned int volID) const
Return the maximum signal obtained with low gain [ADC].
Definition: CaloPDChannelInfo.h:199
std::vector< float > _gainRatios
Ration between Low gain and low gain.
Definition: CaloPDChannelInfo.h:322
virtual ~CaloPDChannelInfo()=default
Virtual destructor
const std::vector< float > & SiSpdMIPvalues() const
Return a vector with the MIP values in Si for SPD [ADC].
Definition: CaloPDChannelInfo.h:128
std::vector< float > _MIPvalues
MIP values for each crystal in ADC as read by the LPD.
Definition: CaloPDChannelInfo.h:316
void SetLowGainNoise(unsigned int volID, float LGnoise)
Set low gain noise (i.e. pedestal distribution RMS).
Definition: CaloPDChannelInfo.h:280
float HighGainNoise(unsigned int volID) const
Return the high gain noise [ADC].
Definition: CaloPDChannelInfo.h:147
float LowGainNoise(unsigned int volID) const
Return the low gain noise [ADC].
Definition: CaloPDChannelInfo.h:160
std::vector< float > _HGnoises
RMS of the pedestal when the electronics is in Low gain, for each crystal.
Definition: CaloPDChannelInfo.h:320
void SetNChannels(size_t nChannels)
Setup the total number of channels.
Definition: CaloPDChannelInfo.h:57
CaloPDChannelInfo()
Default constructor with the number of channels = 0.
Definition: CaloPDChannelInfo.h:41
float GainRatio(unsigned int volID) const
Return the gain ratio.
Definition: CaloPDChannelInfo.h:173
void SetMIPvalue(unsigned int volID, float MIPvalue)
Set MIP value.
Definition: CaloPDChannelInfo.h:232
void SetSiLPDMIPvar(unsigned int volID, float MIPvar)
Set MIP RMS in Si for LPD.
Definition: CaloPDChannelInfo.h:256
std::vector< float > _pedestals
ADC value of the pedestal, the pedesLal is the same in LG and HG.
Definition: CaloPDChannelInfo.h:325
std::vector< float > _SiSpdMIPvar
RMS of MIP values in Si SPD for each crystal.
Definition: CaloPDChannelInfo.h:329
std::vector< float > _maxLGADCvalues
ADC value of the saLuration for Low gain, i.e. the saturation of teh chip.
Definition: CaloPDChannelInfo.h:324
std::vector< float > _SiSpdMIPvalues
MIP values in Si SPD for each crystal.
Definition: CaloPDChannelInfo.h:327
float MaximumHighGainSignal(unsigned int volID) const
Return the maximum signal obtained with high gain [ADC].
Definition: CaloPDChannelInfo.h:186