Eletronic BackEndSiPM. More...
#include "mdet/BackEndSiPM.h"
Public Types | |
enum | TransferStep { eFirstAdder, eSecondAdder, eLowGainAmplifier, eHighGainAmplifier, eADC, eSimplifiedLG, eSimplifiedHG } |
Public Member Functions | |
AddIdMessage (o) | |
double | ApplySaturation (double value, TransferStep step) const |
std::complex< double > | ComputeTransfer (double freq, TransferStep step) const |
double | GetHighGainAmplifierOffset () const |
int | GetId () const |
The id of this component. More... | |
const VManager::IndexMap & | GetIdsMap () const |
The id identifying this component within its detector hierarhy. More... | |
double | GetLowGainAmplifierOffset () const |
const Module & | GetModule () const |
The shared electronic frontend of this backend. More... | |
short | GetNumberOfChannelsToGroup () const |
return o | str () |
Public Attributes | |
std::string | const |
Returns the message that identifies this component. More... | |
const DetectorUserData< C > & | const |
Retrieve the user custom data. More... | |
Static Public Attributes | |
static const char *const | kComponentId = MHierarchyInfo::kComponentsIds[12] |
static const char *const | kComponentName = MHierarchyInfo::kComponentsNames[12] |
Protected Member Functions | |
template<typename T , template< typename > class P> | |
T & | GetData (P< T > &d, const std::string &p) const |
Common utility function for configuration. More... | |
template<typename T > | |
T & | GetData (T &d, const std::string &p) const |
Common utility function for configuration. More... | |
void | Register (utl::VValidated &v) |
Register the field so as to allow handling it. More... | |
s<< " ]";}DetectorComponent(int i, const VManager::IndexMap &parentMap):fId(i), fIdsMap(parentMap){Init();}DetectorComponent(const int i):fId(i){Init();}virtual ~DetectorComponent(){}virtual void Update(const bool invalidateData, const bool){for(FieldsContainer::iterator i=fFields.begin(), e=fFields.end();i!=e;++i)(*i) -> | SetValid (false) |
Protected Attributes | |
template<typename T1 , typename T2 , template< typename, typename > class P> | |
T1 & | const |
Doubly-templated variation of common utility. More... | |
template<typename T > | |
T & | const |
Specialization for utl::Validated. More... | |
void | const |
Message that identifies the component. More... | |
s<< "id="<< GetId()<< " [";for(It i=GetIdsMap().begin(), e=GetIdsMap().end();i!=e;++i) s<< " "<< i-> first<< "="<< i-> | second |
Friends | |
template<class T > | |
void | boost::checked_delete (T *) BOOST_NOEXCEPT |
Friendship for destruction. More... | |
template<class A1 , class A2 , class A3 , class A4 > | |
class | det::ComponentGroup |
See mdet::Counter. More... | |
struct | det::ComponentUpdater |
See mdet::Counter. More... | |
struct | det::ParentCreator |
Friendship to allow creation (or call it construction). More... | |
class | Module |
class | utl::ShadowPtr< BackEndSiPM > |
Frienship to allow destruction. More... | |
Eletronic BackEndSiPM.
This class manage the integrator electronics BackEnd that register the signal that comes out a SiPM array. This class includes the first two adders, the LG and HG amplification channels, and the ADC transfer function. The ADC sampling can be found in FrontEndSiPM. So, the ADC functionality is distributed in two classes (not great). The only reason is to compute all the transfer at once, and to keep the frontend class clean. In the end, the frontend is in charge only of the sampling and the generation of the output traces
Definition at line 37 of file BackEndSiPM.h.
Enumerator | |
---|---|
eFirstAdder | |
eSecondAdder | |
eLowGainAmplifier | |
eHighGainAmplifier | |
eADC | |
eSimplifiedLG | |
eSimplifiedHG |
Definition at line 51 of file BackEndSiPM.h.
|
private |
Constructs the electronic BackEndSiPM.
cId | The identifier to be used. |
parentMap | The identifiers of the parent within the hierarchy. |
parent | The parent mdet::FrontEnd. |
A reference to the parent is kept in this class.
This method is kept private; creation of these objects is not meant to be performed by client code. See the related friendship declaration.
Definition at line 30 of file BackEndSiPM.cc.
|
inlineprivate |
Destructor (!).
Definition at line 291 of file BackEndSiPM.h.
|
inherited |
double mdet::BackEndSiPM::ApplySaturation | ( | double | value, |
BackEndSiPM::TransferStep | step | ||
) | const |
Definition at line 485 of file BackEndSiPM.cc.
References ApplySaturationADC(), ApplySaturationFirstAdder(), ApplySaturationHighGainAmplifier(), ApplySaturationLowGainAmplifier(), ApplySaturationSecondAdder(), eADC, eFirstAdder, eHighGainAmplifier, eLowGainAmplifier, eSecondAdder, eSimplifiedHG, and eSimplifiedLG.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::ApplyBackEndTransfer(), MdCounterSimulatorAG::MdCounterSimulator::ApplyBackEndTransfer(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::ApplyBackEndTransferWStepSaturation(), and MdCounterSimulatorAG::MdCounterSimulator::ApplyBackEndTransferWStepSaturation().
|
private |
Definition at line 766 of file BackEndSiPM.cc.
References GetADCOffset(), GetADCSaturationDown(), and GetADCSaturationUp().
Referenced by ApplySaturation().
|
private |
Definition at line 710 of file BackEndSiPM.cc.
References GetFirstAdderOffset(), GetFirstAdderSaturationDown(), and GetFirstAdderSaturationUp().
Referenced by ApplySaturation().
|
private |
Definition at line 752 of file BackEndSiPM.cc.
References GetHighGainAmplifierOffset(), GetHighGainAmplifierSaturationDown(), and GetHighGainAmplifierSaturationUp().
Referenced by ApplySaturation().
|
private |
Definition at line 738 of file BackEndSiPM.cc.
References GetLowGainAmplifierOffset(), GetLowGainAmplifierSaturationDown(), and GetLowGainAmplifierSaturationUp().
Referenced by ApplySaturation().
|
private |
Definition at line 724 of file BackEndSiPM.cc.
References GetSecondAdderOffset(), GetSecondAdderSaturationDown(), and GetSecondAdderSaturationUp().
Referenced by ApplySaturation().
std::complex< double > mdet::BackEndSiPM::ComputeTransfer | ( | double | freq, |
BackEndSiPM::TransferStep | step | ||
) | const |
Definition at line 455 of file BackEndSiPM.cc.
References ComputeTransferADC(), ComputeTransferFirstAdder(), ComputeTransferHighGainAmplifier(), ComputeTransferLowGainAmplifier(), ComputeTransferSecondAdder(), ComputeTransferSimplifiedHG(), ComputeTransferSimplifiedLG(), eADC, eFirstAdder, eHighGainAmplifier, eLowGainAmplifier, eSecondAdder, eSimplifiedHG, and eSimplifiedLG.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::ApplyTransferBlock(), MdCounterSimulatorAG::MdCounterSimulator::ApplyTransferBlock(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::ApplyTransferBlocks(), and MdCounterSimulatorAG::MdCounterSimulator::ApplyTransferBlocks().
|
private |
Definition at line 644 of file BackEndSiPM.cc.
References GetADCFunctionIm(), GetADCFunctionReal(), GetADCPar1(), GetADCPar2(), GetADCPar3(), GetADCPar4(), GetADCPar5(), and GetADCPar6().
Referenced by ComputeTransfer().
|
private |
Definition at line 514 of file BackEndSiPM.cc.
References Get1stAdderFunctionIm(), Get1stAdderFunctionReal(), GetFirstAdderPar1(), GetFirstAdderPar2(), GetFirstAdderPar3(), GetFirstAdderPar4(), and GetFirstAdderPar5().
Referenced by ComputeTransfer().
|
private |
Definition at line 606 of file BackEndSiPM.cc.
References GetAmplifierHGFunctionIm(), GetAmplifierHGFunctionReal(), GetHighGainAmplifierAdjustmentFactor(), GetHighGainAmplifierPar1(), GetHighGainAmplifierPar2(), GetHighGainAmplifierPar3(), GetHighGainAmplifierPar4(), GetHighGainAmplifierPar5(), GetHighGainAmplifierPar6(), GetHighGainAmplifierPar7(), GetHighGainAmplifierPar8(), and GetHighGainAmplifierPar9().
Referenced by ComputeTransfer().
|
private |
Definition at line 568 of file BackEndSiPM.cc.
References GetAmplifierLGFunctionIm(), GetAmplifierLGFunctionReal(), GetLowGainAmplifierAdjustmentFactor(), GetLowGainAmplifierPar1(), GetLowGainAmplifierPar2(), GetLowGainAmplifierPar3(), GetLowGainAmplifierPar4(), GetLowGainAmplifierPar5(), GetLowGainAmplifierPar6(), GetLowGainAmplifierPar7(), GetLowGainAmplifierPar8(), and GetLowGainAmplifierPar9().
Referenced by ComputeTransfer().
|
private |
Definition at line 541 of file BackEndSiPM.cc.
References Get2ndAdderFunctionIm(), Get2ndAdderFunctionReal(), GetSecondAdderPar1(), GetSecondAdderPar2(), GetSecondAdderPar3(), GetSecondAdderPar4(), and GetSecondAdderPar5().
Referenced by ComputeTransfer().
|
private |
Definition at line 690 of file BackEndSiPM.cc.
References GetSimplifiedGainHG(), GetSimplifiedTime(), and std::pow().
Referenced by ComputeTransfer().
|
private |
Definition at line 676 of file BackEndSiPM.cc.
References GetSimplifiedGainLG(), GetSimplifiedTime(), utl::kTwoPi, and std::pow().
Referenced by ComputeTransfer().
|
inlineprivate |
Definition at line 110 of file BackEndSiPM.h.
Referenced by ComputeTransferFirstAdder().
|
inlineprivate |
First and second adder transfer function:
Definition at line 104 of file BackEndSiPM.h.
Referenced by ComputeTransferFirstAdder().
|
inlineprivate |
Definition at line 132 of file BackEndSiPM.h.
Referenced by ComputeTransferSecondAdder().
|
inlineprivate |
Definition at line 126 of file BackEndSiPM.h.
Referenced by ComputeTransferSecondAdder().
|
inlineprivate |
Definition at line 234 of file BackEndSiPM.h.
Referenced by ComputeTransferADC().
|
inlineprivate |
ADC transfer function.
Definition at line 228 of file BackEndSiPM.h.
Referenced by ComputeTransferADC().
|
private |
Definition at line 417 of file BackEndSiPM.cc.
References fADCOffset, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationADC().
|
private |
Definition at line 369 of file BackEndSiPM.cc.
References fADCPar1, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferADC().
|
private |
Definition at line 375 of file BackEndSiPM.cc.
References fADCPar2, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferADC().
|
private |
Definition at line 381 of file BackEndSiPM.cc.
References fADCPar3, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferADC().
|
private |
Definition at line 387 of file BackEndSiPM.cc.
References fADCPar4, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferADC().
|
private |
Definition at line 393 of file BackEndSiPM.cc.
References fADCPar5, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferADC().
|
private |
Definition at line 399 of file BackEndSiPM.cc.
References fADCPar6, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferADC().
|
private |
Definition at line 411 of file BackEndSiPM.cc.
References fADCSaturationDown, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationADC().
|
private |
Definition at line 405 of file BackEndSiPM.cc.
References fADCSaturationUp, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationADC().
|
inlineprivate |
Definition at line 197 of file BackEndSiPM.h.
Referenced by ComputeTransferHighGainAmplifier().
|
inlineprivate |
Definition at line 187 of file BackEndSiPM.h.
Referenced by ComputeTransferHighGainAmplifier().
|
inlineprivate |
Definition at line 162 of file BackEndSiPM.h.
Referenced by ComputeTransferLowGainAmplifier().
|
inlineprivate |
High gain and low gain Amplifier transfer function.
Definition at line 152 of file BackEndSiPM.h.
Referenced by ComputeTransferLowGainAmplifier().
|
inlineprotectedinherited |
Common utility function for configuration.
Retrieves data from the provided (via this class' template parameter) Manager instance and goes on with initialization.
d | An object of type P<T> wrapping the real of type T. |
p | Property name. The template class P must provide:
|
This is fullfilled by, for instance, utl::ShadowPtr as P and built-in types for T.
Definition at line 191 of file DetectorComponent.h.
References det::DetectorComponent< C, ManagerProvider >::d, and G4StationSimulatorOG::p.
Referenced by mdet::Channel::GetAbsoluteError(), GetADCOffset(), GetADCPar1(), GetADCPar2(), GetADCPar3(), GetADCPar4(), GetADCPar5(), GetADCPar6(), GetADCSaturationDown(), GetADCSaturationUp(), mdet::Module::GetAreaKind(), mdet::Counter::GetAssociatedTankId(), mdet::Fiber::GetAttenuationAmplitudeA(), mdet::Fiber::GetAttenuationAmplitudeASiPM(), mdet::Fiber::GetAttenuationAmplitudeB(), mdet::Fiber::GetAttenuationAmplitudeBSiPM(), mdet::Fiber::GetAttenuationLengthA(), mdet::Fiber::GetAttenuationLengthASiPM(), mdet::Fiber::GetAttenuationLengthB(), mdet::Fiber::GetAttenuationLengthBSiPM(), mdet::Fiber::GetAttenuationReference(), mdet::Fiber::GetAttenuationReferenceEnergy(), mdet::Fiber::GetAttenuationReferenceThickness(), mdet::Module::GetBackgroundMuonsFlux(), mdet::FrontEndSiPM::GetBaseLineFluctuationHG(), mdet::FrontEndSiPM::GetBaseLineFluctuationLG(), mdet::Channel::GetDCGain(), mdet::Fiber::GetDecayTime(), mdet::Scintillator::GetDecayTime(), mdet::FrontEndSiPM::GetDelayBinaryADCMean(), mdet::FrontEndSiPM::GetDelayBinaryADCSigma(), mdet::FrontEndSiPM::GetDigitalBackGroundProbability(), mdet::FrontEndSiPM::GetDigitalBackGroundWidthMean(), mdet::FrontEndSiPM::GetDigitalBackGroundWidthStdDev(), mdet::ChannelSiPM::GetDiscriminatorGain(), mdet::ChannelSiPM::GetDiscriminatorHiLevel(), mdet::Channel::GetDiscriminatorHiLevel(), mdet::ChannelSiPM::GetDiscriminatorLowLevel(), mdet::Channel::GetDiscriminatorLowLevel(), mdet::ChannelSiPM::GetDiscriminatorThreshold(), mdet::ChannelSiPM::GetDiscriminatorTransitionTime(), mdet::Scintillator::GetEpsilon(), mdet::FrontEnd::GetFalseRangeHiThreshold(), mdet::FrontEndSiPM::GetFalseRangeHiThreshold(), mdet::ChannelSiPM::GetFastShaperGain(), mdet::ChannelSiPM::GetFastShaperTime(), mdet::Channel::GetFeedbackResistance(), GetFirstAdderOffset(), GetFirstAdderPar1(), GetFirstAdderPar2(), GetFirstAdderPar3(), GetFirstAdderPar4(), GetFirstAdderPar5(), GetFirstAdderSaturationDown(), GetFirstAdderSaturationUp(), mdet::Scintillator::GetHeight(), mdet::Channel::GetHighCutoffFrequency(), GetHighGainAmplifierAdjustmentFactor(), GetHighGainAmplifierOffset(), GetHighGainAmplifierPar1(), GetHighGainAmplifierPar2(), GetHighGainAmplifierPar3(), GetHighGainAmplifierPar4(), GetHighGainAmplifierPar5(), GetHighGainAmplifierPar6(), GetHighGainAmplifierPar7(), GetHighGainAmplifierPar8(), GetHighGainAmplifierPar9(), GetHighGainAmplifierSaturationDown(), GetHighGainAmplifierSaturationUp(), mdet::Channel::GetInitialIntervalLength(), mdet::Channel::GetInvertingInputResistance(), mdet::Channel::GetIterationsNumber(), mdet::Scintillator::GetLength(), mdet::Scintillator::GetLocalSoilDensity(), mdet::Channel::GetLowCutoffFrequency(), GetLowGainAmplifierAdjustmentFactor(), GetLowGainAmplifierOffset(), GetLowGainAmplifierPar1(), GetLowGainAmplifierPar2(), GetLowGainAmplifierPar3(), GetLowGainAmplifierPar4(), GetLowGainAmplifierPar5(), GetLowGainAmplifierPar6(), GetLowGainAmplifierPar7(), GetLowGainAmplifierPar8(), GetLowGainAmplifierPar9(), GetLowGainAmplifierSaturationDown(), GetLowGainAmplifierSaturationUp(), mdet::Channel::GetMaxNumberOfErrors(), mdet::FrontEnd::GetMeanSampleRatePeriod(), mdet::FrontEndSiPM::GetMeanSampleRatePeriod(), GetNumberOfChannelsToGroup(), mdet::Fiber::GetNumericalAperture(), mdet::Fiber::GetOnManifoldLength(), mdet::Module::GetPhotoDetector(), mdet::FrontEndSiPM::GetPostT1BufferLength(), mdet::FrontEnd::GetPostT1BufferLength(), mdet::ChannelSiPM::GetPreAmplifierGain(), mdet::ChannelSiPM::GetPreAmplifierTime(), mdet::FrontEndSiPM::GetPreT1BufferLength(), mdet::FrontEnd::GetPreT1BufferLength(), mdet::SiPM::GetPulseAmplitude1Mean(), mdet::SiPM::GetPulseAmplitude1StdDev(), mdet::SiPM::GetPulseAmplitude2Mean(), mdet::SiPM::GetPulseAmplitude2StdDev(), mdet::SiPM::GetPulseAmplitude3Mean(), mdet::SiPM::GetPulseAmplitude3StdDev(), mdet::Pixel::GetPulseAmplitudeMean(), mdet::Pixel::GetPulseAmplitudeStdDev(), mdet::Pixel::GetPulseChargeMean(), mdet::Pixel::GetPulseChargeStdDev(), mdet::Pixel::GetPulseParametersCorrelation(), mdet::Pixel::GetPulseParametrization(), mdet::SiPM::GetPulseRelevantWidth(), mdet::Pixel::GetPulseRelevantWidth(), mdet::Pixel::GetPulseStdDevMean(), mdet::Pixel::GetPulseStdDevStdDev(), mdet::SiPM::GetPulseTime1Mean(), mdet::SiPM::GetPulseTime1StdDev(), mdet::SiPM::GetPulseTime2Mean(), mdet::SiPM::GetPulseTime2StdDev(), mdet::SiPM::GetPulseTime3Mean(), mdet::SiPM::GetPulseTime3StdDev(), mdet::SiPM::GetPulseTime4Mean(), mdet::SiPM::GetPulseTime4StdDev(), mdet::Fiber::GetRadius(), mdet::Fiber::GetRefractionIndex(), mdet::Channel::GetResponseTime(), mdet::FrontEnd::GetSampleRatePeriodJitter(), mdet::FrontEndSiPM::GetSampleTimeADC(), GetSecondAdderOffset(), GetSecondAdderPar1(), GetSecondAdderPar2(), GetSecondAdderPar3(), GetSecondAdderPar4(), GetSecondAdderPar5(), GetSecondAdderSaturationDown(), GetSecondAdderSaturationUp(), mdet::Channel::GetSignalShiftMean(), mdet::Channel::GetSignalShiftStdDev(), GetSimplifiedGainHG(), GetSimplifiedGainLG(), GetSimplifiedTime(), mdet::Channel::GetSlewRate(), mdet::FrontEndSiPM::GetStepADC(), mdet::Channel::GetThreshold(), mdet::FrontEnd::GetTrueRangeLowThreshold(), mdet::FrontEndSiPM::GetTrueRangeLowThreshold(), and mdet::Scintillator::GetWidth().
|
inlineprotectedinherited |
Common utility function for configuration.
Overload without wrapping parameter: directly gets the datum as parameter. Typically invoked with T equal to a primitive type (int, double, so on).
Definition at line 232 of file DetectorComponent.h.
|
private |
Definition at line 139 of file BackEndSiPM.cc.
References fFirstAdderOffset, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationFirstAdder().
|
private |
Definition at line 97 of file BackEndSiPM.cc.
References fFirstAdderPar1, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferFirstAdder().
|
private |
Definition at line 103 of file BackEndSiPM.cc.
References fFirstAdderPar2, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferFirstAdder().
|
private |
Definition at line 109 of file BackEndSiPM.cc.
References fFirstAdderPar3, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferFirstAdder().
|
private |
Definition at line 115 of file BackEndSiPM.cc.
References fFirstAdderPar4, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferFirstAdder().
|
private |
Definition at line 121 of file BackEndSiPM.cc.
References fFirstAdderPar5, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferFirstAdder().
|
private |
Definition at line 133 of file BackEndSiPM.cc.
References fFirstAdderSaturationDown, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationFirstAdder().
|
private |
Definition at line 127 of file BackEndSiPM.cc.
References fFirstAdderSaturationUp, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationFirstAdder().
|
private |
|
private |
Definition at line 358 of file BackEndSiPM.cc.
References fHighGainAmplifierAdjustmentFactor, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
double mdet::BackEndSiPM::GetHighGainAmplifierOffset | ( | ) | const |
Definition at line 352 of file BackEndSiPM.cc.
References fHighGainAmplifierOffset, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationHighGainAmplifier(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::SampleTraceADC(), and MdCounterSimulatorAG::MdCounterSimulator::SampleTraceADC().
|
private |
Definition at line 286 of file BackEndSiPM.cc.
References fHighGainAmplifierPar1, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 292 of file BackEndSiPM.cc.
References fHighGainAmplifierPar2, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 298 of file BackEndSiPM.cc.
References fHighGainAmplifierPar3, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 304 of file BackEndSiPM.cc.
References fHighGainAmplifierPar4, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 310 of file BackEndSiPM.cc.
References fHighGainAmplifierPar5, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 316 of file BackEndSiPM.cc.
References fHighGainAmplifierPar6, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 322 of file BackEndSiPM.cc.
References fHighGainAmplifierPar7, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 328 of file BackEndSiPM.cc.
References fHighGainAmplifierPar8, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 334 of file BackEndSiPM.cc.
References fHighGainAmplifierPar9, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferHighGainAmplifier().
|
private |
Definition at line 346 of file BackEndSiPM.cc.
References fHighGainAmplifierSaturationDown, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationHighGainAmplifier().
|
private |
Definition at line 340 of file BackEndSiPM.cc.
References fHighGainAmplifierSaturationUp, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationHighGainAmplifier().
|
inlineinherited |
The id of this component.
Definition at line 105 of file DetectorComponent.h.
References det::DetectorComponent< C, ManagerProvider >::fId.
Referenced by G4StationSimulatorOG::G4StationConstruction::AssembleUMD(), MuonCounterViewerAG::ScintBuilder::Box(), MdLDFFinderAG::Likelihood2::CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood3::CalculateCandidateLikelihood(), MdLDFFinderAG::Likelihood::CalculateCandidateLikelihood(), MdLDFFinderAG::MdLDFFinder::CalculateChi2(), MdLDFFinderAG::MdLDFFinder::FillModulesShowerPlaneDistances(), EdepSimulatorAG::PrimaryGenerator::GeneratePrimaries(), mdet::PMT::GetCrossTalk(), det::DetectorComponent< C, ManagerProvider >::Init(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::PlotChannel(), MdCounterSimulatorAG::MdCounterSimulator::PlotChannel(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::PlotIntegrator(), MdCounterSimulatorAG::MdCounterSimulator::PlotIntegrator(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::ProcessPulses(), MdCounterSimulatorAG::MdCounterSimulator::ProcessPulses(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::ProcessPulsesIntegrator(), MdCounterSimulatorAG::MdCounterSimulator::ProcessPulsesIntegrator(), MdEventSelectorAG::MdEventSelector::RejectTimeOutliers(), EdepSimulatorAG::EdepSimulator::Run(), MuonCounterViewerAG::MuonCounterViewer::Run(), MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated(), MdLDFFinderAG::MdLDFFinder::SetLdfResiduals(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::SimulateElectronics(), MdCounterSimulatorAG::MdCounterSimulator::SimulateElectronics(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
|
inlineinherited |
The id identifying this component within its detector hierarhy.
Definition at line 111 of file DetectorComponent.h.
References det::DetectorComponent< C, ManagerProvider >::fIdsMap.
Referenced by mdet::Counter::GetModules(), mdet::Module::Module(), mdet::PMT::PMT(), mdet::SiPMArray::Update(), mdet::FrontEnd::Update(), mdet::FrontEndSiPM::Update(), mdet::PMT::Update(), and mdet::Module::Update().
|
private |
|
private |
Definition at line 275 of file BackEndSiPM.cc.
References fLowGainAmplifierAdjustmentFactor, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
double mdet::BackEndSiPM::GetLowGainAmplifierOffset | ( | ) | const |
Definition at line 269 of file BackEndSiPM.cc.
References fLowGainAmplifierOffset, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationLowGainAmplifier(), MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::SampleTraceADC(), and MdCounterSimulatorAG::MdCounterSimulator::SampleTraceADC().
|
private |
Definition at line 203 of file BackEndSiPM.cc.
References fLowGainAmplifierPar1, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 209 of file BackEndSiPM.cc.
References fLowGainAmplifierPar2, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 215 of file BackEndSiPM.cc.
References fLowGainAmplifierPar3, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 221 of file BackEndSiPM.cc.
References fLowGainAmplifierPar4, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 227 of file BackEndSiPM.cc.
References fLowGainAmplifierPar5, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 233 of file BackEndSiPM.cc.
References fLowGainAmplifierPar6, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 239 of file BackEndSiPM.cc.
References fLowGainAmplifierPar7, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 245 of file BackEndSiPM.cc.
References fLowGainAmplifierPar8, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 251 of file BackEndSiPM.cc.
References fLowGainAmplifierPar9, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferLowGainAmplifier().
|
private |
Definition at line 263 of file BackEndSiPM.cc.
References fLowGainAmplifierSaturationDown, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationLowGainAmplifier().
|
private |
Definition at line 257 of file BackEndSiPM.cc.
References fLowGainAmplifierSaturationUp, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationLowGainAmplifier().
The shared electronic frontend of this backend.
Definition at line 47 of file BackEndSiPM.h.
References fModule.
short mdet::BackEndSiPM::GetNumberOfChannelsToGroup | ( | ) | const |
Definition at line 423 of file BackEndSiPM.cc.
References fNumberOfChannelsToGroup, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::ApplyBackEndTransferWStepSaturation(), and MdCounterSimulatorAG::MdCounterSimulator::ApplyBackEndTransferWStepSaturation().
|
private |
Definition at line 192 of file BackEndSiPM.cc.
References fSecondAdderOffset, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationSecondAdder().
|
private |
Definition at line 150 of file BackEndSiPM.cc.
References fSecondAdderPar1, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferSecondAdder().
|
private |
Definition at line 156 of file BackEndSiPM.cc.
References fSecondAdderPar2, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferSecondAdder().
|
private |
Definition at line 162 of file BackEndSiPM.cc.
References fSecondAdderPar3, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferSecondAdder().
|
private |
Definition at line 168 of file BackEndSiPM.cc.
References fSecondAdderPar4, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferSecondAdder().
|
private |
Definition at line 174 of file BackEndSiPM.cc.
References fSecondAdderPar5, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferSecondAdder().
|
private |
Definition at line 186 of file BackEndSiPM.cc.
References fSecondAdderSaturationDown, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationSecondAdder().
|
private |
Definition at line 180 of file BackEndSiPM.cc.
References fSecondAdderSaturationUp, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ApplySaturationSecondAdder().
|
private |
Definition at line 438 of file BackEndSiPM.cc.
References fSimplifiedGainHG, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferSimplifiedHG().
|
private |
Simplified transfer functions (low-passs active filter)
Definition at line 432 of file BackEndSiPM.cc.
References fSimplifiedGainLG, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferSimplifiedLG().
|
private |
Definition at line 444 of file BackEndSiPM.cc.
References fSimplifiedTime, and det::DetectorComponent< C, ManagerProvider >::GetData().
Referenced by ComputeTransferSimplifiedHG(), and ComputeTransferSimplifiedLG().
|
inlineprotectedinherited |
Register the field so as to allow handling it.
Definition at line 298 of file DetectorComponent.h.
References det::DetectorComponent< C, ManagerProvider >::fFields.
Referenced by mdet::ChannelSiPM::ChannelSiPM(), mdet::Counter::Counter(), mdet::Module::Module(), and mdet::Scintillator::Scintillator().
|
protectedinherited |
|
inherited |
|
friend |
Friendship for destruction.
Depends on det::ComponentGroup innards.
|
friend |
See mdet::Counter.
Definition at line 270 of file BackEndSiPM.h.
|
friend |
See mdet::Counter.
Definition at line 304 of file BackEndSiPM.h.
|
friend |
Friendship to allow creation (or call it construction).
Definition at line 295 of file BackEndSiPM.h.
|
friend |
Definition at line 259 of file BackEndSiPM.h.
|
friend |
Frienship to allow destruction.
This comes from the fact that the BackEndSiPM is kept (in mdet::Module) within one of these.
Definition at line 267 of file BackEndSiPM.h.
|
inherited |
Returns the message that identifies this component.
To make unambiguous the call in the wrapped version.
This method is just a convenience informative method, not meant to be used for control-flow logic (please do not parse this!).
In the wrapped version, when wrapped type is itself a wrapping template, the compiler has a hard time to decide what to do. So this function was created with the logic formerly contained in the non-wrapped version.
Related to this, see http://www.gotw.ca/publications/mill17.htm.
Definition at line 125 of file DetectorComponent.h.
|
inherited |
Retrieve the user custom data.
Definition at line 137 of file DetectorComponent.h.
|
protectedinherited |
Doubly-templated variation of common utility.
Needed to be added in response to the addition of a 2nd policy parameter to utl::ShadowPtr.
Definition at line 203 of file DetectorComponent.h.
|
protectedinherited |
Specialization for utl::Validated.
To make unambiguous the call in the wrapped version.
In the wrapped version, when wrapped type is itself a wrapping template, the compiler has a hard time to decide what to do. So this function was created with the logic formerly contained in the non-wrapped version.
Related to this, see http://www.gotw.ca/publications/mill17.htm.
Definition at line 216 of file DetectorComponent.h.
|
protectedinherited |
Message that identifies the component.
Streams-out a (human-readeable) message identifying the component in the hierarchy. It's meant to be used only in messages sent to the user as a way to identify the component that isssues the message (be it an information, warning or error one).
Maybe it'd have been more idiomatic to overload operator<< but I feel that it would be misleading to "stream out" a DetectorComponent.
Definition at line 250 of file DetectorComponent.h.
|
mutableprivate |
Definition at line 364 of file BackEndSiPM.h.
Referenced by GetADCOffset().
|
mutableprivate |
Definition at line 356 of file BackEndSiPM.h.
Referenced by GetADCPar1().
|
mutableprivate |
Definition at line 357 of file BackEndSiPM.h.
Referenced by GetADCPar2().
|
mutableprivate |
Definition at line 358 of file BackEndSiPM.h.
Referenced by GetADCPar3().
|
mutableprivate |
Definition at line 359 of file BackEndSiPM.h.
Referenced by GetADCPar4().
|
mutableprivate |
Definition at line 360 of file BackEndSiPM.h.
Referenced by GetADCPar5().
|
mutableprivate |
Definition at line 361 of file BackEndSiPM.h.
Referenced by GetADCPar6().
|
mutableprivate |
Definition at line 363 of file BackEndSiPM.h.
Referenced by GetADCSaturationDown().
|
mutableprivate |
Definition at line 362 of file BackEndSiPM.h.
Referenced by GetADCSaturationUp().
|
mutableprivate |
Definition at line 314 of file BackEndSiPM.h.
Referenced by GetFirstAdderOffset().
|
mutableprivate |
Definition at line 307 of file BackEndSiPM.h.
Referenced by GetFirstAdderPar1().
|
mutableprivate |
Definition at line 308 of file BackEndSiPM.h.
Referenced by GetFirstAdderPar2().
|
mutableprivate |
Definition at line 309 of file BackEndSiPM.h.
Referenced by GetFirstAdderPar3().
|
mutableprivate |
Definition at line 310 of file BackEndSiPM.h.
Referenced by GetFirstAdderPar4().
|
mutableprivate |
Definition at line 311 of file BackEndSiPM.h.
Referenced by GetFirstAdderPar5().
|
mutableprivate |
Definition at line 313 of file BackEndSiPM.h.
Referenced by GetFirstAdderSaturationDown().
|
mutableprivate |
Definition at line 312 of file BackEndSiPM.h.
Referenced by GetFirstAdderSaturationUp().
|
mutableprivate |
Definition at line 350 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierAdjustmentFactor().
|
mutableprivate |
Definition at line 353 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierOffset().
|
mutableprivate |
Definition at line 341 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar1().
|
mutableprivate |
Definition at line 342 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar2().
|
mutableprivate |
Definition at line 343 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar3().
|
mutableprivate |
Definition at line 344 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar4().
|
mutableprivate |
Definition at line 345 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar5().
|
mutableprivate |
Definition at line 346 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar6().
|
mutableprivate |
Definition at line 347 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar7().
|
mutableprivate |
Definition at line 348 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar8().
|
mutableprivate |
Definition at line 349 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierPar9().
|
mutableprivate |
Definition at line 352 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierSaturationDown().
|
mutableprivate |
Definition at line 351 of file BackEndSiPM.h.
Referenced by GetHighGainAmplifierSaturationUp().
|
mutableprivate |
Definition at line 336 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierAdjustmentFactor().
|
mutableprivate |
Definition at line 339 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierOffset().
|
mutableprivate |
Definition at line 326 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar1().
|
mutableprivate |
Definition at line 327 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar2().
|
mutableprivate |
Definition at line 328 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar3().
|
mutableprivate |
Definition at line 329 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar4().
|
mutableprivate |
Definition at line 330 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar5().
|
mutableprivate |
Definition at line 331 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar6().
|
mutableprivate |
Definition at line 332 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar7().
|
mutableprivate |
Definition at line 333 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar8().
|
mutableprivate |
Definition at line 334 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierPar9().
|
mutableprivate |
Definition at line 338 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierSaturationDown().
|
mutableprivate |
Definition at line 337 of file BackEndSiPM.h.
Referenced by GetLowGainAmplifierSaturationUp().
Definition at line 372 of file BackEndSiPM.h.
Referenced by GetModule().
|
mutableprivate |
Definition at line 366 of file BackEndSiPM.h.
Referenced by GetNumberOfChannelsToGroup().
|
mutableprivate |
Definition at line 323 of file BackEndSiPM.h.
Referenced by GetSecondAdderOffset().
|
mutableprivate |
Definition at line 316 of file BackEndSiPM.h.
Referenced by GetSecondAdderPar1().
|
mutableprivate |
Definition at line 317 of file BackEndSiPM.h.
Referenced by GetSecondAdderPar2().
|
mutableprivate |
Definition at line 318 of file BackEndSiPM.h.
Referenced by GetSecondAdderPar3().
|
mutableprivate |
Definition at line 319 of file BackEndSiPM.h.
Referenced by GetSecondAdderPar4().
|
mutableprivate |
Definition at line 320 of file BackEndSiPM.h.
Referenced by GetSecondAdderPar5().
|
mutableprivate |
Definition at line 322 of file BackEndSiPM.h.
Referenced by GetSecondAdderSaturationDown().
|
mutableprivate |
Definition at line 321 of file BackEndSiPM.h.
Referenced by GetSecondAdderSaturationUp().
|
mutableprivate |
Definition at line 369 of file BackEndSiPM.h.
Referenced by GetSimplifiedGainHG().
|
mutableprivate |
Definition at line 368 of file BackEndSiPM.h.
Referenced by GetSimplifiedGainLG().
|
mutableprivate |
Definition at line 370 of file BackEndSiPM.h.
Referenced by GetSimplifiedTime().
|
static |
Definition at line 43 of file BackEndSiPM.h.
|
static |
Definition at line 41 of file BackEndSiPM.h.
|
protectedinherited |
Definition at line 257 of file DetectorComponent.h.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::SimulateElectronics(), and MdCounterSimulatorAG::MdCounterSimulator::SimulateElectronics().