7#ifndef INDET_DEFECTSEMULATORCONDALGIMPL_H
8#define INDET_DEFECTSEMULATORCONDALGIMPL_H
19 template <
class T_Derived>
21 using T_ID = T_Derived::T_ID;
33 template <
class T_Derived>
46 virtual StatusCode
execute(
const EventContext& ctx)
const override;
49 const T_Derived &
derived()
const {
return *
static_cast<const T_Derived *
>(
this); }
52 {
this,
"DetEleCollKey",
"",
"Key of SiDetectorElementCollection"};
55 {
this,
"WriteKey",
"",
"Key of output emulated defect conditions data"};
58 {
this,
"IDName",
"",
"Name of the ID tool to decode identifiers"};
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
const T_Derived & derived() const
detail::DetectorEmulatorCondAlgTraits< T_Derived >::T_EmulatedDefects T_EmulatedDefects
SG::ReadCondHandleKey< T_DetectorElementCollection > m_detEleCollKey
Gaudi::Property< std::string > m_idName
T_Derived::T_EmulatedDefects T_EmulatedDefects
T_Derived::T_ModuleHelper T_ModuleHelper
T_Derived::T_ModuleDesign T_ModuleDesign
InDetDD::SiDetectorElementCollection T_DetectorElementCollection