ATLAS Offline Software
SCT_DCSConditionsTestAlg.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 
11 // Multiple inclusion protection
12 #ifndef SCT_TestDCSConditions_H
13 #define SCT_TestDCSConditions_H
14 
15 // Include Athena stuff
18 
19 // Include Gaudi stuff
20 #include "GaudiKernel/ToolHandle.h"
21 
22 // Include STL stuff
23 #include <string>
24 
28  public:
29  // Structors
30  SCT_DCSConditionsTestAlg(const std::string& name, ISvcLocator* pSvcLocator);
31  virtual ~SCT_DCSConditionsTestAlg() = default;
32 
33  // Standard Gaudi functions
34  virtual StatusCode initialize() override final;
35  virtual StatusCode execute(const EventContext& ctx) const override final;
36  virtual StatusCode finalize() override final;
37  virtual bool isReEntrant() const override final { return false; }
38 
39  private:
40  ToolHandle<ISCT_DCSConditionsTool> m_DCSConditionsTool{this, "SCT_DCSConditionsTool", "SCT_DCSConditionsTool", "Tool to retrieve SCT DCS information"};
41 };
42 
43 #endif // SCT_TestDCSConditions_H
SCT_DCSConditionsTestAlg::isReEntrant
virtual bool isReEntrant() const override final
Definition: SCT_DCSConditionsTestAlg.h:37
SCT_DCSConditionsTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Gaudi executer.
Definition: SCT_DCSConditionsTestAlg.cxx:31
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_DCSConditionsTestAlg
This class acts as a test/sample client the DCSConditions class.
Definition: SCT_DCSConditionsTestAlg.h:27
SCT_DCSConditionsTestAlg::~SCT_DCSConditionsTestAlg
virtual ~SCT_DCSConditionsTestAlg()=default
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_DCSConditionsTestAlg::finalize
virtual StatusCode finalize() override final
Gaudi finaliser.
Definition: SCT_DCSConditionsTestAlg.cxx:81
AthReentrantAlgorithm.h
SCT_DCSConditionsTestAlg::SCT_DCSConditionsTestAlg
SCT_DCSConditionsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_DCSConditionsTestAlg.cxx:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_DCSConditionsTestAlg::initialize
virtual StatusCode initialize() override final
Gaudi initialiser.
Definition: SCT_DCSConditionsTestAlg.cxx:22
SCT_DCSConditionsTestAlg::m_DCSConditionsTool
ToolHandle< ISCT_DCSConditionsTool > m_DCSConditionsTool
Definition: SCT_DCSConditionsTestAlg.h:40
ISCT_DCSConditionsTool.h