![]() |
ATLAS Offline Software
|
#include <LArHitEMapToDigitAlg.h>
Public Member Functions | |
| virtual StatusCode | initialize () |
| virtual StatusCode | execute (const EventContext &context) const |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. | |
| virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. | |
| virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| virtual bool | filterPassed (const EventContext &ctx) const |
| virtual void | setFilterPassed (bool state, const EventContext &ctx) 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 | 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 |
Protected Types | |
| enum | CaloNum { EM =0 , HEC , FCAL , EMIW } |
| using | staticVecDouble_t = boost::container::static_vector<double,s_MaxNSamples> |
| using | staticVecFloat_t = boost::container::static_vector<float,s_MaxNSamples> |
Protected Member Functions | |
| template<class T> | |
| const T * | pointerFromKey (const EventContext &context, const SG::ReadCondHandleKey< T > &key) const |
| StatusCode | MakeDigit (const EventContext &ctx, const Identifier &cellId, const HWIdentifier &ch_id, LArDigit *&Digit, DataPool< LArDigit > &dataItemsPool, LArDigit *&Digit_DigiHSTruth, const std::vector< std::pair< float, float > > *TimeE, const LArDigit *rndm_digit, CLHEP::HepRandomEngine *engine, const std::vector< std::pair< float, float > > *TimeE_DigiHSTruth, const LArADC2MeV *adc2MeVs, const ILArfSampl *fSampl, const ILArPedestal *pedestal, const ILArNoise *noise, const LArAutoCorrNoise *autoCorrNoise, const LArBadChannelCont *bcCont, const ILArShape *shape) const |
| StatusCode | ConvertHits2Samples (const Identifier &cellId, HWIdentifier ch_id, CaloGain::CaloGain igain, const std::vector< std::pair< float, float > > *TimeE, staticVecDouble_t &sampleList, const ILArShape *shape) const |
| CaloGain::CaloGain | chooseGain (const staticVecDouble_t &samples, const HWIdentifier id, const CaloNum iCalo, const ILArPedestal *ped, const LArADC2MeV *ramp, const float SF) const |
| 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. | |
Protected Attributes | |
| SG::ReadCondHandleKey< ILArNoise > | m_noiseKey {this,"NoiseKey","LArNoiseSym","SG Key of ILArNoise object"} |
| SG::ReadCondHandleKey< ILArfSampl > | m_fSamplKey {this,"fSamplKey","LArfSamplSym","SG Key of LArfSampl object"} |
| SG::ReadCondHandleKey< ILArOFC > | m_OFCKey {this, "OFCKey", "LArOFC", "SG Key of OFC conditions object"} |
| SG::ReadCondHandleKey< ILArPedestal > | m_pedestalKey {this,"PedestalKey","LArPedestal","SG Key of LArPedestal object"} |
| SG::ReadCondHandleKey< ILArShape > | m_shapeKey {this,"ShapeKey","LArShapeSym","SG Key of LArShape object"} |
| SG::ReadCondHandleKey< LArADC2MeV > | m_adc2mevKey {this,"ADC2MeVKey","LArADC2MeV","SG Key of ADC2MeV conditions object"} |
| SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
| const LArOnOffIdMapping * | m_cabling {} |
| SG::ReadCondHandleKey< LArAutoCorrNoise > | m_autoCorrNoiseKey {this,"AutoCorrNoiseKey","LArAutoCorrNoise","SG Key of AutoCorrNoise conditions object"} |
| SG::ReadCondHandleKey< LArBadChannelCont > | m_bcContKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"} |
| SG::ReadCondHandleKey< LArBadFebCont > | m_badFebKey {this, "BadFebKey", "LArBadFeb", "Key of BadFeb object in ConditionsStore"} |
| Gaudi::Property< std::vector< std::string > > | m_problemsToMask {this,"ProblemsToMask",{},"Bad-Channel categories to mask entirly"} |
| LArBadChannelMask | m_bcMask |
| SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"} |
| SG::ReadHandleKey< LArHitEMap > | m_hitMapKey {this,"LArHitEMapKey","LArHitEMap"} |
| SG::ReadHandleKey< LArHitEMap > | m_hitMapKey_DigiHSTruth {this,"LArHitEMap_DigiHSTruthKey","LArHitEMap_DigiHSTruth"} |
| SG::ReadHandleKey< LArDigitContainer > | m_inputDigitContainerKey |
| SG::WriteHandleKey< LArDigitContainer > | m_DigitContainerName |
| SG::WriteHandleKey< LArDigitContainer > | m_DigitContainerName_DigiHSTruth |
| Gaudi::Property< std::string > | m_randomStreamName {this, "RandomStreamName", "LArDigitization", ""} |
| ServiceHandle< IAthRNGSvc > | m_rndmGenSvc {this, "RndmSvc", "AthRNGSvc", ""} |
| Gaudi::Property< uint32_t > | m_randomSeedOffset {this, "RandomSeedOffset", 2, ""} |
| Gaudi::Property< bool > | m_useLegacyRandomSeeds |
| std::array< Gaudi::Property< double >, 4 > | m_LowGainThresh |
| std::array< Gaudi::Property< double >, 4 > | m_HighGainThresh |
| std::array< Gaudi::Property< std::pair< int, int > >, 4 > | m_gainRange |
| Gaudi::Property< unsigned > | m_maxADC {this,"maxADC",4096,"Maxium ADC value +1 (for overflow)"} |
| Gaudi::Property< int > | m_NSamples |
| Gaudi::Property< bool > | m_NoiseOnOff |
| Gaudi::Property< int > | m_firstSample |
| Gaudi::Property< bool > | m_usePhase |
| Gaudi::Property< bool > | m_RndmEvtOverlay |
| Gaudi::Property< bool > | m_isMcOverlay |
| Gaudi::Property< bool > | m_doDigiTruth |
| Gaudi::Property< bool > | m_NoiseInEMB |
| Gaudi::Property< bool > | m_NoiseInEMEC |
| Gaudi::Property< bool > | m_NoiseInHEC |
| Gaudi::Property< bool > | m_NoiseInFCAL |
| Gaudi::Property< bool > | m_pedestalNoise |
| Gaudi::Property< bool > | m_roundingNoNoise |
| Gaudi::Property< bool > | m_Windows |
| Gaudi::Property< float > | m_WindowsEtaSize |
| Gaudi::Property< float > | m_WindowsPhiSize |
| Gaudi::Property< float > | m_WindowsPtCut |
| const CaloCell_ID * | m_calocell_id {} |
| const LArEM_ID * | m_larem_id {} |
| const LArHEC_ID * | m_larhec_id {} |
| const LArFCAL_ID * | m_larfcal_id {} |
| const LArOnlineID * | m_laronline_id {} |
Static Protected Attributes | |
| static constexpr int | s_MaxNSamples = 32 |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. | |
| 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 |
Definition at line 58 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 72 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 73 of file LArHitEMapToDigitAlg.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
protected |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.
|
protected |
Definition at line 747 of file LArHitEMapToDigitAlg.cxx.
|
protected |
Definition at line 629 of file LArHitEMapToDigitAlg.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.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
virtual |
Retrieve BadChannels
Definition at line 113 of file LArHitEMapToDigitAlg.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
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.
|
inlinevirtualinherited |
Definition at line 96 of file AthCommonReentrantAlgorithm.h.
|
virtual |
Definition at line 23 of file LArHitEMapToDigitAlg.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.
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ITkPixelCablingAlg, ITkStripCablingAlg, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, and Simulation::BeamEffectsAlg.
Definition at line 68 of file AthCommonReentrantAlgorithm.cxx.
|
protected |
Definition at line 251 of file LArHitEMapToDigitAlg.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
protected |
Definition at line 214 of file LArHitEMapToDigitAlg.h.
|
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.
|
inlinevirtualinherited |
Definition at line 100 of file AthCommonReentrantAlgorithm.h.
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in HypoBase, and InputMakerBase.
Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
protected |
Definition at line 109 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 113 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 116 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 115 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 118 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 111 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 110 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 205 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 120 of file LArHitEMapToDigitAlg.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
protected |
Definition at line 128 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 130 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 180 of file LArHitEMapToDigitAlg.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 114 of file AthCommonReentrantAlgorithm.h.
|
protected |
Definition at line 172 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 105 of file LArHitEMapToDigitAlg.h.
|
protected |
|
protected |
Definition at line 149 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 123 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 124 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 125 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 178 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 206 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 208 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 207 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 209 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 141 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 165 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 183 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 185 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 189 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 187 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 104 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 170 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 168 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 106 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 107 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 191 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 117 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 136 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 132 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 176 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 135 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 193 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 108 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 137 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 174 of file LArHitEMapToDigitAlg.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
protected |
Definition at line 195 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 197 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 199 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 201 of file LArHitEMapToDigitAlg.h.
|
staticconstexprprotected |
Definition at line 70 of file LArHitEMapToDigitAlg.h.