ATLAS Offline Software
Loading...
Searching...
No Matches
CscRdoContByteStreamCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONBYTESTREAM_CSCRDOCONTRAWEVENTCNV_H
6#define MUONBYTESTREAM_CSCRDOCONTRAWEVENTCNV_H
7
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/ToolHandle.h"
12
13class DataObject;
14class StatusCode;
15
16// Abstract factory to create the converter
17template <class TYPE> class CnvFactory;
18
19/*
20 ByteStream Converter between CSC RDO <---> BYTE STREAM
21
22 @author Ketevi A. Assamagan
23 BNL December 27 2003
24*/
26public:
27 CscRdoContByteStreamCnv(ISvcLocator* svcloc);
28
29 virtual StatusCode initialize() override;
30 virtual StatusCode createObjConst(IOpaqueAddress* /*pAddr*/, DataObject*& /*pObj*/) const override { return StatusCode::FAILURE; }
31
32 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
33
35 virtual long repSvcType() const override { return i_repSvcType(); }
36 static long storageType();
37 static const CLID& classID();
38
39private:
40 ToolHandle<Muon::ICSC_RDOtoByteStreamTool> m_tool;
41};
42
43#endif
Gaudi converter base class with const interfaces.
uint32_t CLID
The Class ID type.
AthConstConverter(long storage_type, const CLID &class_type, ISvcLocator *svc, const std::string &name)
Abstract factory to create the converter.
ToolHandle< Muon::ICSC_RDOtoByteStreamTool > m_tool
CscRdoContByteStreamCnv(ISvcLocator *svcloc)
virtual StatusCode initialize() override
virtual StatusCode createObjConst(IOpaqueAddress *, DataObject *&) const override
Create the transient representation of an object.
virtual long repSvcType() const override
Storage type and class ID.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.