Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DefectsEmulatorCondAlgImpl.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef INDET_DEFECTSEMULATORCONDALGIMPL_H
8 #define INDET_DEFECTSEMULATORCONDALGIMPL_H
9 
13 
15 
16 namespace InDet {
17 
18  namespace detail {
19  template <class T_Derived>
21  using T_ID = T_Derived::T_ID;
22  using T_ModuleHelper = T_Derived::T_ModuleHelper;
23  using T_EmulatedDefects = T_Derived::T_EmulatedDefects;
25  using T_ModuleDesign = T_Derived::T_ModuleDesign;
26  };
27  }
28 
33  template <class T_Derived>
35  {
36  public:
42 
44 
45  virtual StatusCode initialize() override;
46  virtual StatusCode execute(const EventContext& ctx) const override;
47 
48  protected:
49  const T_Derived &derived() const { return *static_cast<const T_Derived *>(this); }
50 
52  {this, "DetEleCollKey", "", "Key of SiDetectorElementCollection"};
53 
55  {this, "WriteKey", "", "Key of output emulated defect conditions data"};
56 
57  Gaudi::Property<std::string> m_idName
58  {this, "IDName", "", "Name of the ID tool to decode identifiers"};
59 
60  const T_ID* m_idHelper = nullptr;
61 
62  };
63 }
64 
66 #endif
InDet::DefectsEmulatorCondAlgBase
Conditions algorithms for emulating ITK pixel defects.
Definition: DefectsEmulatorCondAlgBase.h:32
InDet::DefectsEmulatorCondAlgImpl::initialize
virtual StatusCode initialize() override
InDet::DefectsEmulatorCondAlgImpl::m_idName
Gaudi::Property< std::string > m_idName
Definition: DefectsEmulatorCondAlgImpl.h:58
InDet::DefectsEmulatorCondAlgImpl< StripDefectsEmulatorCondAlg >::T_ModuleDesign
detail::DetectorEmulatorCondAlgTraits< StripDefectsEmulatorCondAlg >::T_ModuleDesign T_ModuleDesign
Definition: DefectsEmulatorCondAlgImpl.h:41
InDetDD::SiDetectorElementCollection
Definition: SiDetectorElementCollection.h:30
InDet::detail::DetectorEmulatorCondAlgTraits::T_ModuleDesign
T_Derived::T_ModuleDesign T_ModuleDesign
Definition: DefectsEmulatorCondAlgImpl.h:25
InDet::DefectsEmulatorCondAlgImpl< StripDefectsEmulatorCondAlg >::T_EmulatedDefects
detail::DetectorEmulatorCondAlgTraits< StripDefectsEmulatorCondAlg >::T_EmulatedDefects T_EmulatedDefects
Definition: DefectsEmulatorCondAlgImpl.h:39
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::DefectsEmulatorCondAlgImpl::execute
virtual StatusCode execute(const EventContext &ctx) const override
InDet::DefectsEmulatorCondAlgBase::DefectsEmulatorCondAlgBase
DefectsEmulatorCondAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition: DefectsEmulatorCondAlgBase.cxx:17
InDet::DefectsEmulatorCondAlgImpl::m_idHelper
const T_ID * m_idHelper
Definition: DefectsEmulatorCondAlgImpl.h:60
InDet::detail::DetectorEmulatorCondAlgTraits::T_EmulatedDefects
T_Derived::T_EmulatedDefects T_EmulatedDefects
Definition: DefectsEmulatorCondAlgImpl.h:23
detail
Definition: extract_histogram_tag.cxx:14
DefectsEmulatorCondAlgBase.h
InDet::detail::DetectorEmulatorCondAlgTraits
Definition: DefectsEmulatorCondAlgImpl.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::DefectsEmulatorCondAlgImpl
Conditions algorithms for emulating ITK pixel or strip defects.
Definition: DefectsEmulatorCondAlgImpl.h:35
InDet::DefectsEmulatorCondAlgImpl::m_writeKey
SG::WriteCondHandleKey< T_EmulatedDefects > m_writeKey
Definition: DefectsEmulatorCondAlgImpl.h:55
ReadCondHandleKey.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
SiDetectorElementCollection.h
InDet::DefectsEmulatorCondAlgImpl< StripDefectsEmulatorCondAlg >::T_ID
detail::DetectorEmulatorCondAlgTraits< StripDefectsEmulatorCondAlg >::T_ID T_ID
Definition: DefectsEmulatorCondAlgImpl.h:37
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
InDet::DefectsEmulatorCondAlgImpl::derived
const T_Derived & derived() const
Definition: DefectsEmulatorCondAlgImpl.h:49
InDet::DefectsEmulatorCondAlgImpl< StripDefectsEmulatorCondAlg >::T_ModuleHelper
detail::DetectorEmulatorCondAlgTraits< StripDefectsEmulatorCondAlg >::T_ModuleHelper T_ModuleHelper
Definition: DefectsEmulatorCondAlgImpl.h:38
InDet::detail::DetectorEmulatorCondAlgTraits::T_ModuleHelper
T_Derived::T_ModuleHelper T_ModuleHelper
Definition: DefectsEmulatorCondAlgImpl.h:22
DefectsEmulatorCondAlgImpl.icc
InDet::DefectsEmulatorCondAlgImpl::m_detEleCollKey
SG::ReadCondHandleKey< T_DetectorElementCollection > m_detEleCollKey
Definition: DefectsEmulatorCondAlgImpl.h:52
SG::WriteCondHandleKey< T_EmulatedDefects >
InDet::detail::DetectorEmulatorCondAlgTraits::T_ID
T_Derived::T_ID T_ID
Definition: DefectsEmulatorCondAlgImpl.h:21