ATLAS Offline Software
ZdcRecV2.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 ZDCRECV2_H
10 #define ZDCRECV2_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;
32 
37 
47 class ZdcRecV2 : public AthAlgorithm
48 {
49 
50 public:
51 
52  ZdcRecV2(const std::string& name, ISvcLocator* pSvcLocator);
53  ~ZdcRecV2();
54 
58 
59 private:
60 
62  //StoreGateSvc* m_storeGate;
64 
65 
68 
69 
71  std::string m_ttContainerName;
72 
76 
77 
80 
84 
85  //Include here all tools to do the job. They will be called by the algorithm execute method
86  //Another option is to use ToolHandleArray<IZdcRecTool>, where IZdcRecTool is the factory for
87  //the tools
88  ToolHandle<ZdcRecChannelToolV2> m_ChannelTool;
89 
90 };
91 
92 #endif
ZdcRecV2::m_storeGate
ServiceHandle< StoreGateSvc > m_storeGate
class member version of retrieving StoreGate
Definition: ZdcRecV2.h:63
ZdcRecV2::m_zdcModuleAuxContainerName
std::string m_zdcModuleAuxContainerName
Definition: ZdcRecV2.h:75
ZdcRecV2::finalize
StatusCode finalize()
Definition: ZdcRecV2.cxx:160
TriggerTowerContainer.h
ZdcModuleAuxContainer.h
AthAlgorithm.h
ZdcRecV2::~ZdcRecV2
~ZdcRecV2()
Definition: ZdcRecV2.cxx:54
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
ZdcRecV2::m_eventCount
int m_eventCount
Definition: ZdcRecV2.h:81
ZdcRecV2::m_zdcModuleContainerName
std::string m_zdcModuleContainerName
Raw data object name.
Definition: ZdcRecV2.h:74
ZdcRecV2::m_ttContainer
const xAOD::TriggerTowerContainer * m_ttContainer
Pointer to Zdc input "digits" data.
Definition: ZdcRecV2.h:79
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ZdcRecV2::m_ownPolicy
int m_ownPolicy
Does the collection own it's objects ?
Definition: ZdcRecV2.h:67
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthAlgorithm
Definition: AthAlgorithm.h:47
ZdcRecV2
Definition: ZdcRecV2.h:48
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ZdcRecV2::execute
StatusCode execute()
Definition: ZdcRecV2.cxx:96
ZdcRecV2::initialize
StatusCode initialize()
Definition: ZdcRecV2.cxx:58
ZdcRecV2::m_ChannelTool
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
Definition: ZdcRecV2.h:88
ZdcRecChannelToolV2
Definition: ZdcRecChannelToolV2.h:38
ZdcRecV2::m_ttContainerName
std::string m_ttContainerName
Digits data container name.
Definition: ZdcRecV2.h:71
ZdcRecV2::m_complainContain
bool m_complainContain
Definition: ZdcRecV2.h:82
ZdcRecV2::m_complainRetrieve
bool m_complainRetrieve
Definition: ZdcRecV2.h:83
ZdcModuleContainer.h
ZdcRecV2::ZdcRecV2
ZdcRecV2(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ZdcRecV2.cxx:30
ServiceHandle< StoreGateSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14