ATLAS Offline Software
Loading...
Searching...
No Matches
TgcRdoContByteStreamCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONBYTESTREAM_TGCRDOCONTRAWEVENTCNV_H
6#define MUONBYTESTREAM_TGCRDOCONTRAWEVENTCNV_H
7
9#include "GaudiKernel/ServiceHandle.h"
10#include "GaudiKernel/ToolHandle.h"
12
13class DataObject;
14class StatusCode;
15class StoreGateSvc;
16class TgcRdoContainer;
17
18namespace Muon {
20}
21
22// Abstract factory to create the converter
23template <class TYPE> class CnvFactory;
24
25/*
26 ByteStream Converter between TGC bareRDO and BS
27
28 @author Tadashi Maeno
29 based on RpcPadContByteStreamCnv by Ketevi A. Assamagan
30*/
32public:
33 TgcRdoContByteStreamCnv(ISvcLocator* svcloc);
34
35 virtual StatusCode initialize() override;
36
37 virtual StatusCode createObjConst(IOpaqueAddress* , DataObject*& ) const override { return StatusCode::FAILURE; }
38
39 virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
40
42 virtual long repSvcType() const override { return i_repSvcType(); }
43 static long storageType();
44 static const CLID& classID();
45
46private:
47 ToolHandle<Muon::ITGC_RDOtoByteStreamTool> m_tool;
48};
49
50#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.
An AthAlgTool provides conversion between TGC bareRDO and ByteStream, and fills it in RawEvent.
The Athena Transient Store API.
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
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 initialize() override
TgcRdoContByteStreamCnv(ISvcLocator *svcloc)
ToolHandle< Muon::ITGC_RDOtoByteStreamTool > m_tool
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.