![]() |
ATLAS Offline Software
|
Algorithm which selectively copies hits from an input SCT_RDO_Container. More...
#include <StripDefectsEmulatorAlg.h>
Public Types | |
| using | T_ID_Helper |
| using | T_ID_Adapter |
| Adapter to support different types of RDO collections, and ID helpers. | |
| using | T_DefectsData |
| using | T_RDORawData |
| using | T_ModuleHelper |
| using | T_ModuleDesign |
Public Member Functions | |
| DefectsEmulatorBase (const std::string &name, ISvcLocator *pSvcLocator) | |
| virtual StatusCode | initialize () override |
| virtual StatusCode | execute (const EventContext &ctx) const override |
| StatusCode | initializeBase (unsigned int wafer_hash_max) |
| virtual StatusCode | finalize () override |
| 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 |
Static Public Attributes | |
| static constexpr ActsTrk::DetectorType | DETECTOR_TYPE |
Protected Types | |
| enum | EHistType |
Protected Member Functions | |
| virtual bool | setModuleData (const ActsDetectorElement &acts_detector_element, ModuleIdentifierMatchUtil::ModuleData_t &module_data) const override |
| Set the module data for matching for the given detector element. | |
| std::tuple< TH2 *, TH2 *, TH1 * > | findHist (unsigned int n_rows, unsigned int n_cols) const |
| Get rejected hits and noise histograms for a certain module design. | |
| 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 | |
| ServiceHandle< ITHistSvc > | m_histSvc |
| Gaudi::Property< std::string > | m_histogramGroupName |
| Gaudi::Property< std::vector< std::vector< int > > > | m_modulePattern |
| Gaudi::Property< std::vector< float > > | m_noiseProbability |
| Gaudi::Property< std::vector< std::vector< double > > > | m_noiseShape |
| std::mutex | m_histMutex |
| std::vector< unsigned int > m_dimPerHist | ATLAS_THREAD_SAFE |
| std::array< TH2 *, kNHistTypes > m_moduleHist | ATLAS_THREAD_SAFE |
| std::array< std::vector< TH2 * >, 2 > m_hist | ATLAS_THREAD_SAFE |
| std::vector< TH1 * > m_noiseShapeHist | ATLAS_THREAD_SAFE |
| std::atomic< std::size_t > | m_rejectedRDOs |
| std::atomic< std::size_t > | m_totalRDOs |
| std::atomic< std::size_t > | m_splitRDOs |
| std::atomic< std::size_t > | m_totalNoise |
| PublicToolHandle< ActsTrk::ITrackingGeometryTool > | m_trackingGeometryTool |
| ServiceHandle< IAthRNGSvc > | m_rndmSvc |
| std::string | m_rngName |
| std::vector< unsigned short > | m_noiseParamIdx |
| std::vector< std::vector< float > > | m_noiseShapeCummulative |
| unsigned int | m_maxNShape |
| bool | m_histogrammingEnabled |
Static Protected Attributes | |
| static const std::array< std::string_view, kNHistTypes > | s_histNames |
| static const std::array< std::string_view, kNHistTypes > | s_histTitles |
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 | |
| SG::ReadCondHandleKey< T_DefectsData > | m_emulatedDefects |
| SG::ReadHandleKey< SCT_RDO_Container > | m_origRdoContainerKey |
| SG::WriteHandleKey< SCT_RDO_Container > | m_rdoOutContainerKey |
| Gaudi::Property< std::string > | m_idHelperName |
| T_ID_Helper | m_idHelper |
| 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 |
Algorithm which selectively copies hits from an input SCT_RDO_Container.
Hits will be copied unless they are marked as defects in the "defects" conditions data. This is a specialization of DefectsEmulatorAlg for SCT_RDOs. RDOs referring to a group of strips are split if overlapping with a defect not covering the full group of strips.
Definition at line 194 of file StripDefectsEmulatorAlg.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
inherited |
Definition at line 37 of file DefectsEmulatorAlg.h.
|
inherited |
Adapter to support different types of RDO collections, and ID helpers.
Must have the following traits:
Definition at line 36 of file DefectsEmulatorAlg.h.
|
inherited |
Definition at line 25 of file DefectsEmulatorAlg.h.
|
inherited |
Definition at line 40 of file DefectsEmulatorAlg.h.
|
inherited |
Definition at line 39 of file DefectsEmulatorAlg.h.
|
inherited |
Definition at line 38 of file DefectsEmulatorAlg.h.
|
protectedinherited |
Definition at line 71 of file DefectsEmulatorBase.h.
|
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.
|
inherited |
|
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.
|
overridevirtualinherited |
|
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.
|
overridevirtualinherited |
Definition at line 35 of file DefectsEmulatorBase.cxx.
|
protectedinherited |
Get rejected hits and noise histograms for a certain module design.
| n_rows | the number of rows of the module design |
| n_cols | the number of columns of the module design |
Definition at line 54 of file DefectsEmulatorBase.cxx.
|
overridevirtualinherited |
|
inherited |
Definition at line 34 of file DefectsEmulatorBase.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.
Definition at line 68 of file AthCommonAlgorithm.h.
|
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.
|
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:
Definition at line 99 of file AthCommonAlgorithm.h.
|
overrideprotectedvirtualinherited |
Set the module data for matching for the given detector element.
| acts_detector_element | the detector element in question |
| module_data | destination for the module data for matching |
Implements InDet::DefectsEmulatorBase.
|
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 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
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.
|
mutableprotectedinherited |
Definition at line 84 of file DefectsEmulatorBase.h.
|
mutableprotectedinherited |
Definition at line 83 of file DefectsEmulatorBase.h.
|
mutableprotectedinherited |
Definition at line 82 of file DefectsEmulatorBase.h.
|
mutableprotectedinherited |
Definition at line 81 of file DefectsEmulatorBase.h.
|
staticconstexprinherited |
Definition at line 42 of file DefectsEmulatorAlg.h.
|
privateinherited |
Pointer to StoreGate (detector store by default).
Definition at line 393 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 55 of file DefectsEmulatorAlg.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.
|
mutableprotectedinherited |
Definition at line 79 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 58 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 102 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 56 of file DefectsEmulatorBase.h.
|
privateinherited |
Definition at line 64 of file DefectsEmulatorAlg.h.
|
privateinherited |
Definition at line 61 of file DefectsEmulatorAlg.h.
|
protectedinherited |
Definition at line 100 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 61 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 97 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 66 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 68 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 98 of file DefectsEmulatorBase.h.
|
privateinherited |
Definition at line 57 of file DefectsEmulatorAlg.h.
|
privateinherited |
Definition at line 59 of file DefectsEmulatorAlg.h.
|
mutableprotectedinherited |
Definition at line 87 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 95 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 96 of file DefectsEmulatorBase.h.
|
mutableprotectedinherited |
Definition at line 89 of file DefectsEmulatorBase.h.
|
mutableprotectedinherited |
Definition at line 90 of file DefectsEmulatorBase.h.
|
mutableprotectedinherited |
Definition at line 88 of file DefectsEmulatorBase.h.
|
protectedinherited |
Definition at line 92 of file DefectsEmulatorBase.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
staticprotectedinherited |
Definition at line 76 of file DefectsEmulatorBase.h.
|
staticprotectedinherited |
Definition at line 77 of file DefectsEmulatorBase.h.