ATLAS Offline Software
Loading...
Searching...
No Matches
HLTResultByteStreamCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TrigHLTResultByteStreamCnv_h
6#define TrigHLTResultByteStreamCnv_h
7
8#include <stdint.h>
9#include <map>
10/**********************************************************************************
11 * @Project: HLT Steering
12 * @Package: HLTResultByteStream
13 * @class : HLTResultByteStreamCnv
14 *
15 * @brief Gaudi bytestream Converter for the HLTResult class
16 *
17 *
18 * File and Version Information:
19 **********************************************************************************/
20
21#include <string>
22
23#include "GaudiKernel/Converter.h"
24#include "GaudiKernel/ToolHandle.h"
25#include "GaudiKernel/ServiceHandle.h"
29
30// forward declarations
31class DataObject;
32class StatusCode;
33class IAddressCreator;
34
35class MsgStream;
36
37
38namespace HLT {
39
41
42
70
71 public:
72 HLTResultByteStreamCnv(ISvcLocator* svcloc);
73
74 public:
75
76 virtual StatusCode initialize();
77 virtual StatusCode finalize();
78
79 virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
80 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
81
82 static long storageType();
83 static const CLID& classID();
84
85 long repSvcType() const { return i_repSvcType(); }
86
87 private:
88
89 MsgStream* m_log;
90
91 ToolHandle< HLTResultByteStreamTool > m_tool ;
92
94
96
97 };
98}
99
100#endif
uint32_t CLID
The Class ID type.
virtual StatusCode finalize()
Gaudi finalize.
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Gaudi helper.
long repSvcType() const
return repSvcType
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Gaudi ROB helper.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
create bytestream from RDOs (HLTResult)
static long storageType()
storageType
MsgStream * m_log
std message stream
ToolHandle< HLTResultByteStreamTool > m_tool
tool for conversion work
static const CLID & classID()
CLID.
virtual StatusCode initialize()
Gaudi initialize.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
create RDO (HLTResult) from bytestream
HLTResultByteStreamCnv(ISvcLocator *svcloc)
std Gaudi converter constructor
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...