ATLAS Offline Software
SCT_DCSConditionsTempCondAlg.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef SCT_DCSCONDITIONSTEMPCONDALG
8 #define SCT_DCSCONDITIONSTEMPCONDALG
9 
11 
16 
17 #include "Gaudi/Property.h"
18 
20 {
21  public:
22  SCT_DCSConditionsTempCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
23  virtual ~SCT_DCSConditionsTempCondAlg() = default;
24  virtual StatusCode initialize() override final;
25  virtual StatusCode execute(const EventContext& ctx) const override final;
26  virtual StatusCode finalize() override final;
27  virtual bool isReEntrant() const override final { return false; }
28 
29  private:
30  SG::ReadCondHandleKey<CondAttrListCollection> m_readKey{this, "ReadKey", "/SCT/DCS/MODTEMP", "Key of input (raw) temperature conditions folder"};
31  SG::WriteCondHandleKey<SCT_DCSFloatCondData> m_writeKey{this, "WriteKey", "SCT_DCSTemp0CondData", "Key of output (derived) temperature conditions data"};
32 
33  BooleanProperty m_returnHVTemp{this, "ReturnHVTemp", true};
34 };
35 
36 #endif // SCT_DCSCONDITIONSTEMPCONDALG
SCT_DCSConditionsTempCondAlg::SCT_DCSConditionsTempCondAlg
SCT_DCSConditionsTempCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_DCSConditionsTempCondAlg.cxx:11
SCT_DCSConditionsTempCondAlg::~SCT_DCSConditionsTempCondAlg
virtual ~SCT_DCSConditionsTempCondAlg()=default
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
SCT_DCSConditionsTempCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: SCT_DCSConditionsTempCondAlg.h:30
SCT_DCSConditionsTempCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_DCSConditionsTempCondAlg.cxx:90
WriteCondHandleKey.h
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SCT_DCSConditionsTempCondAlg::m_returnHVTemp
BooleanProperty m_returnHVTemp
Definition: SCT_DCSConditionsTempCondAlg.h:33
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_DCSConditionsTempCondAlg::m_writeKey
SG::WriteCondHandleKey< SCT_DCSFloatCondData > m_writeKey
Definition: SCT_DCSConditionsTempCondAlg.h:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_DCSConditionsTempCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_DCSConditionsTempCondAlg.cxx:16
SG::ReadCondHandleKey< CondAttrListCollection >
SCT_DCSConditionsTempCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_DCSConditionsTempCondAlg.h:27
SG::WriteCondHandleKey< SCT_DCSFloatCondData >
SCT_DCSConditionsTempCondAlg
Definition: SCT_DCSConditionsTempCondAlg.h:20
SCT_DCSConditionsTempCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_DCSConditionsTempCondAlg.cxx:27