ATLAS Offline Software
SCT_StripVetoTestAlg.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 
15 #ifndef SCT_StripVetoTestAlg_H
16 #define SCT_StripVetoTestAlg_H
17 
18 //Athena
20 
22 
23 //Gaudi
24 #include "GaudiKernel/ToolHandle.h"
25 
27  public:
28  SCT_StripVetoTestAlg(const std::string& name, ISvcLocator* pSvcLocator);
29  virtual ~SCT_StripVetoTestAlg() = default;
30 
31  virtual StatusCode initialize() override;
32  virtual StatusCode execute(const EventContext& ctx) const override;
33  virtual StatusCode finalize() override;
35  virtual bool isClonable() const override { return true; };
36 
37  private:
38  ToolHandle<ISCT_ConditionsTool> m_stripVetoTool{this, "StripVetoTool", "SCT_StripVetoTool", "Tool to retrieve vetoed strips"};
39 };
40 
41 #endif // SCT_StripVetoTestAlg_H
ISCT_ConditionsTool.h
SCT_StripVetoTestAlg::SCT_StripVetoTestAlg
SCT_StripVetoTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_StripVetoTestAlg.cxx:21
SCT_StripVetoTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SCT_StripVetoTestAlg.cxx:39
SCT_StripVetoTestAlg::~SCT_StripVetoTestAlg
virtual ~SCT_StripVetoTestAlg()=default
SCT_StripVetoTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SCT_StripVetoTestAlg.h:35
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_StripVetoTestAlg
Definition: SCT_StripVetoTestAlg.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_StripVetoTestAlg::finalize
virtual StatusCode finalize() override
Definition: SCT_StripVetoTestAlg.cxx:55
AthReentrantAlgorithm.h
SCT_StripVetoTestAlg::initialize
virtual StatusCode initialize() override
Definition: SCT_StripVetoTestAlg.cxx:26
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_StripVetoTestAlg::m_stripVetoTool
ToolHandle< ISCT_ConditionsTool > m_stripVetoTool
Definition: SCT_StripVetoTestAlg.h:38