ATLAS Offline Software
ZdcRecV3Decode.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 ZDCRECV3Decode_H
10 #define ZDCRECV3Decode_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 
30 class ISvcLocator;
31 class StatusCode;
32 class Identifier;
33 class StoreGateSvc;
34 
39 
50 {
51 
52 public:
53 
54  ZdcRecV3Decode(const std::string& name, ISvcLocator* pSvcLocator);
56 
57  StatusCode initialize() override;
58  StatusCode execute() override;
59  StatusCode finalize() override;
60 
61 private:
62 
64 
66  { this, "DigitsContainerName", "ZdcTriggerTowers", "" };
67 
69  { this, "ZdcModuleContainerName", "ZdcModules", "" };
70 
72  { this, "ZdcSumContainerName", "ZdcSums", "" };
73 
74  //Include here all tools to do the job. They will be called by the algorithm execute method
75  //Another option is to use ToolHandleArray<IZdcRecTool>, where IZdcRecTool is the factory for
76  //the tools
77  ToolHandle<ZdcRecChannelToolV2> m_ChannelTool
78  { this, "ChannelTool", "ZdcRecChannelToolV2", "" };
79 
80 };
81 
82 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ZdcRecV3Decode::finalize
StatusCode finalize() override
Definition: ZdcRecV3Decode.cxx:115
ZdcRecV3Decode::m_zdcModuleContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Definition: ZdcRecV3Decode.h:69
ZdcRecV3Decode::m_ttContainerName
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_ttContainerName
Definition: ZdcRecV3Decode.h:66
ZdcRecV3Decode::ZdcRecV3Decode
ZdcRecV3Decode(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ZdcRecV3Decode.cxx:31
TriggerTowerContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ZdcModuleAuxContainer.h
AthAlgorithm.h
ZdcRecV3Decode::initialize
StatusCode initialize() override
Definition: ZdcRecV3Decode.cxx:45
StoreGateSvc
The Athena Transient Store API.
Definition: StoreGateSvc.h:125
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ZdcRecV3Decode::~ZdcRecV3Decode
~ZdcRecV3Decode()
Definition: ZdcRecV3Decode.cxx:41
AthAlgorithm
Definition: AthAlgorithm.h:47
ZdcRecV3Decode::m_zdcSumContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition: ZdcRecV3Decode.h:72
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ZdcRecV3Decode
Definition: ZdcRecV3Decode.h:50
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ZdcRecV3Decode::execute
StatusCode execute() override
Definition: ZdcRecV3Decode.cxx:70
ZdcRecChannelToolV2
Definition: ZdcRecChannelToolV2.h:38
ZdcRecV3Decode::m_ownPolicy
int m_ownPolicy
Definition: ZdcRecV3Decode.h:63
ZdcModuleContainer.h
ZdcRecV3Decode::m_ChannelTool
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
Definition: ZdcRecV3Decode.h:78
Identifier
Definition: IdentifierFieldParser.cxx:14