ATLAS Offline Software
SCT_MonitorConditionsTestAlg.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
16 #ifndef SCT_MonitorConditionsTestAlg_H
17 #define SCT_MonitorConditionsTestAlg_H
18 
19 // Athena
21 
23 
24 //Gaudi
25 #include "GaudiKernel/ToolHandle.h"
26 
27 //Forward declarations
28 class SCT_ID;
29 
32  public:
33  SCT_MonitorConditionsTestAlg(const std::string &name,ISvcLocator *pSvcLocator) ;
34  virtual ~SCT_MonitorConditionsTestAlg() = default;
35 
36  virtual StatusCode initialize() override;
37  virtual StatusCode execute(const EventContext& ctx) const override;
38  virtual StatusCode finalize() override;
40  virtual bool isClonable() const override { return true; };
41 
42  private:
43  ToolHandle<ISCT_MonitorConditionsTool> m_pMonitorConditionsTool{this, "SCT_MonitorConditionsTool", "SCT_MonitorConditionsTool", "Tool to retrieve noisy strip information"};
44  const SCT_ID* m_sctId{nullptr};
45 }; // end of class
46 
47 #endif // SCT_MonitorConditionsTestAlg_H
SCT_MonitorConditionsTestAlg::finalize
virtual StatusCode finalize() override
Definition: SCT_MonitorConditionsTestAlg.cxx:232
SCT_MonitorConditionsTestAlg::initialize
virtual StatusCode initialize() override
Definition: SCT_MonitorConditionsTestAlg.cxx:27
SCT_MonitorConditionsTestAlg::SCT_MonitorConditionsTestAlg
SCT_MonitorConditionsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_MonitorConditionsTestAlg.cxx:20
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_MonitorConditionsTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SCT_MonitorConditionsTestAlg.cxx:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ISCT_MonitorConditionsTool.h
SCT_MonitorConditionsTestAlg::m_sctId
const SCT_ID * m_sctId
Definition: SCT_MonitorConditionsTestAlg.h:44
AthReentrantAlgorithm.h
SCT_MonitorConditionsTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SCT_MonitorConditionsTestAlg.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SCT_MonitorConditionsTestAlg::m_pMonitorConditionsTool
ToolHandle< ISCT_MonitorConditionsTool > m_pMonitorConditionsTool
Definition: SCT_MonitorConditionsTestAlg.h:43
SCT_MonitorConditionsTestAlg::~SCT_MonitorConditionsTestAlg
virtual ~SCT_MonitorConditionsTestAlg()=default
SCT_ID
Definition: SCT_ID.h:68
SCT_MonitorConditionsTestAlg
Example class to show calling the SCT_MonitorConditions.
Definition: SCT_MonitorConditionsTestAlg.h:31