ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcRecV3Decode.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// 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#include "Gaudi/Property.h"
26
27
28
29//#include "ZdcRec/ZdcRecNoiseTool.h"
30//#include "ZdcRec/ZdcRecChannelTool.h"
31
32class ISvcLocator;
33class StatusCode;
34class Identifier;
35class StoreGateSvc;
36
41
49
50
52{
53
54public:
55
56 ZdcRecV3Decode(const std::string& name, ISvcLocator* pSvcLocator);
58
59 StatusCode initialize() override;
60 StatusCode execute(const EventContext& ctx) override;
61 StatusCode finalize() override;
62
63private:
64
65 Gaudi::Property<int> m_ownPolicy{this, "OwnPolicy", static_cast<int> (SG::OWN_ELEMENTS)};
66
68 { this, "DigitsContainerName", "ZdcTriggerTowers", "" };
69
71 { this, "ZdcModuleContainerName", "ZdcModules", "" };
72
74 { this, "ZdcSumContainerName", "ZdcSums", "" };
75
76 //Include here all tools to do the job. They will be called by the algorithm execute method
77 //Another option is to use ToolHandleArray<IZdcRecTool>, where IZdcRecTool is the factory for
78 //the tools
79 ToolHandle<ZdcRecChannelToolV2> m_ChannelTool
80 { this, "ChannelTool", "ZdcRecChannelToolV2", "" };
81
82};
83
84#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 from which a WriteHandle is made.
The Athena Transient Store API.
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
ZdcRecV3Decode(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
StatusCode execute(const EventContext &ctx) override
Execute method.
StatusCode finalize() override
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Gaudi::Property< int > m_ownPolicy
StatusCode initialize() override
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_ttContainerName
::StatusCode StatusCode
StatusCode definition for legacy code.
@ OWN_ELEMENTS
this data object owns its elements