1 #ifndef _mdet_ChannelSiPM_h
2 #define _mdet_ChannelSiPM_h
4 #include <mdet/MDetectorComponent.h>
6 #include <utl/Validated.h>
14 struct ComponentUpdater;
188 friend struct det::ComponentUpdater;
219 #endif // _mdet_ChannelSiPM_h
static const char *const kComponentId
utl::Validated< double > fFastShaperGain
double ApplySaturation(double v) const
double fTimeOverThreshold
utl::Validated< double > fDiscriminatorHiLevel
double ComputeDiscriminator(double signal, double deltaTime) const
const char * GetFastShaperFunctionReal() const
Transfer function. Separated in Re and Im.
double GetDiscriminatorGain() const
Voltage change per time unit.
double GetFastShaperTime() const
double GetFastShaperGain() const
Pre amplifier gain.
Defines within it the common (templated) type for muon detector hierarchy components.
const FrontEndSiPM & GetFrontEnd() const
The shared common-to-all-ChannelSiPMs electronic frontend of this ChannelSiPM.
const char * GetFastShaperFunctionIm() const
Electronic front-end for the modules.
const FrontEndSiPM & fFrontEnd
friend void boost::checked_delete(T *) BOOST_NOEXCEPT
Friendship for destruction.
utl::Validated< double > fDiscriminatorTransitionTime
double GetDiscriminatorHiLevel() const
Target voltage when the signal is higher than the threshold.
double GetDiscriminatorLowLevel() const
Target voltage when the signal is lower than the threshold.
std::complex< double > ComputeTransfer(double freq) const
Computes the circuit transfer function at the given frequency.
utl::Validated< double > fFastShaperTime
double GetPreAmplifierTime() const
Pre amplifier time.
utl::Validated< double > fThreshold
const char * GetPreAmplifierFunctionIm() const
static const char *const kComponentName
std::string const
Returns the message that identifies this component.
utl::Validated< double > fPreAmplifierTime
std::map< std::string, std::string > IndexMap
~ChannelSiPM()
Destructor (!).
utl::Validated< double > fPreAmplifierGain
double GetThreshold() const
Discrimination threshold.
double GetPreAmplifierGain() const
Pre amplifier gain.
double GetDiscriminatorThreshold() const
Type
The type of file that we are acutally opening.
ChannelSiPM(int cId, const det::VManager::IndexMap &parentMap, const FrontEndSiPM &parent)
Constructs the electronic ChannelSiPM.
utl::Validated< double > fDiscriminatorLowLevel
utl::Validated< double > fDiscriminatorGain
The child the information from the parent upon construction.
double GetDiscriminatorTransitionTime() const
Time for the discriminator to go up, once the signal reaches the threshold.
const char * GetPreAmplifierFunctionReal() const
Transfer Function.