ATLAS Offline Software
SiElementPropertiesTableCondAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef SiElementPropertiesTableCondAlg_h
6 #define SiElementPropertiesTableCondAlg_h
7 
11 
14 
15 class SCT_ID;
16 
17 namespace InDet {
18 
30  public:
35  SiElementPropertiesTableCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
36  virtual ~SiElementPropertiesTableCondAlg() override = default;
37 
38  virtual StatusCode initialize() override final;
39  virtual StatusCode execute(const EventContext& ctx) const override final;
40  virtual StatusCode finalize() override final;
41  virtual bool isReEntrant() const override final { return false; }
43 
44  private:
49  SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_readKey{this, "ReadKey", "SCT_DetectorElementCollection", "Key of input SiDetectorElementCollection for SCT"};
51 
56  SG::WriteCondHandleKey<InDet::SiElementPropertiesTable> m_writeKey{this, "WriteKey", "SCT_ElementPropertiesTable", "Key of output SiElementPropertiesTable for SCT"};
58 
63  FloatProperty m_epsWidth{this, "EpsWidth", 0.02, "Safety margin for half-widths, in cm"};
65 
70  const SCT_ID* m_idHelper{nullptr};
72  };
73 
74 }
75 
76 #endif // SiElementPropertiesTableCondAlg_h
SiElementPropertiesTable.h
InDet::SiElementPropertiesTableCondAlg::m_writeKey
SG::WriteCondHandleKey< InDet::SiElementPropertiesTable > m_writeKey
Definition: SiElementPropertiesTableCondAlg.h:56
InDet::SiElementPropertiesTableCondAlg::m_idHelper
const SCT_ID * m_idHelper
Definition: SiElementPropertiesTableCondAlg.h:70
InDet::SiElementPropertiesTableCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SiElementPropertiesTableCondAlg.h:41
InDet::SiElementPropertiesTableCondAlg::m_epsWidth
FloatProperty m_epsWidth
Definition: SiElementPropertiesTableCondAlg.h:63
InDet::SiElementPropertiesTableCondAlg
Definition: SiElementPropertiesTableCondAlg.h:29
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
WriteCondHandleKey.h
InDet::SiElementPropertiesTableCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SiElementPropertiesTableCondAlg.cxx:19
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadCondHandleKey.h
AthReentrantAlgorithm.h
InDet::SiElementPropertiesTableCondAlg::SiElementPropertiesTableCondAlg
SiElementPropertiesTableCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SiElementPropertiesTableCondAlg.cxx:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::SiElementPropertiesTableCondAlg::~SiElementPropertiesTableCondAlg
virtual ~SiElementPropertiesTableCondAlg() override=default
InDet::SiElementPropertiesTableCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SiElementPropertiesTableCondAlg.cxx:75
SiDetectorElementCollection.h
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection >
SCT_ID
Definition: SCT_ID.h:68
InDet::SiElementPropertiesTableCondAlg::m_readKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_readKey
Definition: SiElementPropertiesTableCondAlg.h:49
InDet::SiElementPropertiesTableCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SiElementPropertiesTableCondAlg.cxx:32
SG::WriteCondHandleKey< InDet::SiElementPropertiesTable >