ATLAS Offline Software
Loading...
Searching...
No Matches
ALFA_RawDataProvider.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// Top algorithm to decode the ALFA BS
8
9#ifndef ALFA_RAWDATABYTESTREAMCNV_ALFA_RAWDATAPROVIDER_H
10#define ALFA_RAWDATABYTESTREAMCNV_ALFA_RAWDATAPROVIDER_H
11
13#include "Gaudi/Property.h"
14
15#include "GaudiKernel/ClassID.h"
16#include "GaudiKernel/Converter.h"
17#include "GaudiKernel/MsgStream.h"
18#include "GaudiKernel/ServiceHandle.h"
19#include "GaudiKernel/ToolHandle.h"
20
23
25
27
28#include <map>
29#include <string>
30
32class ISvcLocator;
33class StatusCode;
34
35
37{
38 public:
39
41 ALFA_RawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
42
44 virtual StatusCode initialize();
45
47 virtual StatusCode execute(const EventContext& ctx);
48
50 virtual StatusCode finalize()
51 { return StatusCode::SUCCESS; }
52
55
56 private:
57
60
62 ToolHandle<ALFA_RawDataProviderTool> m_rawDataTool{this, "ProviderTool", "ALFA_RawDataProviderTool"};
63 Gaudi::Property<std::string> m_ALFA_RawDataCollectionKey{this, "ALFA_RawDataCollectionKey", "ALFA_RawData"};
64
65 std::string m_collection;
66
67};
68
69#endif
70
71
An STL vector of pointers that by default owns its pointed-to elements.
virtual StatusCode initialize()
Initialize.
virtual StatusCode finalize()
Finalize.
ALFA_RawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Gaudi::Property< std::string > m_ALFA_RawDataCollectionKey
ToolHandle< ALFA_RawDataProviderTool > m_rawDataTool
Tool that does the actual work.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Service for reading bytestream.
virtual StatusCode execute(const EventContext &ctx)
Execute.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.