ATLAS Offline Software
Loading...
Searching...
No Matches
EventInfoByteStreamAuxCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef BYTESTREAMCNVSVC_EVENTINFOBYTESTREAMAUXCNV_H
6#define BYTESTREAMCNVSVC_EVENTINFOBYTESTREAMAUXCNV_H
7
21
22#include "GaudiKernel/Converter.h"
23#include "GaudiKernel/ServiceHandle.h"
24#include "GaudiKernel/ToolHandle.h"
26
29class StoreGateSvc;
31
32// Abstract factory to create the converter
33template <class TYPE> class CnvFactory;
34
36{
37 public:
38 EventInfoByteStreamAuxCnv(ISvcLocator* svcloc);
39 virtual ~EventInfoByteStreamAuxCnv() override = default;
40
41 virtual StatusCode initialize() override;
42 virtual StatusCode finalize() override;
43
45 virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override;
47 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr) override;
48
50 virtual long repSvcType() const override { return i_repSvcType(); }
51 static long storageType();
52 static CLID classID();
53
54 private:
55 std::string ascTime(unsigned int t);
58 ToolHandle<IMCEventInfoByteStreamTool> m_mcEventInfoTool{"MCEventInfoByteStreamTool"};
59
60 // flags for EventType
64};
65
66#endif // BYTESTREAMCNVSVC_EVENTINFOBYTESTREAMAUXCNV_H
uint32_t CLID
The Class ID type.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
The base class for offline and HLT ByteStream conversion services.
Abstract factory to create the converter.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
converter method to create object
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
converter method to write object
virtual StatusCode finalize() override
std::string ascTime(unsigned int t)
convert timestamp to ascii time.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
RODDataProviderSvc handle.
virtual StatusCode initialize() override
ServiceHandle< StoreGateSvc > m_mdSvc
TDS handle.
EventInfoByteStreamAuxCnv(ISvcLocator *svcloc)
virtual ~EventInfoByteStreamAuxCnv() override=default
ToolHandle< IMCEventInfoByteStreamTool > m_mcEventInfoTool
Tool for decoding MC EventInfo from ROB.
virtual long repSvcType() const override
Storage type and class ID.
Interface for MCEventInfoByteStreamTool.
Interface class for managing ROB for both online and offline.
The Athena Transient Store API.