ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcRecRun3Decode.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 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#include "Gaudi/Property.h"
22
23class ISvcLocator;
24class StatusCode;
25class Identifier;
26class StoreGateSvc;
27
34
42
43
45{
46
47public:
48
49 ZdcRecRun3Decode(const std::string& name, ISvcLocator* pSvcLocator);
51
52 StatusCode initialize() override;
53 StatusCode execute(const EventContext& ctx) override;
54 StatusCode finalize() override;
55
56private:
57
58 Gaudi::Property<int> m_ownPolicy{this, "OwnPolicy", static_cast<int> (SG::OWN_ELEMENTS)};
59 Gaudi::Property<int> m_DecodeRunMode{this, "DecodeRunMode", 0}; // 0 = ZDC+RPD (default), 1 = LIS only, 2 = ZDC+RPD + LIS
60 Gaudi::Property<unsigned int> m_nFragments{this,"NFragments",6,"Number of expected LUCROD fragments"};
61
62 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this,"EventInfoKey","EventInfo"};
63 SG::WriteDecorHandleKey<xAOD::EventInfo> m_eventInfoDecorKey{this, "eventInfoDecorKey", m_eventInfoKey, "forwardDetFlags", "Key for EventInfo decoration object"};
64
66 { this, "ZdcLucrodDataContainerKey", "ZdcLucrodDataContainer", "" };
67
69 { this, "ZdcModuleContainerName", "ZdcModules", "" };
70
72 { this, "ZdcSumContainerName", "ZdcSums", "" };
73
74 ToolHandle<ZdcRecChannelToolLucrod> m_ChannelTool
75 { this, "ChannelTool", "ZdcRecChannelToolLucrod", "" };
76
77
78};
79
80#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.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
The Athena Transient Store API.
ZdcRecRun3Decode(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
StatusCode initialize() override
StatusCode finalize() override
SG::ReadHandleKey< ZdcLucrodDataContainer > m_zldContainerName
StatusCode execute(const EventContext &ctx) override
Execute method.
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Gaudi::Property< int > m_DecodeRunMode
Gaudi::Property< int > m_ownPolicy
Gaudi::Property< unsigned int > m_nFragments
ToolHandle< ZdcRecChannelToolLucrod > m_ChannelTool
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
::StatusCode StatusCode
StatusCode definition for legacy code.
@ OWN_ELEMENTS
this data object owns its elements