ATLAS Offline Software
Loading...
Searching...
No Matches
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
28class ISvcLocator;
29class StatusCode;
30class Identifier;
31class StoreGateSvc;
33class ZdcCalibEvent;
36class ZdcRecNoiseTool;
37
38
46
47
48class ZdcRec : public AthAlgorithm
49{
50
51public:
52
53 ZdcRec(const std::string& name, ISvcLocator* pSvcLocator);
54 ~ZdcRec();
55
56 StatusCode initialize();
57 StatusCode execute();
58 StatusCode finalize();
59
60private:
61
63 //StoreGateSvc* m_storeGate;
65
66
69
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
The Athena Transient Store API.
StatusCode execute()
Definition ZdcRec.cxx:101
const ZdcDigitsCollection * m_digitsCollection
Pointer to Zdc input "digits" data.
Definition ZdcRec.h:77
~ZdcRec()
Definition ZdcRec.cxx:50
std::string m_rawContainerName
Raw data object name.
Definition ZdcRec.h:74
StatusCode finalize()
Definition ZdcRec.cxx:201
int m_ownPolicy
Does the collection own it's objects ?
Definition ZdcRec.h:68
ToolHandle< ZdcRecChannelTool > m_ChannelTool
Definition ZdcRec.h:89
ServiceHandle< StoreGateSvc > m_storeGate
class member version of retrieving StoreGate
Definition ZdcRec.h:64
bool m_complainRetrieve
Definition ZdcRec.h:84
ZdcRec(const std::string &name, ISvcLocator *pSvcLocator)
Definition ZdcRec.cxx:25
bool m_complainContain
Definition ZdcRec.h:83
int m_eventCount
Definition ZdcRec.h:82
StatusCode initialize()
Definition ZdcRec.cxx:54
ZdcRawChannelCollection * m_rawCollection
Pointer to Zdc output "raw" reconstructed data.
Definition ZdcRec.h:80
std::string m_digitsContainerName
Digits data container name.
Definition ZdcRec.h:71
ToolHandle< ZdcRecNoiseTool > m_NoiseTool
Definition ZdcRec.h:90