ATLAS Offline Software
SCT_RODVetoTestAlg.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_RODVetoTestAlg_H
17 #define SCT_RODVetoTestAlg_H
18 
19 //Athena
21 
22 //Gaudi
24 #include "GaudiKernel/ToolHandle.h"
25 
26 //STL
27 #include <string>
28 
31  public:
32  SCT_RODVetoTestAlg(const std::string &name,ISvcLocator *pSvcLocator);
33  virtual ~SCT_RODVetoTestAlg() = default;
34 
35  virtual StatusCode initialize() override;
36  virtual StatusCode execute(const EventContext& ctx) const override;
37  virtual StatusCode finalize() override;
39  virtual bool isClonable() const override { return true; };
40 
41  private:
42  ToolHandle<ISCT_ConditionsTool> m_pRODVetoTool{this, "SCT_RODVetoTool", "SCT_RODVetoTool", "Tool to retrieve bad modules due to vetoed RODs"};
43 }; //end of class
44 
45 #endif // SCT_RODVetoTestAlg_H
ISCT_ConditionsTool.h
SCT_RODVetoTestAlg
Example algorithm to show calling the SCT_RODVeto to exclude bad components.
Definition: SCT_RODVetoTestAlg.h:30
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_RODVetoTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SCT_RODVetoTestAlg.h:39
SCT_RODVetoTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SCT_RODVetoTestAlg.cxx:35
SCT_RODVetoTestAlg::finalize
virtual StatusCode finalize() override
Definition: SCT_RODVetoTestAlg.cxx:50
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
SCT_RODVetoTestAlg::SCT_RODVetoTestAlg
SCT_RODVetoTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_RODVetoTestAlg.cxx:19
SCT_RODVetoTestAlg::initialize
virtual StatusCode initialize() override
Definition: SCT_RODVetoTestAlg.cxx:27
SCT_RODVetoTestAlg::m_pRODVetoTool
ToolHandle< ISCT_ConditionsTool > m_pRODVetoTool
Definition: SCT_RODVetoTestAlg.h:42
SCT_RODVetoTestAlg::~SCT_RODVetoTestAlg
virtual ~SCT_RODVetoTestAlg()=default