|
HerdSoftware
0.4.0
|
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... | |
| float | MIPvalue (unsigned int volID) const |
| Return the MIP value [ADC]. More... | |
| float | SiLpdMIPvalue (unsigned int volID) const |
| Return the MIP value in Si for LPD [ADC]. More... | |
| float | SiSpdMIPvalue (unsigned int volID) const |
| Return the MIP value in Si for SPD [ADC]. More... | |
| float | SiLpdMipVar (unsigned int volID) const |
| Return the MIP RMS in Si for LPD [ADC]. More... | |
| float | SiSpdMipVar (unsigned int volID) const |
| Return the MIP RMS in Si for SPD [ADC]. More... | |
| const std::vector< float > & | MIPvalues () const |
| Return a vector with the MIP values [ADC]. More... | |
| const std::vector< float > & | SiLpdMIPvalues () const |
| Return a vector with the MIP values in Si for LPD [ADC]. More... | |
| const std::vector< float > & | SiSpdMIPvalues () const |
| Return a vector with the MIP values in Si for SPD [ADC]. More... | |
| const std::vector< float > & | SiLpdMopVar () const |
| Return a vector with the MIP RMS in Si for LPD [ADC]. More... | |
| const std::vector< float > & | SiSpdMipVar () const |
| Return a vector with the MIP RMS in Si for SPD [ADC]. More... | |
| 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... | |
| 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... | |
| 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... | |
| 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... | |
| 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... | |
| 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 | SetSiLpdMipValue (unsigned int volID, float MIPvalue) |
| Set MIP value in Si for LPD. More... | |
| void | SetSiSpdMipValue (unsigned int volID, float MIPvalue) |
| Set MIP value in Si for SPD. More... | |
| void | SetSiLPDMIPvar (unsigned int volID, float MIPvar) |
| Set MIP RMS in Si for LPD. More... | |
| void | SetSiSPDMIPvar (unsigned int volID, float MIPvar) |
| Set MIP RMS in Si for SPD. 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 in ADC as read by the LPD. 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... | |
| std::vector< float > | _SiLpdMIPvalues |
| MIP values in Si LPD for each crystal. More... | |
| std::vector< float > | _SiSpdMIPvalues |
| MIP values in Si SPD for each crystal. More... | |
| std::vector< float > | _SiLpdMIPvar |
| RMS of MIP values in Si LPD for each crystal. More... | |
| std::vector< float > | _SiSpdMIPvar |
| RMS of MIP values in Si SPD for each crystal. 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].
The value is the readout value of the LPD attached to cube volID for the scintillation light produced by a Z=1 MIP particle traversing 3 cm of LYSO.
| volID | Volume identifier. |
|
inline |
Return a vector with the MIP values [ADC].
The values are the readout values of the LPDs attached to each cube for the scintillation light produced by a Z=1 MIP particle traversing 3 cm of LYSO.
|
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]. |
|
inline |
Set MIP value in Si for LPD.
| volID | Volume identifier. |
| MIPvalue | MIP value in Si for LPD [ADC]. |
|
inline |
Set MIP RMS in Si for LPD.
| volID | Volume identifier. |
| MIPvar | MIP RMS in Si for LPD [ADC]. |
|
inline |
Set MIP value in Si for SPD.
| volID | Volume identifier. |
| MIPvalue | MIP value in Si for SPD [ADC]. |
|
inline |
Set MIP RMS in Si for SPD.
| volID | Volume identifier. |
| MIPvar | MIP RMS in Si for SPD [ADC]. |
|
inline |
Return the MIP value in Si for LPD [ADC].
| volID | Volume identifier. |
|
inline |
Return a vector with the MIP values in Si for LPD [ADC].
|
inline |
Return the MIP RMS in Si for LPD [ADC].
| volID | Volume identifier. |
|
inline |
Return a vector with the MIP RMS in Si for LPD [ADC].
|
inline |
Return the MIP value in Si for SPD [ADC].
| volID | Volume identifier. |
|
inline |
Return a vector with the MIP values in Si for SPD [ADC].
|
inline |
Return a vector with the MIP RMS in Si for SPD [ADC].
|
inline |
Return the MIP RMS in Si for SPD [ADC].
| volID | Volume identifier. |
|
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 in ADC as read by the LPD.
|
private |
ADC value of the pedestal, the pedesLal is the same in LG and HG.
|
private |
MIP values in Si LPD for each crystal.
|
private |
RMS of MIP values in Si LPD for each crystal.
|
private |
MIP values in Si SPD for each crystal.
|
private |
RMS of MIP values in Si SPD for each crystal.
1.8.17