ATLAS Offline Software
SCT_SiliconHVCondAlg.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_SILICONHVCONDALG
6 #define SCT_SILICONHVCONDALG
7 
9 
15 
16 class SCT_ID;
17 
19 {
20  public:
21  SCT_SiliconHVCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
22  virtual ~SCT_SiliconHVCondAlg() = 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_readKeyHV{this, "ReadKeyHV", "SCT_DCSHVCondData", "Key of input HV conditions data"};
32  SG::WriteCondHandleKey<SCT_DCSFloatCondData> m_writeKey{this, "WriteKey", "SCT_SiliconBiasVoltCondData", "Key of output bias voltage 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_SILICONHVCONDALG
SCT_SiliconHVCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_SiliconHVCondAlg.cxx:34
SCT_SiliconHVCondAlg::m_pHelper
const SCT_ID * m_pHelper
ID helper for SCT.
Definition: SCT_SiliconHVCondAlg.h:34
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SCT_SiliconHVCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_SiliconHVCondAlg.cxx:17
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
SCT_DCSFloatCondData.h
header file for data object for SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
ReadCondHandleKey.h
AthReentrantAlgorithm.h
SCT_SiliconHVCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_SiliconHVCondAlg.h:26
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_SiliconHVCondAlg::m_sctDCSTool
ToolHandle< ISCT_DCSConditionsTool > m_sctDCSTool
Definition: SCT_SiliconHVCondAlg.h:33
SCT_SiliconHVCondAlg::m_readKeyState
SG::ReadCondHandleKey< SCT_DCSStatCondData > m_readKeyState
Definition: SCT_SiliconHVCondAlg.h:30
SCT_SiliconHVCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_SiliconHVCondAlg.cxx:88
SCT_DCSStatCondData.h
header file for data object for SCT_DCSConditionsStatCondAlg, SCT_DCSConditionsTool,...
SG::ReadCondHandleKey< SCT_DCSStatCondData >
SCT_SiliconHVCondAlg::m_useState
BooleanProperty m_useState
Definition: SCT_SiliconHVCondAlg.h:29
SCT_ID
Definition: SCT_ID.h:68
SCT_SiliconHVCondAlg::m_readKeyHV
SG::ReadCondHandleKey< SCT_DCSFloatCondData > m_readKeyHV
Definition: SCT_SiliconHVCondAlg.h:31
SG::WriteCondHandleKey< SCT_DCSFloatCondData >
SCT_SiliconHVCondAlg::~SCT_SiliconHVCondAlg
virtual ~SCT_SiliconHVCondAlg()=default
SCT_SiliconHVCondAlg::m_writeKey
SG::WriteCondHandleKey< SCT_DCSFloatCondData > m_writeKey
Definition: SCT_SiliconHVCondAlg.h:32
ISCT_DCSConditionsTool.h
SCT_SiliconHVCondAlg
Definition: SCT_SiliconHVCondAlg.h:19
SCT_SiliconHVCondAlg::SCT_SiliconHVCondAlg
SCT_SiliconHVCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_SiliconHVCondAlg.cxx:12