ATLAS Offline Software
SCT_SiliconTempCondAlg.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 SCT_SILICONTEMPCONDALG
6 #define SCT_SILICONTEMPCONDALG
7 
9 
15 
16 class SCT_ID;
17 
19 {
20  public:
21  SCT_SiliconTempCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
22  virtual ~SCT_SiliconTempCondAlg() = default;
23  virtual StatusCode initialize() override final;
24  virtual StatusCode execute(const EventContext& ctx) const override final;
25  virtual StatusCode finalize() override final;
26  virtual bool isReEntrant() const override final { return false; }
27 
28  private:
29  BooleanProperty m_useState{this, "UseState", true, "Flag to use state conditions folder"};
30  SG::ReadCondHandleKey<SCT_DCSStatCondData> m_readKeyState{this, "ReadKeyState", "SCT_DCSStatCondData", "Key of input state conditions data"};
31  SG::ReadCondHandleKey<SCT_DCSFloatCondData> m_readKeyTemp0{this, "ReadKeyTemp", "SCT_DCSTemp0CondData", "Key of input (hybrid) temperature conditions data"};
32  SG::WriteCondHandleKey<SCT_DCSFloatCondData> m_writeKey{this, "WriteKey", "SCT_SiliconTempCondData", "Key of output (sensor) temperature conditions data"};
33  ToolHandle<ISCT_DCSConditionsTool> m_sctDCSTool{this, "DCSConditionsTool", "InDetSCT_DCSConditionsTool", "Tool to retrived SCT DCS information"};
34  const SCT_ID* m_pHelper{nullptr};
35 };
36 
37 #endif // SCT_SILICONTEMPCONDALG
SCT_SiliconTempCondAlg::m_readKeyTemp0
SG::ReadCondHandleKey< SCT_DCSFloatCondData > m_readKeyTemp0
Definition: SCT_SiliconTempCondAlg.h:31
SCT_SiliconTempCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_SiliconTempCondAlg.cxx:88
WriteCondHandleKey.h
SCT_SiliconTempCondAlg::m_writeKey
SG::WriteCondHandleKey< SCT_DCSFloatCondData > m_writeKey
Definition: SCT_SiliconTempCondAlg.h:32
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SCT_SiliconTempCondAlg::~SCT_SiliconTempCondAlg
virtual ~SCT_SiliconTempCondAlg()=default
SCT_SiliconTempCondAlg::m_pHelper
const SCT_ID * m_pHelper
ID helper for SCT.
Definition: SCT_SiliconTempCondAlg.h:34
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_SiliconTempCondAlg::SCT_SiliconTempCondAlg
SCT_SiliconTempCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_SiliconTempCondAlg.cxx:12
SCT_SiliconTempCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_SiliconTempCondAlg.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_DCSFloatCondData.h
header file for data object for SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
SCT_SiliconTempCondAlg
Definition: SCT_SiliconTempCondAlg.h:19
SCT_SiliconTempCondAlg::m_sctDCSTool
ToolHandle< ISCT_DCSConditionsTool > m_sctDCSTool
Definition: SCT_SiliconTempCondAlg.h:33
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_DCSStatCondData.h
header file for data object for SCT_DCSConditionsStatCondAlg, SCT_DCSConditionsTool,...
SG::ReadCondHandleKey< SCT_DCSStatCondData >
SCT_ID
Definition: SCT_ID.h:68
SCT_SiliconTempCondAlg::m_readKeyState
SG::ReadCondHandleKey< SCT_DCSStatCondData > m_readKeyState
Definition: SCT_SiliconTempCondAlg.h:30
SCT_SiliconTempCondAlg::m_useState
BooleanProperty m_useState
Definition: SCT_SiliconTempCondAlg.h:29
SG::WriteCondHandleKey< SCT_DCSFloatCondData >
SCT_SiliconTempCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_SiliconTempCondAlg.cxx:34
ISCT_DCSConditionsTool.h
SCT_SiliconTempCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_SiliconTempCondAlg.cxx:17