Go to the documentation of this file.
6 #ifndef CBMSTSPARASIC_H
7 #define CBMSTSPARASIC_H 1
10 #include <RtypesCore.h>
172 void Set(UShort_t nAdc,
178 Double_t zeroNoiseRate,
179 std::set<UShort_t> deadChannels = {});
Double_t GetNoise() const
Electronic noise RMS.
Double_t GetThreshold() const
ADC Threshold.
Double_t GetNoiseRate() const
Single-channel noise rate.
~CbmStsParAsic()
Destructor.
Double_t GetZeroNoiseRate() const
Zero-crossing noise rate.
Short_t ChargeToAdc(Double_t charge) const
ADC channel for a given charge.
CbmStsParAsic(UShort_t nAdc, Double_t dynRange, Double_t threshold, Double_t timeResol, Double_t deadTime, Double_t noise, Double_t znr)
Constructor with parameters.
UShort_t GetNofAdc() const
Number of ADC channels.
CbmStsParAsic(CbmStsParAsic &&)=default
Move constructor (disabled)
Double_t fTimeResolution
Time resolution [ns].
Double_t fZeroNoiseRate
Zero-crossing noise rate [1/ns].
Double_t fNoise
RMS of noise [e].
UShort_t fNofAdc
Number of ADC channels.
Parameters of the STS readout ASIC.
CbmStsParAsic()
Default constructor.
Double_t fThreshold
Threshold [e].
ClassDefNV(CbmStsParAsic, 2)
std::set< UShort_t > fDeadChannels
Map of dead channels.
Double_t AdcToCharge(UShort_t adc) const
Charge from ADC channel (mean)
CbmStsParAsic & operator=(const CbmStsParAsic &other)
Copy assignment operator.
Double_t GetDynRange() const
Dynamic range of ADC.
void Init()
Initialisation.
Double_t fDynRange
Dynamic range [e].
Bool_t IsChannelActive(UShort_t channel) const
Check for a channel being active.
TF1 * fNoiseCharge
Flag for being initialised.
Double_t GetDeadTime() const
Single-channel dead time.
std::string ToString() const
Info to string.
void Set(UShort_t nAdc, Double_t dynRange, Double_t threshold, Double_t timeResol, Double_t deadTime, Double_t noise, Double_t zeroNoiseRate, std::set< UShort_t > deadChannels={})
Set parameters.
CbmStsParAsic & operator=(CbmStsParAsic &&)=default
Move assignment operator (disabled)
Double_t fDeadTime
Channel dead time [ns].
Double_t GetRandomNoiseCharge() const
Random noise charge.
Double_t GetTimeResol() const
Time resolution.