![]() |
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 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 |
| Get filter decision: | |
| virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
| Set filter decision: | |
| 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 63 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 77 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 78 of file LArHitEMapToDigitAlg.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
protected |
|
protected |
Definition at line 748 of file LArHitEMapToDigitAlg.cxx.
|
protected |
Definition at line 630 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 114 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 89 of file AthCommonAlgorithm.cxx.
|
inlinevirtualinherited |
Get filter decision:
Definition at line 93 of file AthCommonAlgorithm.h.
|
virtual |
Definition at line 24 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.
|
inlineoverridevirtualinherited |
Specify if the algorithm is clonable.
Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.
Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, 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, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.
Definition at line 68 of file AthCommonAlgorithm.h.
|
protected |
Definition at line 252 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 219 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 |
Set filter decision:
Reimplemented in AthFilterAlgorithm.
Definition at line 99 of file AthCommonAlgorithm.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.
Reimplemented in AthAnalysisAlgorithm.
Definition at line 80 of file AthCommonAlgorithm.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 AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.
Definition at line 60 of file AthCommonAlgorithm.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 114 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 118 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 121 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 120 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 123 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 210 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 125 of file LArHitEMapToDigitAlg.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 393 of file AthCommonDataStore.h.
|
protected |
Definition at line 133 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 135 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 185 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 108 of file AthCommonAlgorithm.h.
|
protected |
Definition at line 177 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 110 of file LArHitEMapToDigitAlg.h.
|
protected |
|
protected |
Definition at line 154 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 128 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 129 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 130 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 183 of file LArHitEMapToDigitAlg.h.
Definition at line 211 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 213 of file LArHitEMapToDigitAlg.h.
Definition at line 212 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 214 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 146 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 170 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 188 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 190 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 194 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 192 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 109 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 175 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 173 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 111 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 112 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 196 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 122 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 141 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 137 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 181 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 140 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 198 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 113 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 142 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 179 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 200 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 202 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 204 of file LArHitEMapToDigitAlg.h.
|
protected |
Definition at line 206 of file LArHitEMapToDigitAlg.h.
|
staticconstexprprotected |
Definition at line 75 of file LArHitEMapToDigitAlg.h.