ATLAS Offline Software
SiPropertiesTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
9 #ifndef SiPropertiesTool_h
10 #define SiPropertiesTool_h
11 
13 
17 
23 class SiPropertiesTool: public extends<AthAlgTool, ISiPropertiesTool>
24 {
25 public:
26  SiPropertiesTool(const std::string& type, const std::string& name, const IInterface* parent);
27  virtual ~SiPropertiesTool() = default;
28 
29  virtual StatusCode initialize() override;
30  virtual StatusCode finalize() override;
31 
33  virtual const InDet::SiliconProperties& getSiProperties(const IdentifierHash& elementHash, const EventContext& ctx) const override;
34 
35 private:
36  // Properties
37  std::string m_detectorName;
39 
41 };
42 
43 #endif // SiPropertiesTool_h
SiPropertiesTool::initialize
virtual StatusCode initialize() override
Definition: SiPropertiesTool.cxx:16
SiPropertiesTool::~SiPropertiesTool
virtual ~SiPropertiesTool()=default
ISiPropertiesTool.h
SiPropertiesTool::m_propertiesVector
SG::ReadCondHandleKey< InDet::SiliconPropertiesVector > m_propertiesVector
Definition: SiPropertiesTool.h:38
SiPropertiesTool::s_defaultProperties
static const InDet::SiliconProperties s_defaultProperties
Definition: SiPropertiesTool.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
SiPropertiesTool
Definition: SiPropertiesTool.h:24
SiPropertiesTool::SiPropertiesTool
SiPropertiesTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: SiPropertiesTool.cxx:7
SiPropertiesTool::getSiProperties
virtual const InDet::SiliconProperties & getSiProperties(const IdentifierHash &elementHash, const EventContext &ctx) const override
Get properties for the detector element.
Definition: SiPropertiesTool.cxx:36
ReadCondHandleKey.h
SiPropertiesTool::finalize
virtual StatusCode finalize() override
Definition: SiPropertiesTool.cxx:30
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::SiliconProperties
Definition: SiliconProperties.h:24
SG::ReadCondHandleKey< InDet::SiliconPropertiesVector >
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SiliconPropertiesVector.h
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
SiPropertiesTool::m_detectorName
std::string m_detectorName
Definition: SiPropertiesTool.h:37