ATLAS Offline Software
Loading...
Searching...
No Matches
EventInfoByteStreamAuxCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef BYTESTREAMCNVSVC_EVENTINFOBYTESTREAMAUXCNV_H
6#define BYTESTREAMCNVSVC_EVENTINFOBYTESTREAMAUXCNV_H
7
17
18#include "GaudiKernel/Converter.h"
19#include "GaudiKernel/ServiceHandle.h"
21
24class StoreGateSvc;
25
26// Abstract factory to create the converter
27template <class TYPE> class CnvFactory;
28
30{
31 public:
32 EventInfoByteStreamAuxCnv(ISvcLocator* svcloc);
33 virtual ~EventInfoByteStreamAuxCnv() override = default;
34
35 virtual StatusCode initialize() override;
36 virtual StatusCode finalize() override;
37
39 virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override;
41 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr) override;
42
44 virtual long repSvcType() const override { return i_repSvcType(); }
45 static long storageType();
46 static const CLID& classID();
47
48 private:
49 std::string ascTime(unsigned int t);
52
53 // flags for EventType
57};
58
59#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
virtual long repSvcType() const override
Storage type and class ID.
Interface class for managing ROB for both online and offline.
The Athena Transient Store API.