ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcRec
ZdcRec
ZdcRecV2.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 ZDCRECV2_H
10
#define ZDCRECV2_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 "GaudiKernel/ToolHandle.h"
21
#include "GaudiKernel/ServiceHandle.h"
22
#include "Gaudi/Property.h"
23
#include "
AthContainers/OwnershipPolicy.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
ZdcRecV2
:
public
AthAlgorithm
50
{
51
52
public
:
53
54
ZdcRecV2
(
const
std::string& name, ISvcLocator* pSvcLocator);
55
~ZdcRecV2
();
56
57
StatusCode
initialize
();
58
StatusCode
execute
(
const
EventContext& ctx);
59
StatusCode
finalize
();
60
61
private
:
62
64
//StoreGateSvc* m_storeGate;
65
ServiceHandle<StoreGateSvc>
m_storeGate
;
66
67
69
Gaudi::Property<int>
m_ownPolicy
{
this
,
"OwnPolicy"
,
static_cast<
int
>
(
SG::OWN_ELEMENTS
)};
70
71
73
Gaudi::Property<std::string>
m_ttContainerName
{
this
,
"DigitsContainerName"
,
"ZdcTriggerTowers"
,
"ZdcTriggerTowers"
};
74
76
Gaudi::Property<std::string>
m_zdcModuleContainerName
{
this
,
"ZdcModuleContainerName"
,
"ZdcModules"
,
"ZdcModules"
};
77
Gaudi::Property<std::string>
m_zdcModuleAuxContainerName
{
this
,
"ZdcModuleAuxContainerName"
,
"ZdcModulesAux."
,
"ZdcModulesAux."
};
78
79
81
const
xAOD::TriggerTowerContainer
*
m_ttContainer
{
nullptr
};
82
83
int
m_eventCount
{0};
84
bool
m_complainContain
{
true
};
85
bool
m_complainRetrieve
{
true
};
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<ZdcRecChannelToolV2>
m_ChannelTool
{
"ZdcRecChannelToolV2"
};
91
92
};
93
94
#endif
AthAlgorithm.h
OwnershipPolicy.h
TriggerTowerContainer.h
ZdcModuleAuxContainer.h
ZdcModuleContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
ServiceHandle
Definition
ClusterMakerTool.h:36
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:113
ZdcRecChannelToolV2
Definition
ZdcRecChannelToolV2.h:39
ZdcRecV2::m_ChannelTool
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
Definition
ZdcRecV2.h:90
ZdcRecV2::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
ZdcRecV2.cxx:81
ZdcRecV2::m_ttContainer
const xAOD::TriggerTowerContainer * m_ttContainer
Pointer to Zdc input "digits" data.
Definition
ZdcRecV2.h:81
ZdcRecV2::m_complainRetrieve
bool m_complainRetrieve
Definition
ZdcRecV2.h:85
ZdcRecV2::m_eventCount
int m_eventCount
Definition
ZdcRecV2.h:83
ZdcRecV2::initialize
StatusCode initialize()
Definition
ZdcRecV2.cxx:43
ZdcRecV2::m_zdcModuleContainerName
Gaudi::Property< std::string > m_zdcModuleContainerName
Raw data object name.
Definition
ZdcRecV2.h:76
ZdcRecV2::m_storeGate
ServiceHandle< StoreGateSvc > m_storeGate
class member version of retrieving StoreGate
Definition
ZdcRecV2.h:65
ZdcRecV2::m_ttContainerName
Gaudi::Property< std::string > m_ttContainerName
Digits data container name.
Definition
ZdcRecV2.h:73
ZdcRecV2::m_ownPolicy
Gaudi::Property< int > m_ownPolicy
Does the collection own it's objects ?
Definition
ZdcRecV2.h:69
ZdcRecV2::m_complainContain
bool m_complainContain
Definition
ZdcRecV2.h:84
ZdcRecV2::ZdcRecV2
ZdcRecV2(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ZdcRecV2.cxx:30
ZdcRecV2::m_zdcModuleAuxContainerName
Gaudi::Property< std::string > m_zdcModuleAuxContainerName
Definition
ZdcRecV2.h:77
ZdcRecV2::finalize
StatusCode finalize()
Definition
ZdcRecV2.cxx:145
ZdcRecV2::~ZdcRecV2
~ZdcRecV2()
Definition
ZdcRecV2.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
xAOD::TriggerTowerContainer
TriggerTowerContainer_v2 TriggerTowerContainer
Define the latest version of the TriggerTower container.
Definition
TriggerTowerContainer.h:15
Generated on
for ATLAS Offline Software by
1.17.0