Skip to content
Snippets Groups Projects

MuonByteStream+MuonCSC_CnvTools+MuonCnvToolInterfaces: Make CscRdoContByteStreamCnv const.

Merged Scott Snyder requested to merge ssnyder/athena:csccnv.MuonByteStream-20210427 into master
5 files
+ 31
95
Compare changes
  • Side-by-side
  • Inline
Files
5
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#ifndef MUONBYTESTREAM_CSCRDOCONTRAWEVENTCNV_H
#define MUONBYTESTREAM_CSCRDOCONTRAWEVENTCNV_H
#include "GaudiKernel/ToolHandle.h"
#include "GaudiKernel/Converter.h"
#include "GaudiKernel/ServiceHandle.h"
#include "MuonCSC_CnvTools/ICSC_RDOtoByteStreamTool.h"
#include "AthenaBaseComps/AthConstConverter.h"
class DataObject;
class StatusCode;
class IByteStreamEventAccess;
class StoreGateSvc;
// Abstract factory to create the converter
template <class TYPE> class CnvFactory;
@@ -25,18 +23,18 @@ template <class TYPE> class CnvFactory;
@author Ketevi A. Assamagan
BNL December 27 2003
*/
class CscRdoContByteStreamCnv: public Converter
class CscRdoContByteStreamCnv: public AthConstConverter
{
public:
CscRdoContByteStreamCnv(ISvcLocator* svcloc);
virtual StatusCode initialize() override;
virtual StatusCode createObj(IOpaqueAddress* /*pAddr*/, DataObject*& /*pObj*/) override {
virtual StatusCode createObjConst(IOpaqueAddress* /*pAddr*/, DataObject*& /*pObj*/) const override {
return StatusCode::FAILURE;
}
virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr) override;
virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
/// Storage type and class ID
virtual long repSvcType() const override { return i_repSvcType(); }
@@ -44,15 +42,7 @@ public:
static const CLID& classID();
private:
ToolHandle<Muon::ICSC_RDOtoByteStreamTool> m_tool;
//CSC_Hid2RESrcID m_hid2re;
ServiceHandle<IByteStreamEventAccess> m_byteStreamEventAccess;
//CscRawDataContainer* m_container;
ServiceHandle<StoreGateSvc> m_storeGate;
//CSCcablingSvc * m_cabling;
};
#endif
Loading