ATLAS Offline Software
Loading...
Searching...
No Matches
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
23class SiPropertiesTool: public extends<AthAlgTool, ISiPropertiesTool>
24{
25public:
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
35private:
36 // Properties
37 std::string m_detectorName;
39
41};
42
43#endif // SiPropertiesTool_h
This is a "hash" representation of an Identifier.
SiPropertiesTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize() override
static const InDet::SiliconProperties s_defaultProperties
virtual ~SiPropertiesTool()=default
virtual const InDet::SiliconProperties & getSiProperties(const IdentifierHash &elementHash, const EventContext &ctx) const override
Get properties for the detector element.
virtual StatusCode finalize() override
SG::ReadCondHandleKey< InDet::SiliconPropertiesVector > m_propertiesVector
std::string m_detectorName