ATLAS Offline Software
Loading...
Searching...
No Matches
ByteStreamToRawEventAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef BYTESTREAMCNVSVC_BYTESTREAMTORAWEVENT_H
5#define BYTESTREAMCNVSVC_BYTESTREAMTORAWEVENT_H
6
12#include <Gaudi/Property.h>
13
28
30 public:
31 using AthReentrantAlgorithm::AthReentrantAlgorithm;
32
33 virtual StatusCode initialize() override;
34 virtual StatusCode execute(const EventContext& ctx) const override;
35
36 private:
38 "ByteStreamConvertionService", "ByteStreamCnvSvc", ""};
39
41 "ROBDataProvider", "ROBDataProviderSvc/ROBDataProviderSvc"};
42
43 Gaudi::Property<std::vector<std::string>> m_RawContainers{this,
44 "RawContainers", {}, "Names of the containers holding the byte stream data"};
45
46 struct Cache {
47 std::mutex m_mutex;
49 std::vector<uint32_t> m_data;
50 };
51
52 mutable SG::SlotSpecificObj<Cache> m_eventsCache ATLAS_THREAD_SAFE; // Access to Cache objects must be protected by their internal mutex
53};
54
55#endif // BYTESTREAMCNVSVC_BYTESTREAMTORAWEVENT_H
Maintain a set of objects, one per slot.
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
Definition RawEvent.h:37
Define macros for attributes used to control the static checker.
An algorithm that can be simultaneously executed in multiple threads.
Algorithm that converts detector byte streams into a raw event and feeds it to a IROBDataProviderSvc.
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< std::vector< std::string > > m_RawContainers
SG::SlotSpecificObj< Cache > m_eventsCache ATLAS_THREAD_SAFE
virtual StatusCode initialize() override
ServiceHandle< IROBDataProviderSvc > m_robsSvc
Maintain a set of objects, one per slot.