ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcRecRun3Decode.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
21class ISvcLocator;
22class StatusCode;
23class Identifier;
24class StoreGateSvc;
25
32
40
41
43{
44
45public:
46
47 ZdcRecRun3Decode(const std::string& name, ISvcLocator* pSvcLocator);
49
50 StatusCode initialize() override;
51 StatusCode execute() override;
52 StatusCode finalize() override;
53
54private:
55
57 int m_DecodeRunMode; // 0 = ZDC+RPD (default), 1 = LIS only, 2 = ZDC+RPD + LIS
58 Gaudi::Property<unsigned int> m_nFragments{this,"NFragments",6,"Number of expected LUCROD fragments"};
59
60 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this,"EventInfoKey","EventInfo"};
61 SG::WriteDecorHandleKey<xAOD::EventInfo> m_eventInfoDecorKey{this, "eventInfoDecorKey", m_eventInfoKey, "forwardDetFlags", "Key for EventInfo decoration object"};
62
64 { this, "ZdcLucrodDataContainerKey", "ZdcLucrodDataContainer", "" };
65
67 { this, "ZdcModuleContainerName", "ZdcModules", "" };
68
70 { this, "ZdcSumContainerName", "ZdcSums", "" };
71
72 ToolHandle<ZdcRecChannelToolLucrod> m_ChannelTool
73 { this, "ChannelTool", "ZdcRecChannelToolLucrod", "" };
74
75
76};
77
78#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.
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)
StatusCode execute() override
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
StatusCode initialize() override
StatusCode finalize() override
SG::ReadHandleKey< ZdcLucrodDataContainer > m_zldContainerName
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey
Gaudi::Property< unsigned int > m_nFragments
ToolHandle< ZdcRecChannelToolLucrod > m_ChannelTool
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName