![]() |
ATLAS Offline Software
|
#include <LArWFParamTool.h>
Classes | |
| struct | omegaScanParams_t |
| struct | waveRange_t |
| struct | WaveTiming_t |
Public Types | |
| enum | { FailExtract = -999 , DoExtract , DefaultNotSet = 0 } |
| enum | { OK = 0 , TooShort = 1 , NotFilled = 2 , LowStat = 3 , Noisy = 4 , Oscillating = 5 } |
Public Member Functions | |
| LArWFParamTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~LArWFParamTool () |
| virtual StatusCode | initialize () |
| virtual StatusCode | finalize () |
| StatusCode | getLArWaveParams (const LArCaliWave &larCaliWave, const HWIdentifier chid, const CaloGain::CaloGain gain, LArWFParams &wfParams, const LArOnOffIdMapping *cabling, std::optional< LArCaliWave > &omegaScan, std::optional< LArCaliWave > &resOscill0, std::optional< LArCaliWave > &resOscill1) const |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| WaveTiming_t | timeExtr (LArWave &gCali) const |
| double | expTail (const LArWave &gCali, const WaveTiming_t &wt) const |
| StatusCode | GetFstep (const LArWave &gCali, LArWFParams &wfParams, const WaveTiming_t &wt) const |
| double | fstepMin (const LArWave &gCali, double fstep, const double Tc, const unsigned Ttail) const |
| double | dFstep (const LArWave &gCali, const double fstep, const double Tc, const unsigned Ttail) const |
| LArWave | dstepRespDfstep (const LArWave &gCali, const double &fstep, const double &Tc) const |
| StatusCode | RTM_Omega0 (const LArWave &gCali, const HWIdentifier chid, LArWFParams &wfParams, const WaveTiming_t &wt, const LArOnOffIdMapping *cabling, std::optional< LArCaliWave > &omegaScan) const |
| StatusCode | RTM_Taur (const LArWave &gCali, LArWFParams &wfParams, const WaveTiming_t &wt) const |
| double | logChi2CosRespShaper (const double omega, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &range) const |
| double | logChi2InjRespRes (const double taur, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &range) const |
| LArWave | cosRespShaper (const LArWave &gCali, const double &fstep, const double &tcal, const double &w, const double &tsh) const |
| double | omega0MinNum (double omegaMin, double omegaMax, const double tol, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &) const |
| double | taurMinNum (const double taurmin, const double taurmax, const double tol, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &) const |
| double | fminbr (double a, double b, const double tol, double(LArWFParamTool::*f)(double, const LArWave &, const LArWFParams &, const waveRange_t &) const, const LArWave &gCali, const LArWFParams &wf, const waveRange_t &range) const |
| unsigned | checkStatus (const LArCaliWave &larCaliWave) const |
| omegaScanParams_t | OmegaScanHelper (const Identifier id, const WaveTiming_t &wt) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Static Private Member Functions | |
| static LArWave | stepResp (const LArWave &gCali, const double fstep, const double Tc) |
| static LArWave | stepCorr (const LArWave &gCali, const double &fstep, const double &Tc) |
| static double | dstepCorrDfstep (const double t, const double &fstep, const double &Tc) |
| static LArWave | dstepCorrDfstep (const LArWave &gCali, const double &fstep, const double &Tcal) |
| static LArWave | cosResp (const LArWave &gCali, const double &fstep, const double &tcal, const double &omega) |
| static LArWave | injRespRes (const LArWave &w, const double omega0, const double taur) |
| static LArWave | injCorr (const unsigned N, const double dt, const double omega0, const double taur) |
| static LArWave | cosCorr (const unsigned N, const double dt, const double fstep, const double tcal, const double omega) |
Private Attributes | |
| const LArEM_Base_ID * | m_emId = nullptr |
| const LArOnlineID_Base * | m_onlineHelper = nullptr |
| LArWaveHelper | m_wHelper |
| double | m_Tshaper |
| std::vector< bool > | m_cosRespScan |
| std::vector< double > | m_omegamin |
| std::vector< double > | m_omegamax |
| std::vector< unsigned > | m_npoints |
| std::vector< bool > | m_storeResOscill |
| unsigned int | m_NBaseline |
| bool | m_ShiftToStart |
| bool | m_SubtractBaseline |
| bool | m_UseOmegaScanHelper |
| bool | m_isSC |
| std::vector< int > | m_TtailMin |
| std::vector< int > | m_TtailMax |
| std::vector< int > | m_DeltaTtail |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Static Private Attributes | |
| static const double | m_DEFAULT = -1 |
| static const double | m_TINY =2.22045e-16 |
| static const double | m_SQRT_EPSILON =1.49012e-08 |
| static const double | m_EPSILON =2.22045e-16 |
Definition at line 28 of file LArWFParamTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| anonymous enum |
| Enumerator | |
|---|---|
| FailExtract | |
| DoExtract | |
| DefaultNotSet | |
Definition at line 33 of file LArWFParamTool.h.
| anonymous enum |
| Enumerator | |
|---|---|
| OK | |
| TooShort | |
| NotFilled | |
| LowStat | |
| Noisy | |
| Oscillating | |
Definition at line 68 of file LArWFParamTool.h.
| LArWFParamTool::LArWFParamTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 36 of file LArWFParamTool.cxx.
|
virtualdefault |
|
private |
Definition at line 976 of file LArWFParamTool.cxx.
|
staticprivate |
Definition at line 734 of file LArWFParamTool.cxx.
|
staticprivate |
Definition at line 724 of file LArWFParamTool.cxx.
|
private |
Definition at line 717 of file LArWFParamTool.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
private |
Definition at line 372 of file LArWFParamTool.cxx.
|
staticprivate |
|
staticprivate |
Definition at line 415 of file LArWFParamTool.cxx.
|
private |
Definition at line 407 of file LArWFParamTool.cxx.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
private |
Definition at line 311 of file LArWFParamTool.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
inlinevirtual |
Definition at line 49 of file LArWFParamTool.h.
|
private |
Definition at line 865 of file LArWFParamTool.cxx.
|
private |
Definition at line 356 of file LArWFParamTool.cxx.
|
private |
Definition at line 344 of file LArWFParamTool.cxx.
| StatusCode LArWFParamTool::getLArWaveParams | ( | const LArCaliWave & | larCaliWave, |
| const HWIdentifier | chid, | ||
| const CaloGain::CaloGain | gain, | ||
| LArWFParams & | wfParams, | ||
| const LArOnOffIdMapping * | cabling, | ||
| std::optional< LArCaliWave > & | omegaScan, | ||
| std::optional< LArCaliWave > & | resOscill0, | ||
| std::optional< LArCaliWave > & | resOscill1 ) const |
Definition at line 193 of file LArWFParamTool.cxx.
|
virtual |
Definition at line 112 of file LArWFParamTool.cxx.
|
staticprivate |
Definition at line 762 of file LArWFParamTool.cxx.
|
staticprivate |
Definition at line 758 of file LArWFParamTool.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlinestatic |
Definition at line 40 of file LArWFParamTool.h.
|
private |
Definition at line 713 of file LArWFParamTool.cxx.
|
private |
Definition at line 754 of file LArWFParamTool.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
private |
Definition at line 798 of file LArWFParamTool.cxx.
|
private |
Definition at line 495 of file LArWFParamTool.cxx.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
private |
Definition at line 423 of file LArWFParamTool.cxx.
|
private |
Definition at line 680 of file LArWFParamTool.cxx.
|
staticprivate |
Definition at line 395 of file LArWFParamTool.cxx.
|
staticprivate |
Definition at line 388 of file LArWFParamTool.cxx.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
private |
Definition at line 807 of file LArWFParamTool.cxx.
|
private |
Definition at line 283 of file LArWFParamTool.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 101 of file LArWFParamTool.h.
|
staticprivate |
Definition at line 78 of file LArWFParamTool.h.
|
private |
Definition at line 115 of file LArWFParamTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 93 of file LArWFParamTool.h.
|
staticprivate |
Definition at line 81 of file LArWFParamTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 112 of file LArWFParamTool.h.
|
private |
Definition at line 108 of file LArWFParamTool.h.
|
private |
Definition at line 104 of file LArWFParamTool.h.
|
private |
Definition at line 103 of file LArWFParamTool.h.
|
private |
Definition at line 102 of file LArWFParamTool.h.
|
private |
Definition at line 94 of file LArWFParamTool.h.
|
private |
Definition at line 109 of file LArWFParamTool.h.
|
staticprivate |
Definition at line 80 of file LArWFParamTool.h.
|
private |
Definition at line 107 of file LArWFParamTool.h.
|
private |
Definition at line 110 of file LArWFParamTool.h.
|
staticprivate |
Definition at line 79 of file LArWFParamTool.h.
|
private |
Definition at line 99 of file LArWFParamTool.h.
|
private |
Definition at line 114 of file LArWFParamTool.h.
|
private |
Definition at line 113 of file LArWFParamTool.h.
|
private |
Definition at line 111 of file LArWFParamTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Definition at line 96 of file LArWFParamTool.h.