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-2026 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
#include "Gaudi/Property.h"
25
#include "
AthContainers/OwnershipPolicy.h
"
26
27
28
29
//#include "ZdcRec/ZdcRecNoiseTool.h"
30
//#include "ZdcRec/ZdcRecChannelTool.h"
31
32
class
ISvcLocator;
33
class
StatusCode
;
34
class
Identifier
;
35
class
StoreGateSvc
;
36
37
class
ZdcRecChannelToolV2
;
38
#include "
xAODTrigL1Calo/TriggerTowerContainer.h
"
39
#include "
xAODForward/ZdcModuleContainer.h
"
40
#include "
xAODForward/ZdcModuleAuxContainer.h
"
41
49
50
51
class
ZdcRecV3Decode
:
public
AthAlgorithm
52
{
53
54
public
:
55
56
ZdcRecV3Decode
(
const
std::string& name, ISvcLocator* pSvcLocator);
57
~ZdcRecV3Decode
();
58
59
StatusCode
initialize
()
override
;
60
StatusCode
execute
(
const
EventContext& ctx)
override
;
61
StatusCode
finalize
()
override
;
62
63
private
:
64
65
Gaudi::Property<int>
m_ownPolicy
{
this
,
"OwnPolicy"
,
static_cast<
int
>
(
SG::OWN_ELEMENTS
)};
66
67
SG::ReadHandleKey<xAOD::TriggerTowerContainer>
m_ttContainerName
68
{
this
,
"DigitsContainerName"
,
"ZdcTriggerTowers"
,
""
};
69
70
SG::WriteHandleKey<xAOD::ZdcModuleContainer>
m_zdcModuleContainerName
71
{
this
,
"ZdcModuleContainerName"
,
"ZdcModules"
,
""
};
72
73
SG::WriteHandleKey<xAOD::ZdcModuleContainer>
m_zdcSumContainerName
74
{
this
,
"ZdcSumContainerName"
,
"ZdcSums"
,
""
};
75
76
//Include here all tools to do the job. They will be called by the algorithm execute method
77
//Another option is to use ToolHandleArray<IZdcRecTool>, where IZdcRecTool is the factory for
78
//the tools
79
ToolHandle<ZdcRecChannelToolV2>
m_ChannelTool
80
{
this
,
"ChannelTool"
,
"ZdcRecChannelToolV2"
,
""
};
81
82
};
83
84
#endif
AthAlgorithm.h
OwnershipPolicy.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:113
ZdcRecChannelToolV2
Definition
ZdcRecChannelToolV2.h:39
ZdcRecV3Decode::m_zdcModuleContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Definition
ZdcRecV3Decode.h:71
ZdcRecV3Decode::ZdcRecV3Decode
ZdcRecV3Decode(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ZdcRecV3Decode.cxx:31
ZdcRecV3Decode::m_ChannelTool
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
Definition
ZdcRecV3Decode.h:80
ZdcRecV3Decode::execute
StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
ZdcRecV3Decode.cxx:68
ZdcRecV3Decode::finalize
StatusCode finalize() override
Definition
ZdcRecV3Decode.cxx:112
ZdcRecV3Decode::m_zdcSumContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition
ZdcRecV3Decode.h:74
ZdcRecV3Decode::m_ownPolicy
Gaudi::Property< int > m_ownPolicy
Definition
ZdcRecV3Decode.h:65
ZdcRecV3Decode::initialize
StatusCode initialize() override
Definition
ZdcRecV3Decode.cxx:43
ZdcRecV3Decode::m_ttContainerName
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_ttContainerName
Definition
ZdcRecV3Decode.h:68
ZdcRecV3Decode::~ZdcRecV3Decode
~ZdcRecV3Decode()
Definition
ZdcRecV3Decode.cxx:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Identifier
Definition
IdentifierFieldParser.cxx:14
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition
OwnershipPolicy.h:17
Generated on
for ATLAS Offline Software by
1.17.0