ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcRecV3.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6// ZdcRec.h, (c) ATLAS Detector software
8
9#ifndef ZDCRECV3_H
10#define ZDCRECV3_H
11
12#include <string>
13#include <map>
14
15
16
17//which one ???
19//#include "GaudiKernel/Algorithm.h"
22#include "GaudiKernel/ToolHandle.h"
23#include "GaudiKernel/ServiceHandle.h"
24
25
26
27//#include "ZdcRec/ZdcRecNoiseTool.h"
28//#include "ZdcRec/ZdcRecChannelTool.h"
29
30class ISvcLocator;
31class StatusCode;
32class Identifier;
33class StoreGateSvc;
34
36
44
45
46class ZdcRecV3 : public AthAlgorithm
47{
48
49public:
50
51 ZdcRecV3(const std::string& name, ISvcLocator* pSvcLocator);
52 ~ZdcRecV3();
53
54 StatusCode initialize() override;
55 StatusCode execute() override;
56 StatusCode finalize() override;
57
58private:
59
61 //StoreGateSvc* m_storeGate;
62 // ServiceHandle<StoreGateSvc> m_storeGate;
63
64
67
68
70 //std::string m_ttContainerName;
71
73 //std::string m_zdcModuleContainerName;
74 //std::string m_zdcModuleAuxContainerName;
75
76
78 //const xAOD::TriggerTowerContainer* m_ttContainer;
79
80
82 { this, "ZdcModuleContainerName", "ZdcModules", "" };
83
85 { this, "ZdcSumContainerName", "ZdcSums", "" };
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<ZDC::IZdcAnalysisTool> m_zdcTool
91 { this, "ZdcAnalysisTool", "ZDC::ZdcAnalysisTool/ZdcAnalysisTool", "" };
92
93};
94
95#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Property holding a SG store/key/clid from which a ReadHandle is made.
The Athena Transient Store API.
ToolHandle< ZDC::IZdcAnalysisTool > m_zdcTool
Definition ZdcRecV3.h:91
ZdcRecV3(const std::string &name, ISvcLocator *pSvcLocator)
Definition ZdcRecV3.cxx:28
StatusCode execute() override
Definition ZdcRecV3.cxx:65
int m_ownPolicy
class member version of retrieving StoreGate
Definition ZdcRecV3.h:66
StatusCode finalize() override
Definition ZdcRecV3.cxx:85
StatusCode initialize() override
Definition ZdcRecV3.cxx:42
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Digits data container name.
Definition ZdcRecV3.h:82
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition ZdcRecV3.h:85