| HerdSoftware
    0.3.2
    | 
Data structure for the Calo PD readout information. More...
#include <dataobjects/CaloPDChannelInfo.h>
| Public Member Functions | |
| CaloPDChannelInfo () | |
| Default constructor with the number of channels = 0.  More... | |
| CaloPDChannelInfo (unsigned int nChannels) | |
| Constructor.  More... | |
| virtual | ~CaloPDChannelInfo ()=default | 
| Virtual destructor.  More... | |
| void | SetNChannels (size_t nChannels) | 
| Setup the total number of channels.  More... | |
| const float & | MIPvalue (unsigned int volID) const | 
| Return the MIP value [ADC].  More... | |
| const std::vector< float > & | MIPvalues () const | 
| Return a vector with the MIP values [ADC].  More... | |
| const float & | HighGainNoise (unsigned int volID) const | 
| Return the high gain noise [ADC].  More... | |
| const std::vector< float > & | HighGainNoises () const | 
| Return a vector with the high gain noises [ADC].  More... | |
| const float & | LowGainNoise (unsigned int volID) const | 
| Return the low gain noise [ADC].  More... | |
| const std::vector< float > & | LowGainNoises () const | 
| Return a vector with the low gain noises [ADC].  More... | |
| const float & | GainRatio (unsigned int volID) const | 
| Return the gain ratio.  More... | |
| const std::vector< float > & | GainRatios () const | 
| Return a vector with the gain ratios.  More... | |
| const float & | MaximumHighGainSignal (unsigned int volID) const | 
| Return the maximum signal obtained with high gain [ADC].  More... | |
| const std::vector< float > & | MaximumHighGainSignals () const | 
| Return a vector with the maximum signals obtained with high gain [ADC].  More... | |
| const float & | MaximumLowGainSignal (unsigned int volID) const | 
| Return the maximum signal obtained with low gain [ADC].  More... | |
| const std::vector< float > & | MaximumLowGainSignals () const | 
| Return a vector with the maximum signals obtained with low gain [ADC].  More... | |
| const float & | Pedestal (unsigned int volID) const | 
| Return the pedestal mean [ADC].  More... | |
| const std::vector< float > & | Pedestals () const | 
| Return a vector with the pedestal means [ADC].  More... | |
| unsigned int | NChannels () const | 
| Return the number of channels.  More... | |
| void | SetMIPvalue (unsigned int volID, float MIPvalue) | 
| Set MIP value.  More... | |
| void | SetHighGainNoise (unsigned int volID, float HGnoise) | 
| Set high gain noise (i.e. pedestal distribution RMS).  More... | |
| void | SetLowGainNoise (unsigned int volID, float LGnoise) | 
| Set low gain noise (i.e. pedestal distribution RMS).  More... | |
| void | SetGainRatio (unsigned int volID, float gainRatio) | 
| Set gain ratio.  More... | |
| void | SetMaximumHighGainSignal (unsigned int volID, float maxHGADCvalues) | 
| Set saturation level for high gain.  More... | |
| void | SetMaximumLowGainSignal (unsigned int volID, float maxLGADCvalues) | 
| Set saturation level for low gain gain.  More... | |
| void | SetPedestal (unsigned int volID, float pedestal) | 
| Set pedestal mean.  More... | |
| Private Attributes | |
| std::vector< float > | _MIPvalues | 
| MIP values for each crystal.  More... | |
| std::vector< float > | _HGnoises | 
| RMS of the pedestal when the electronics is in Low gain, for each crystal.  More... | |
| std::vector< float > | _LGnoises | 
| RMS of the pedestal when the electronics is in low gain, for each crystal.  More... | |
| std::vector< float > | _gainRatios | 
| Ration between Low gain and low gain.  More... | |
| std::vector< float > | _maxHGADCvalues | 
| ADC value of the saturation for Low gain.  More... | |
| std::vector< float > | _maxLGADCvalues | 
| ADC value of the saLuration for Low gain, i.e. the saturation of teh chip.  More... | |
| std::vector< float > | _pedestals | 
| ADC value of the pedestal, the pedesLal is the same in LG and HG.  More... | |
Data structure for the Calo PD readout information.
It is based on several laboratory test performed in 2019/2020 using the HIDRA chips, version 2. Each PD is connected to a dedicated HIDRA channel. The ACQ system is based on the TROC2-1 boards. Brief HIDRA description (see the data-sheet): "The HIDRA-2 ASIC includes 16 frontend channels, based on a pulsed reset Charge Sensitive Amplifier (CSA) with automatic double-gain selection, followed by a Correlated Double Sampling (CDS) filter, and a self-trigger circuitry that provides a differential CMOS output for each pair of channels".
| 
 | inline | 
Default constructor with the number of channels = 0.
| 
 | inline | 
Constructor.
| nChannels | number of channels, i.e. number of PD. | 
| 
 | virtualdefault | 
Virtual destructor.
| 
 | inline | 
Return the gain ratio.
| volID | Volume identifier. | 
| 
 | inline | 
Return a vector with the gain ratios.
| 
 | inline | 
Return the high gain noise [ADC].
| volID | Volume identifier. | 
| 
 | inline | 
Return a vector with the high gain noises [ADC].
| 
 | inline | 
Return the low gain noise [ADC].
| volID | Volume identifier. | 
| 
 | inline | 
Return a vector with the low gain noises [ADC].
| 
 | inline | 
Return the maximum signal obtained with high gain [ADC].
| volID | Volume identifier. | 
| 
 | inline | 
Return a vector with the maximum signals obtained with high gain [ADC].
| 
 | inline | 
Return the maximum signal obtained with low gain [ADC].
| volID | Volume identifier. | 
| 
 | inline | 
Return a vector with the maximum signals obtained with low gain [ADC].
| 
 | inline | 
Return the MIP value [ADC].
| volID | Volume identifier. | 
| 
 | inline | 
Return a vector with the MIP values [ADC].
| 
 | inline | 
Return the number of channels.
| 
 | inline | 
Return the pedestal mean [ADC].
| volID | Volume identifier. | 
| 
 | inline | 
Return a vector with the pedestal means [ADC].
| 
 | inline | 
Set gain ratio.
| volID | Volume identifier. | 
| gainRatio | gain ratio. | 
| 
 | inline | 
Set high gain noise (i.e. pedestal distribution RMS).
| volID | Volume identifier. | 
| HGnoise | High gain noise [ADC]. | 
| 
 | inline | 
Set low gain noise (i.e. pedestal distribution RMS).
| volID | Volume identifier. | 
| LGnoise | Low gain noise [ADC]. | 
| 
 | inline | 
Set saturation level for high gain.
| volID | Volume identifier. | 
| maxHGADCvalues | saturation level [ADC]. | 
| 
 | inline | 
Set saturation level for low gain gain.
| volID | Volume identifier. | 
| maxLGADCvalues | saturation level [ADC]. | 
| 
 | inline | 
Set MIP value.
| volID | Volume identifier. | 
| MIPvalue | MIP value [ADC]. | 
| 
 | inline | 
Setup the total number of channels.
| nChannels | Number of channels | 
| 
 | inline | 
Set pedestal mean.
| volID | Volume identifier. | 
| pedestal | pedestal mean [ADC]. | 
| 
 | private | 
Ration between Low gain and low gain.
| 
 | private | 
RMS of the pedestal when the electronics is in Low gain, for each crystal.
| 
 | private | 
RMS of the pedestal when the electronics is in low gain, for each crystal.
| 
 | private | 
ADC value of the saturation for Low gain.
| 
 | private | 
ADC value of the saLuration for Low gain, i.e. the saturation of teh chip.
| 
 | private | 
MIP values for each crystal.
| 
 | private | 
ADC value of the pedestal, the pedesLal is the same in LG and HG.
 1.8.13
 1.8.13