ATLAS Offline Software
TRTDigitization.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRT_DIGITIZATION_TRTDIGITIZATION_H
6 #define TRT_DIGITIZATION_TRTDIGITIZATION_H
7 
8 #include "GaudiKernel/ToolHandle.h"
11 
13 class TRTDigitization : public AthAlgorithm {
14 
15 public:
16 
18  TRTDigitization(const std::string &name,ISvcLocator *pSvcLocator);
19 
20  virtual ~TRTDigitization() = default;
21 
23  virtual StatusCode initialize() override final;
24  virtual StatusCode execute() override final;
25  virtual bool isClonable() const override final { return true; }
26 
27 private:
28  ToolHandle<IPileUpTool> m_digTool{this,"DigitizationTool", "TRTDigitizationTool", "AthAlgTool which performs the TRT digitization"};
29 };
30 
31 #endif // TRT_DIGITIZATION_TRTDIGITIZATION_H
TRTDigitization::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition: TRTDigitization.h:28
TRTDigitization::TRTDigitization
TRTDigitization(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters.
Definition: TRTDigitization.cxx:10
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
AthAlgorithm.h
TRTDigitization::initialize
virtual StatusCode initialize() override final
Basic algorithm methods.
Definition: TRTDigitization.cxx:18
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRTDigitization
Top algorithm class for TRT digitization.
Definition: TRTDigitization.h:13
IPileUpTool.h
a call-back interface for tools that merge pileup events information An IPileUpTool is called back fo...
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TRTDigitization::isClonable
virtual bool isClonable() const override final
Definition: TRTDigitization.h:25
TRTDigitization::execute
virtual StatusCode execute() override final
Definition: TRTDigitization.cxx:28
TRTDigitization::~TRTDigitization
virtual ~TRTDigitization()=default