ATLAS Offline Software
ISiliconConditionsTool.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 ISiliconConditionsTool_h
10 #define ISiliconConditionsTool_h
11 //Gaudi Includes
12 #include "GaudiKernel/IAlgTool.h"
13 #include "GaudiKernel/EventContext.h"
14 // STL includes
15 #include <string>
16 
17 //forward declarations
18 class Identifier;
19 class IdentifierHash;
24 class ISiliconConditionsTool: virtual public IAlgTool {
25 public:
26  virtual ~ISiliconConditionsTool() = default;
27 
30 
31  //@name methods taking the detector identifier
33  virtual float temperature(const Identifier& detectorElement, const EventContext& ctx) const = 0;
34  virtual float biasVoltage(const Identifier& detectorElement, const EventContext& ctx) const = 0;
35  virtual float depletionVoltage(const Identifier& detectorElement, const EventContext& ctx) const = 0;
37  //@name methods taking the detector hash identifier
39  virtual float temperature(const IdentifierHash& detectorElement, const EventContext& ctx) const = 0;
40  virtual float biasVoltage(const IdentifierHash& detectorElement, const EventContext& ctx) const = 0;
41  virtual float depletionVoltage(const IdentifierHash& detectorElement, const EventContext& ctx) const = 0;
43 
44 };
45 
46 #endif // ISiliconConditionsTool_h
ISiliconConditionsTool::biasVoltage
virtual float biasVoltage(const IdentifierHash &detectorElement, const EventContext &ctx) const =0
ISiliconConditionsTool::temperature
virtual float temperature(const Identifier &detectorElement, const EventContext &ctx) const =0
ISiliconConditionsTool::biasVoltage
virtual float biasVoltage(const Identifier &detectorElement, const EventContext &ctx) const =0
ISiliconConditionsTool::temperature
virtual float temperature(const IdentifierHash &detectorElement, const EventContext &ctx) const =0
ISiliconConditionsTool::DeclareInterfaceID
DeclareInterfaceID(ISiliconConditionsTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
ISiliconConditionsTool
Definition: ISiliconConditionsTool.h:24
ISiliconConditionsTool::depletionVoltage
virtual float depletionVoltage(const IdentifierHash &detectorElement, const EventContext &ctx) const =0
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
ISiliconConditionsTool::depletionVoltage
virtual float depletionVoltage(const Identifier &detectorElement, const EventContext &ctx) const =0
ISiliconConditionsTool::~ISiliconConditionsTool
virtual ~ISiliconConditionsTool()=default
Identifier
Definition: IdentifierFieldParser.cxx:14