ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace 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
Property holding a SG store/key/clid from which a WriteHandle is made.
Class to hold the SiDetectorElement objects to be put in the detector store.
DefectsEmulatorCondAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Conditions algorithms for emulating ITK pixel or strip defects.
virtual StatusCode initialize() override
detail::DetectorEmulatorCondAlgTraits< T_Derived >::T_ID T_ID
detail::DetectorEmulatorCondAlgTraits< T_Derived >::T_DetectorElementCollection T_DetectorElementCollection
DefectsEmulatorCondAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute(const EventContext &ctx) const override
detail::DetectorEmulatorCondAlgTraits< T_Derived >::T_ModuleDesign T_ModuleDesign
detail::DetectorEmulatorCondAlgTraits< T_Derived >::T_ModuleHelper T_ModuleHelper
SG::WriteCondHandleKey< T_EmulatedDefects > m_writeKey
detail::DetectorEmulatorCondAlgTraits< T_Derived >::T_EmulatedDefects T_EmulatedDefects
SG::ReadCondHandleKey< T_DetectorElementCollection > m_detEleCollKey
Gaudi::Property< std::string > m_idName
Primary Vertex Finder.
InDetDD::SiDetectorElementCollection T_DetectorElementCollection