ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZDC_SimuDigitization
ZDC_SimuDigitization
ZDC_DigiTop.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
6
#ifndef ZDC_DIGITIZATION_H
7
#define ZDC_DIGITIZATION_H
8
9
#include "
AthenaBaseComps/AthAlgorithm.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
12
class
IPileUpTool
;
13
14
class
ZDC_DigiTop
:
public
AthAlgorithm
15
{
16
17
public
:
18
19
ZDC_DigiTop
(
const
std::string& name, ISvcLocator* pSvcLocator);
20
21
virtual
~ZDC_DigiTop
() =
default
;
22
23
virtual
StatusCode
initialize
() override final;
24
virtual StatusCode
execute
(
const
EventContext& ctx) override final;
25
virtual
bool
isClonable
()
const
override final {
return
true
; }
26
27
private
:
28
29
ToolHandle<IPileUpTool>
m_digTool
{
this
,
"DigitizationTool"
,
"ZDC_PileUpTool"
,
""
};
30
};
31
32
#endif
AthAlgorithm.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
IPileUpTool
Definition
IPileUpTool.h:24
ZDC_DigiTop::isClonable
virtual bool isClonable() const override final
Specify if the algorithm is clonable.
Definition
ZDC_DigiTop.h:25
ZDC_DigiTop::initialize
virtual StatusCode initialize() override final
Definition
ZDC_DigiTop.cxx:13
ZDC_DigiTop::execute
virtual StatusCode execute(const EventContext &ctx) override final
Execute method.
Definition
ZDC_DigiTop.cxx:20
ZDC_DigiTop::m_digTool
ToolHandle< IPileUpTool > m_digTool
Definition
ZDC_DigiTop.h:29
ZDC_DigiTop::~ZDC_DigiTop
virtual ~ZDC_DigiTop()=default
ZDC_DigiTop::ZDC_DigiTop
ZDC_DigiTop(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ZDC_DigiTop.cxx:8
const
Generated on
for ATLAS Offline Software by
1.17.0