ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcRec
ZdcRec
ZdcRecV3Decode.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 ZDCRECV3Decode_H
10
#define ZDCRECV3Decode_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
class
ZdcRecChannelToolV2
;
36
#include "
xAODTrigL1Calo/TriggerTowerContainer.h
"
37
#include "
xAODForward/ZdcModuleContainer.h
"
38
#include "
xAODForward/ZdcModuleAuxContainer.h
"
39
47
48
49
class
ZdcRecV3Decode
:
public
AthAlgorithm
50
{
51
52
public
:
53
54
ZdcRecV3Decode
(
const
std::string& name, ISvcLocator* pSvcLocator);
55
~ZdcRecV3Decode
();
56
57
StatusCode
initialize
()
override
;
58
StatusCode
execute
(
const
EventContext& ctx)
override
;
59
StatusCode
finalize
()
override
;
60
61
private
:
62
63
int
m_ownPolicy
;
64
65
SG::ReadHandleKey<xAOD::TriggerTowerContainer>
m_ttContainerName
66
{
this
,
"DigitsContainerName"
,
"ZdcTriggerTowers"
,
""
};
67
68
SG::WriteHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleContainerName
69
{
this
,
"ZdcModuleContainerName"
,
"ZdcModules"
,
""
};
70
71
SG::WriteHandleKey<xAOD::ZdcModuleContainer>
m_zdcSumContainerName
72
{
this
,
"ZdcSumContainerName"
,
"ZdcSums"
,
""
};
73
74
//Include here all tools to do the job. They will be called by the algorithm execute method
75
//Another option is to use ToolHandleArray<IZdcRecTool>, where IZdcRecTool is the factory for
76
//the tools
77
ToolHandle<ZdcRecChannelToolV2>
m_ChannelTool
78
{
this
,
"ChannelTool"
,
"ZdcRecChannelToolV2"
,
""
};
79
80
};
81
82
#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.
TriggerTowerContainer.h
ZdcModuleAuxContainer.h
ZdcModuleContainer.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
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
ZdcRecChannelToolV2
Definition
ZdcRecChannelToolV2.h:38
ZdcRecV3Decode::m_zdcModuleContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Definition
ZdcRecV3Decode.h:69
ZdcRecV3Decode::m_ownPolicy
int m_ownPolicy
Definition
ZdcRecV3Decode.h:63
ZdcRecV3Decode::ZdcRecV3Decode
ZdcRecV3Decode(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ZdcRecV3Decode.cxx:31
ZdcRecV3Decode::m_ChannelTool
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
Definition
ZdcRecV3Decode.h:78
ZdcRecV3Decode::execute
StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
ZdcRecV3Decode.cxx:70
ZdcRecV3Decode::finalize
StatusCode finalize() override
Definition
ZdcRecV3Decode.cxx:114
ZdcRecV3Decode::m_zdcSumContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition
ZdcRecV3Decode.h:72
ZdcRecV3Decode::initialize
StatusCode initialize() override
Definition
ZdcRecV3Decode.cxx:45
ZdcRecV3Decode::m_ttContainerName
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_ttContainerName
Definition
ZdcRecV3Decode.h:66
ZdcRecV3Decode::~ZdcRecV3Decode
~ZdcRecV3Decode()
Definition
ZdcRecV3Decode.cxx:41
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