ATLAS Offline Software
ZdcRecRun3Decode.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 // ZdcRecRun3Decode.h, (c) ATLAS Detector software
8 
9 #ifndef ZDCRECRun3DECODE_H
10 #define ZDCRECRun3DECODE_H
11 
12 #include <string>
13 #include <map>
14 
18 #include "GaudiKernel/ToolHandle.h"
19 #include "GaudiKernel/ServiceHandle.h"
20 
21 class ISvcLocator;
22 class StatusCode;
23 class Identifier;
24 class StoreGateSvc;
25 
32 
43 {
44 
45 public:
46 
47  ZdcRecRun3Decode(const std::string& name, ISvcLocator* pSvcLocator);
49 
50  StatusCode initialize() override;
51  StatusCode execute() override;
52  StatusCode finalize() override;
53 
54 private:
55 
57  Gaudi::Property<unsigned int> m_nFragments{this,"NFragments",6,"Number of expected LUCROD fragments"};
58 
59  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this,"EventInfoKey","EventInfo"};
60  SG::WriteDecorHandleKey<xAOD::EventInfo> m_eventInfoDecorKey{this, "eventInfoDecorKey", "EventInfo.forwardDetFlags", "Key for EventInfo decoration object"};
61 
63  { this, "ZdcLucrodDataContainerKey", "ZdcLucrodDataContainer", "" };
64 
66  { this, "ZdcModuleContainerName", "ZdcModules", "" };
67 
69  { this, "ZdcSumContainerName", "ZdcSums", "" };
70 
71  ToolHandle<ZdcRecChannelToolLucrod> m_ChannelTool
72  { this, "ChannelTool", "ZdcRecChannelToolLucrod", "" };
73 
74 
75 };
76 
77 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey< xAOD::EventInfo >
ZdcLucrodDataContainer.h
ZdcRecRun3Decode::~ZdcRecRun3Decode
~ZdcRecRun3Decode()
Definition: ZdcRecRun3Decode.cxx:41
SG::ReadHandleKey< xAOD::EventInfo >
ZdcRecRun3Decode::initialize
StatusCode initialize() override
Definition: ZdcRecRun3Decode.cxx:45
ZdcAnalysisTool.h
ZdcModuleAuxContainer.h
AthAlgorithm.h
ZdcRecRun3Decode::m_nFragments
Gaudi::Property< unsigned int > m_nFragments
Definition: ZdcRecRun3Decode.h:57
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
ZdcRecChannelToolLucrod
Definition: ZdcRecChannelToolLucrod.h:31
ZdcRecRun3Decode
Definition: ZdcRecRun3Decode.h:43
ZdcRecRun3Decode::m_zldContainerName
SG::ReadHandleKey< ZdcLucrodDataContainer > m_zldContainerName
Definition: ZdcRecRun3Decode.h:63
AthAlgorithm
Definition: AthAlgorithm.h:47
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ZdcRecRun3Decode::m_ownPolicy
int m_ownPolicy
Definition: ZdcRecRun3Decode.h:56
ZdcRecRun3Decode::m_eventInfoDecorKey
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Definition: ZdcRecRun3Decode.h:60
ZdcRecRun3Decode::finalize
StatusCode finalize() override
Definition: ZdcRecRun3Decode.cxx:179
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EventInfo.h
ZdcRecRun3Decode::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: ZdcRecRun3Decode.h:59
ZdcRecRun3Decode::m_ChannelTool
ToolHandle< ZdcRecChannelToolLucrod > m_ChannelTool
Definition: ZdcRecRun3Decode.h:72
ZdcRecRun3Decode::m_zdcModuleContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
Definition: ZdcRecRun3Decode.h:66
ZdcModuleContainer.h
ZdcRecRun3Decode::m_zdcSumContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Definition: ZdcRecRun3Decode.h:69
ZdcRecRun3Decode::ZdcRecRun3Decode
ZdcRecRun3Decode(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ZdcRecRun3Decode.cxx:30
ZdcRecRun3Decode::execute
StatusCode execute() override
Definition: ZdcRecRun3Decode.cxx:73
Identifier
Definition: IdentifierFieldParser.cxx:14