ATLAS Offline Software
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 ???
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;
33 class ZdcCalibEvent;
35 class ZdcRecChannelTool;
36 class ZdcRecNoiseTool;
37 
38 
48 class ZdcRec : public AthAlgorithm
49 {
50 
51 public:
52 
53  ZdcRec(const std::string& name, ISvcLocator* pSvcLocator);
54  ~ZdcRec();
55 
59 
60 private:
61 
63  //StoreGateSvc* m_storeGate;
65 
66 
69 
71  std::string m_digitsContainerName;
72 
74  std::string m_rawContainerName;
75 
78 
81 
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
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::finalize
StatusCode finalize()
Definition: ZdcRec.cxx:201
ZdcRec
Definition: ZdcRec.h:49
ZdcRec::m_rawContainerName
std::string m_rawContainerName
Raw data object name.
Definition: ZdcRec.h:74
ZdcRecNoiseTool
Definition: ZdcRecNoiseTool.h:35
ZdcRec::m_digitsContainerName
std::string m_digitsContainerName
Digits data container name.
Definition: ZdcRec.h:71
ZdcCalibEvent
Definition: ZdcCalibEvent.h:21
ZdcRec::m_complainContain
bool m_complainContain
Definition: ZdcRec.h:83
AthAlgorithm.h
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:128
ZdcRecChannelTool
Definition: ZdcRecChannelTool.h:72
ZdcRec::execute
StatusCode execute()
Definition: ZdcRec.cxx:101
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ZdcRec::~ZdcRec
~ZdcRec()
Definition: ZdcRec.cxx:50
ZdcRawChannelCollection
Definition: ZdcRawChannelCollection.h:20
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ZdcRec::m_ChannelTool
ToolHandle< ZdcRecChannelTool > m_ChannelTool
Definition: ZdcRec.h:89
ZdcRec::m_NoiseTool
ToolHandle< ZdcRecNoiseTool > m_NoiseTool
Definition: ZdcRec.h:90
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
ZdcDigitsCollection
Definition: ZdcDigitsCollection.h:20
ZdcRec::m_digitsCollection
const ZdcDigitsCollection * m_digitsCollection
Pointer to Zdc input "digits" data.
Definition: ZdcRec.h:77
ZdcRec::m_eventCount
int m_eventCount
Definition: ZdcRec.h:82
ZdcRec::ZdcRec
ZdcRec(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ZdcRec.cxx:25
ZdcRec::m_ownPolicy
int m_ownPolicy
Does the collection own it's objects ?
Definition: ZdcRec.h:68
ServiceHandle< StoreGateSvc >