ATLAS Offline Software
SCT_ByteStreamErrorsTestAlg.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_ByteStreamErrorsTestAlg_H
16 #define SCT_ByteStreamErrorsTestAlg_H
17 
18 //Athena
20 
22 
23 //Gaudi
24 #include "GaudiKernel/ToolHandle.h"
25 
27  public:
28  SCT_ByteStreamErrorsTestAlg(const std::string& name, ISvcLocator* pSvcLocator);
29  virtual ~SCT_ByteStreamErrorsTestAlg() = 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_ByteStreamErrorsTool> m_bsErrTool{this, "ByteStreamErrorsTool", "SCT_ByteStreamErrorsTool", "Tool to retrieve SCT bytestream errors"};
39 };
40 
41 #endif // SCT_ByteStreamErrorsTestAlg_H
ISCT_ByteStreamErrorsTool.h
SCT_ByteStreamErrorsTestAlg::SCT_ByteStreamErrorsTestAlg
SCT_ByteStreamErrorsTestAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: SCT_ByteStreamErrorsTestAlg.cxx:15
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SCT_ByteStreamErrorsTestAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition: SCT_ByteStreamErrorsTestAlg.h:35
SCT_ByteStreamErrorsTestAlg
Definition: SCT_ByteStreamErrorsTestAlg.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SCT_ByteStreamErrorsTestAlg::initialize
virtual StatusCode initialize() override
Definition: SCT_ByteStreamErrorsTestAlg.cxx:20
AthReentrantAlgorithm.h
SCT_ByteStreamErrorsTestAlg::finalize
virtual StatusCode finalize() override
Definition: SCT_ByteStreamErrorsTestAlg.cxx:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SCT_ByteStreamErrorsTestAlg::~SCT_ByteStreamErrorsTestAlg
virtual ~SCT_ByteStreamErrorsTestAlg()=default
SCT_ByteStreamErrorsTestAlg::m_bsErrTool
ToolHandle< ISCT_ByteStreamErrorsTool > m_bsErrTool
Definition: SCT_ByteStreamErrorsTestAlg.h:38
SCT_ByteStreamErrorsTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: SCT_ByteStreamErrorsTestAlg.cxx:30