ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcRec
ZdcRec
ZdcRecV3.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// ZdcRec.h, (c) ATLAS Detector software
8
9
#ifndef ZDCRECV3_H
10
#define ZDCRECV3_H
11
12
#include <string>
13
#include <map>
14
15
16
17
//which one ???
18
#include "
AthenaBaseComps/AthAlgorithm.h
"
19
//#include "GaudiKernel/Algorithm.h"
20
#include "
StoreGate/WriteHandleKey.h
"
21
#include "
StoreGate/ReadHandleKey.h
"
22
#include "GaudiKernel/ToolHandle.h"
23
#include "GaudiKernel/ServiceHandle.h"
24
25
26
27
//#include "ZdcRec/ZdcRecNoiseTool.h"
28
//#include "ZdcRec/ZdcRecChannelTool.h"
29
30
class
ISvcLocator;
31
class
StatusCode
;
32
class
Identifier
;
33
class
StoreGateSvc
;
34
35
#include "
ZdcAnalysis/ZdcAnalysisTool.h
"
36
44
45
46
class
ZdcRecV3
:
public
AthAlgorithm
47
{
48
49
public
:
50
51
ZdcRecV3
(
const
std::string& name, ISvcLocator* pSvcLocator);
52
~ZdcRecV3
();
53
54
StatusCode
initialize
()
override
;
55
StatusCode
execute
(
const
EventContext& ctx)
override
;
56
StatusCode
finalize
()
override
;
57
58
private
:
59
61
//StoreGateSvc* m_storeGate;
62
// ServiceHandle<StoreGateSvc> m_storeGate;
63
64
66
int
m_ownPolicy
;
67
68
70
//std::string m_ttContainerName;
71
73
//std::string m_zdcModuleContainerName;
74
//std::string m_zdcModuleAuxContainerName;
75
76
78
//const xAOD::TriggerTowerContainer* m_ttContainer;
79
80
81
SG::ReadHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleContainerName
82
{
this
,
"ZdcModuleContainerName"
,
"ZdcModules"
,
""
};
83
84
SG::ReadHandleKey<xAOD::ZdcModuleContainer>
m_zdcSumContainerName
85
{
this
,
"ZdcSumContainerName"
,
"ZdcSums"
,
""
};
86
87
//Include here all tools to do the job. They will be called by the algorithm execute method
88
//Another option is to use ToolHandleArray<IZdcRecTool>, where IZdcRecTool is the factory for
89
//the tools
90
ToolHandle<ZDC::IZdcAnalysisTool>
m_zdcTool
91
{
this
,
"ZdcAnalysisTool"
,
"ZDC::ZdcAnalysisTool/ZdcAnalysisTool"
,
""
};
92
93
};
94
95
#endif
AthAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ZdcAnalysisTool.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
ZdcRecV3::~ZdcRecV3
~ZdcRecV3()
Definition
ZdcRecV3.cxx:38
ZdcRecV3::m_zdcTool
ToolHandle< ZDC::IZdcAnalysisTool > m_zdcTool
Definition
ZdcRecV3.h:91
ZdcRecV3::ZdcRecV3
ZdcRecV3(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ZdcRecV3.cxx:28
ZdcRecV3::m_ownPolicy
int m_ownPolicy
class member version of retrieving StoreGate
Definition
ZdcRecV3.h:66
ZdcRecV3::finalize
StatusCode finalize() override
Definition
ZdcRecV3.cxx:84
ZdcRecV3::initialize
StatusCode initialize() override
Definition
ZdcRecV3.cxx:42
ZdcRecV3::execute
StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
ZdcRecV3.cxx:65
ZdcRecV3::m_zdcModuleContainerName
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Digits data container name.
Definition
ZdcRecV3.h:82
ZdcRecV3::m_zdcSumContainerName
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition
ZdcRecV3.h:85
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0