ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcRec
ZdcRec
ZdcRec.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// ZdcRec.h, (c) ATLAS Detector software
8
9
#ifndef ZDCREC_H
10
#define ZDCREC_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
23
24
25
//#include "ZdcRec/ZdcRecNoiseTool.h"
26
//#include "ZdcRec/ZdcRecChannelTool.h"
27
28
class
ISvcLocator;
29
class
StatusCode
;
30
class
Identifier
;
31
class
StoreGateSvc
;
32
class
ZdcDigitsCollection
;
33
class
ZdcCalibEvent
;
34
class
ZdcRawChannelCollection
;
35
class
ZdcRecChannelTool
;
36
class
ZdcRecNoiseTool
;
37
38
46
47
48
class
ZdcRec
:
public
AthAlgorithm
49
{
50
51
public
:
52
53
ZdcRec
(
const
std::string& name, ISvcLocator* pSvcLocator);
54
~ZdcRec
();
55
56
StatusCode
initialize
();
57
StatusCode
execute
(
const
EventContext& ctx);
58
StatusCode
finalize
();
59
60
private
:
61
63
//StoreGateSvc* m_storeGate;
64
ServiceHandle<StoreGateSvc>
m_storeGate
;
65
66
68
int
m_ownPolicy
;
69
71
std::string
m_digitsContainerName
;
72
74
std::string
m_rawContainerName
;
75
77
const
ZdcDigitsCollection
*
m_digitsCollection
;
78
80
ZdcRawChannelCollection
*
m_rawCollection
;
81
82
int
m_eventCount
;
83
bool
m_complainContain
;
84
bool
m_complainRetrieve
;
85
86
//Include here all tools to do the job. They will be called by the algorithm execute method
87
//Another option is to use ToolHandleArray<IZdcRecTool>, where IZdcRecTool is the factory for
88
//the tools
89
ToolHandle<ZdcRecChannelTool>
m_ChannelTool
;
90
ToolHandle<ZdcRecNoiseTool>
m_NoiseTool
;
91
};
92
93
#endif
AthAlgorithm.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:120
ZdcCalibEvent
Definition
ZdcCalibEvent.h:21
ZdcDigitsCollection
Definition
ZdcDigitsCollection.h:20
ZdcRawChannelCollection
Definition
ZdcRawChannelCollection.h:20
ZdcRecChannelTool
Definition
ZdcRecChannelTool.h:72
ZdcRecNoiseTool
Definition
ZdcRecNoiseTool.h:36
ZdcRec::m_digitsCollection
const ZdcDigitsCollection * m_digitsCollection
Pointer to Zdc input "digits" data.
Definition
ZdcRec.h:77
ZdcRec::~ZdcRec
~ZdcRec()
Definition
ZdcRec.cxx:50
ZdcRec::m_rawContainerName
std::string m_rawContainerName
Raw data object name.
Definition
ZdcRec.h:74
ZdcRec::finalize
StatusCode finalize()
Definition
ZdcRec.cxx:201
ZdcRec::m_ownPolicy
int m_ownPolicy
Does the collection own it's objects ?
Definition
ZdcRec.h:68
ZdcRec::m_ChannelTool
ToolHandle< ZdcRecChannelTool > m_ChannelTool
Definition
ZdcRec.h:89
ZdcRec::m_storeGate
ServiceHandle< StoreGateSvc > m_storeGate
class member version of retrieving StoreGate
Definition
ZdcRec.h:64
ZdcRec::m_complainRetrieve
bool m_complainRetrieve
Definition
ZdcRec.h:84
ZdcRec::ZdcRec
ZdcRec(const std::string &name, ISvcLocator *pSvcLocator)
Definition
ZdcRec.cxx:25
ZdcRec::m_complainContain
bool m_complainContain
Definition
ZdcRec.h:83
ZdcRec::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
ZdcRec.cxx:101
ZdcRec::m_eventCount
int m_eventCount
Definition
ZdcRec.h:82
ZdcRec::initialize
StatusCode initialize()
Definition
ZdcRec.cxx:54
ZdcRec::m_rawCollection
ZdcRawChannelCollection * m_rawCollection
Pointer to Zdc output "raw" reconstructed data.
Definition
ZdcRec.h:80
ZdcRec::m_digitsContainerName
std::string m_digitsContainerName
Digits data container name.
Definition
ZdcRec.h:71
ZdcRec::m_NoiseTool
ToolHandle< ZdcRecNoiseTool > m_NoiseTool
Definition
ZdcRec.h:90
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