ATLAS Offline Software
SCT_DCSConditionsHVCondAlg.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_DCSCONDITIONSHVCONDALG
8 #define SCT_DCSCONDITIONSHVCONDALG
9 
11 
16 
17 #include "Gaudi/Property.h"
18 
20 {
21  public:
22  SCT_DCSConditionsHVCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
23  virtual ~SCT_DCSConditionsHVCondAlg() = 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/HV", "Key of input (raw) HV conditions folder"};
31  SG::WriteCondHandleKey<SCT_DCSFloatCondData> m_writeKey{this, "WriteKey", "SCT_DCSHVCondData", "Key of output (derived) HV conditions data"};
32 
33  BooleanProperty m_returnHVTemp{this, "ReturnHVTemp", true};
34 };
35 
36 #endif // SCT_DCSCONDITIONSHVCONDALG
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
SCT_DCSConditionsHVCondAlg::~SCT_DCSConditionsHVCondAlg
virtual ~SCT_DCSConditionsHVCondAlg()=default
WriteCondHandleKey.h
SCT_DCSConditionsHVCondAlg::m_readKey
SG::ReadCondHandleKey< CondAttrListCollection > m_readKey
Definition: SCT_DCSConditionsHVCondAlg.h:30
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SCT_DCSConditionsHVCondAlg::SCT_DCSConditionsHVCondAlg
SCT_DCSConditionsHVCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_DCSConditionsHVCondAlg.cxx:12
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_DCSConditionsHVCondAlg::finalize
virtual StatusCode finalize() override final
Definition: SCT_DCSConditionsHVCondAlg.cxx:91
SCT_DCSFloatCondData.h
header file for data object for SCT_DCSConditions{HV,Temp}CondAlg, SCT_DCSConditionsTool,...
ReadCondHandleKey.h
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_DCSConditionsHVCondAlg::m_returnHVTemp
BooleanProperty m_returnHVTemp
Definition: SCT_DCSConditionsHVCondAlg.h:33
SG::ReadCondHandleKey< CondAttrListCollection >
SCT_DCSConditionsHVCondAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_DCSConditionsHVCondAlg.h:27
SCT_DCSConditionsHVCondAlg::initialize
virtual StatusCode initialize() override final
Definition: SCT_DCSConditionsHVCondAlg.cxx:17
SCT_DCSConditionsHVCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: SCT_DCSConditionsHVCondAlg.cxx:28
SG::WriteCondHandleKey< SCT_DCSFloatCondData >
SCT_DCSConditionsHVCondAlg
Definition: SCT_DCSConditionsHVCondAlg.h:20
SCT_DCSConditionsHVCondAlg::m_writeKey
SG::WriteCondHandleKey< SCT_DCSFloatCondData > m_writeKey
Definition: SCT_DCSConditionsHVCondAlg.h:31