ATLAS Offline Software
SCT_ConditionsSummaryTestAlg.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_ConditionsSummaryTestAlg_H
17 #define SCT_ConditionsSummaryTestAlg_H
18 
19 //Athena
21 
23 
24 //Gaudi
25 #include "GaudiKernel/ToolHandle.h"
26 
27 //STL
28 #include <string>
29 
32  public:
33  SCT_ConditionsSummaryTestAlg(const std::string &name,ISvcLocator *pSvcLocator) ;
34  virtual ~SCT_ConditionsSummaryTestAlg() = 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<IInDetConditionsTool> m_pSummaryTool{this, "SCT_ConditionsSummaryTool", "SCT_ConditionsSummaryTool", "ConditionsSummaryTool for SCT"};
44 }; //end of class
45 
46 #endif // SCT_ConditionsSummaryTestAlg_H
IInDetConditionsTool.h
SCT_ConditionsSummaryTestAlg::m_pSummaryTool
ToolHandle< IInDetConditionsTool > m_pSummaryTool
Definition: SCT_ConditionsSummaryTestAlg.h:43
SCT_ConditionsSummaryTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SCT_ConditionsSummaryTestAlg.h:40
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_ConditionsSummaryTestAlg
Example class to show calling the SCT_ConditionsSummaryTool.
Definition: SCT_ConditionsSummaryTestAlg.h:31
SCT_ConditionsSummaryTestAlg::~SCT_ConditionsSummaryTestAlg
virtual ~SCT_ConditionsSummaryTestAlg()=default
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_ConditionsSummaryTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SCT_ConditionsSummaryTestAlg.cxx:38
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_ConditionsSummaryTestAlg::finalize
virtual StatusCode finalize() override
Definition: SCT_ConditionsSummaryTestAlg.cxx:70
SCT_ConditionsSummaryTestAlg::SCT_ConditionsSummaryTestAlg
SCT_ConditionsSummaryTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_ConditionsSummaryTestAlg.cxx:22
SCT_ConditionsSummaryTestAlg::initialize
virtual StatusCode initialize() override
Definition: SCT_ConditionsSummaryTestAlg.cxx:30