diff --git a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArAccumulatedCalibDigitContByteStreamCnv.h b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArAccumulatedCalibDigitContByteStreamCnv.h index 56e71cf7386f81ef28d2e189d54ea97f0a142734..aeb63e3c5388366c64b4de9a4769b810784b3a7b 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArAccumulatedCalibDigitContByteStreamCnv.h +++ b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArAccumulatedCalibDigitContByteStreamCnv.h @@ -1,7 +1,7 @@ //Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #ifndef LARBYTESTREAM_LARACCUMULATEDCDIGITCONTRAWEVENTCNV_H @@ -34,9 +34,6 @@ class ByteStreamCnvSvc; // Abstract factory to create the converter template <class TYPE> class CnvFactory; -// Externals -extern long ByteStream_StorageType; - class LArAccumulatedCalibDigitContByteStreamCnv: public Converter { public: @@ -51,8 +48,8 @@ public: virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr); /// Storage type and class ID - virtual long repSvcType() const { return ByteStream_StorageType;} - static long storageType() { return ByteStream_StorageType; } + virtual long repSvcType() const { return i_repSvcType(); } + static long storageType() { return ByteStreamAddress::storageType(); } static const CLID& classID(); private: diff --git a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArAccumulatedDigitContByteStreamCnv.h b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArAccumulatedDigitContByteStreamCnv.h index 19001569bd24cdcdbd9b9223fc72278ac490dcfb..39cad9f5e7e481c29bde0b46acec26b7c42f73c0 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArAccumulatedDigitContByteStreamCnv.h +++ b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArAccumulatedDigitContByteStreamCnv.h @@ -1,7 +1,7 @@ //Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #ifndef LARBYTESTREAM_LARACCUMULATEDDIGITCONTRAWEVENTCNV_H @@ -34,9 +34,6 @@ class ByteStreamCnvSvc; // Abstract factory to create the converter template <class TYPE> class CnvFactory; -// Externals -extern long ByteStream_StorageType; - class LArAccumulatedDigitContByteStreamCnv: public Converter { public: @@ -51,8 +48,8 @@ public: virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr); /// Storage type and class ID - virtual long repSvcType() const { return ByteStream_StorageType;} - static long storageType() { return ByteStream_StorageType; } + virtual long repSvcType() const { return i_repSvcType(); } + static long storageType() { return ByteStreamAddress::storageType(); } static const CLID& classID(); private: diff --git a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArCalibDigitContByteStreamCnv.h b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArCalibDigitContByteStreamCnv.h index 8b49de7edb4c70409e7d042531ae352ea6c011f8..ecf8d3aff477e90bae5cae99b24fa82fa464d040 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArCalibDigitContByteStreamCnv.h +++ b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArCalibDigitContByteStreamCnv.h @@ -1,7 +1,7 @@ //Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #ifndef LARBYTESTREAM_LARCALIBDIGITCONTRAWEVENTCNV_H @@ -34,9 +34,6 @@ class ByteStreamCnvSvc; // Abstract factory to create the converter template <class TYPE> class CnvFactory; -// Externals -extern long ByteStream_StorageType; - class LArCalibDigitContByteStreamCnv: public Converter { public: @@ -50,8 +47,8 @@ public: virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr); /// Storage type and class ID - virtual long repSvcType() const { return ByteStream_StorageType;} - static long storageType() { return ByteStream_StorageType; } + virtual long repSvcType() const { return i_repSvcType(); } + static long storageType() { return ByteStreamAddress::storageType(); } static const CLID& classID(); private: diff --git a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArDigitContByteStreamCnv.h b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArDigitContByteStreamCnv.h index d37dd395622a6f1f0d4c3a8d6adf54c6d77cc1ac..d017f069d553a5200f6c132a99ff87aa17962dbe 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArDigitContByteStreamCnv.h +++ b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArDigitContByteStreamCnv.h @@ -1,7 +1,7 @@ //Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #ifndef LARBYTESTREAM_LARDIGITCONTRAWEVENTCNV_H @@ -34,9 +34,6 @@ class ByteStreamCnvSvc; // Abstract factory to create the converter template <class TYPE> class CnvFactory; -// Externals -extern long ByteStream_StorageType; - class LArDigitContByteStreamCnv: public Converter { public: @@ -51,8 +48,8 @@ public: virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr); /// Storage type and class ID - virtual long repSvcType() const { return ByteStream_StorageType; } - static long storageType() { return ByteStream_StorageType; } + virtual long repSvcType() const { return i_repSvcType(); } + static long storageType() { return ByteStreamAddress::storageType(); } static const CLID& classID(); private: diff --git a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArFebHeaderContByteStreamCnv.h b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArFebHeaderContByteStreamCnv.h index cc25b02c3f8576a86310a7dc99deb190fbd2a798..92f5e28ac4fcbef1d0bc533a38fa2e1c8e65cb2c 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArFebHeaderContByteStreamCnv.h +++ b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArFebHeaderContByteStreamCnv.h @@ -1,7 +1,7 @@ //Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #ifndef LARBYTESTREAM_FEBHEADERCONTRAWEVENTCNV_H @@ -34,9 +34,6 @@ class ByteStreamCnvSvc; // Abstract factory to create the converter template <class TYPE> class CnvFactory; -// Externals -extern long ByteStream_StorageType; - class LArFebHeaderContByteStreamCnv: public Converter { public: LArFebHeaderContByteStreamCnv(ISvcLocator* svcloc); @@ -48,8 +45,8 @@ class LArFebHeaderContByteStreamCnv: public Converter { virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr); /// Storage type and class ID - virtual long repSvcType() const { return ByteStream_StorageType;} - static long storageType() { return ByteStream_StorageType; } + virtual long repSvcType() const { return i_repSvcType(); } + static long storageType() { return ByteStreamAddress::storageType(); } static const CLID& classID(); private: diff --git a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArRawChannelContByteStreamCnv.h b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArRawChannelContByteStreamCnv.h index ab2188b6048becc5490a1df0164a70d76c7bc0e7..968883644651a241b14997139eda4f3e767e89f0 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArRawChannelContByteStreamCnv.h +++ b/LArCalorimeter/LArCnv/LArByteStream/LArByteStream/LArRawChannelContByteStreamCnv.h @@ -1,7 +1,7 @@ //Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #ifndef LARBYTESTREAM_LARRAWCHANNELCONTRAWEVENTCNV_H @@ -13,7 +13,6 @@ #include "ByteStreamData/RawEvent.h" #include "ByteStreamCnvSvcBase/ByteStreamAddress.h" //#include "LArByteStream/Hid2RESrcID.h" -# class DataObject; class StatusCode; @@ -29,9 +28,6 @@ class ByteStreamCnvSvc; // Abstract factory to create the converter template <class TYPE> class CnvFactory; -// Externals -extern long ByteStream_StorageType; - class LArRawChannelContByteStreamCnv: public Converter { public: @@ -46,8 +42,8 @@ class LArRawChannelContByteStreamCnv: public Converter { virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr); /// Storage type and class ID - virtual long repSvcType() const { return ByteStream_StorageType; } - static long storageType() { return ByteStream_StorageType; } + virtual long repSvcType() const { return i_repSvcType(); } + static long storageType() { return ByteStreamAddress::storageType(); } static const CLID& classID(); private: diff --git a/LArCalorimeter/LArCnv/LArByteStream/src/LArAccumulatedCalibDigitContByteStreamCnv.cxx b/LArCalorimeter/LArCnv/LArByteStream/src/LArAccumulatedCalibDigitContByteStreamCnv.cxx index ad84f43c8d184ec1be359edaf87eb14945fe85c4..b071138fe8530e8ca3f8e8629d0e543c97cd5fcf 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/src/LArAccumulatedCalibDigitContByteStreamCnv.cxx +++ b/LArCalorimeter/LArCnv/LArByteStream/src/LArAccumulatedCalibDigitContByteStreamCnv.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "LArByteStream/LArAccumulatedCalibDigitContByteStreamCnv.h" @@ -32,7 +32,7 @@ LArAccumulatedCalibDigitContByteStreamCnv::LArAccumulatedCalibDigitContByteStreamCnv(ISvcLocator* svcloc) : - Converter(ByteStream_StorageType, classID(),svcloc),m_log(NULL),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL){} + Converter(storageType(), classID(),svcloc),m_log(NULL),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL){} const CLID& LArAccumulatedCalibDigitContByteStreamCnv::classID(){ return ClassID_traits<LArAccumulatedCalibDigitContainer>::ID() ; diff --git a/LArCalorimeter/LArCnv/LArByteStream/src/LArAccumulatedDigitContByteStreamCnv.cxx b/LArCalorimeter/LArCnv/LArByteStream/src/LArAccumulatedDigitContByteStreamCnv.cxx index db7e42b94fc682f5f79e0d497ccd17ba0397cba9..562dfa424e0ef7b20a84542ba021ba506ff992ad 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/src/LArAccumulatedDigitContByteStreamCnv.cxx +++ b/LArCalorimeter/LArCnv/LArByteStream/src/LArAccumulatedDigitContByteStreamCnv.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "LArByteStream/LArAccumulatedDigitContByteStreamCnv.h" @@ -32,7 +32,7 @@ LArAccumulatedDigitContByteStreamCnv::LArAccumulatedDigitContByteStreamCnv(ISvcLocator* svcloc) : - Converter(ByteStream_StorageType, classID(),svcloc),m_log(NULL),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL){} + Converter(storageType(), classID(),svcloc),m_log(NULL),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL){} const CLID& LArAccumulatedDigitContByteStreamCnv::classID(){ return ClassID_traits<LArAccumulatedDigitContainer>::ID() ; diff --git a/LArCalorimeter/LArCnv/LArByteStream/src/LArCalibDigitContByteStreamCnv.cxx b/LArCalorimeter/LArCnv/LArByteStream/src/LArCalibDigitContByteStreamCnv.cxx index 1cd8b3e1817900a1ba453786adfd8acef0d337e8..f86ce40b28a1c16a483a6d5a906cc2343503fa46 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/src/LArCalibDigitContByteStreamCnv.cxx +++ b/LArCalorimeter/LArCnv/LArByteStream/src/LArCalibDigitContByteStreamCnv.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "LArByteStream/LArCalibDigitContByteStreamCnv.h" @@ -30,7 +30,7 @@ LArCalibDigitContByteStreamCnv::LArCalibDigitContByteStreamCnv(ISvcLocator* svcloc) : - Converter(ByteStream_StorageType, classID(),svcloc), + Converter(storageType(), classID(),svcloc), m_log(NULL),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL) {} LArCalibDigitContByteStreamCnv::~LArCalibDigitContByteStreamCnv() { diff --git a/LArCalorimeter/LArCnv/LArByteStream/src/LArDigitContByteStreamCnv.cxx b/LArCalorimeter/LArCnv/LArByteStream/src/LArDigitContByteStreamCnv.cxx index d12e94b5758148444204dc98d88478bd5e9afe46..804e4d738029314bb2e83ade3d2243e8acdd797e 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/src/LArDigitContByteStreamCnv.cxx +++ b/LArCalorimeter/LArCnv/LArByteStream/src/LArDigitContByteStreamCnv.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "LArByteStream/LArDigitContByteStreamCnv.h" @@ -33,7 +33,7 @@ LArDigitContByteStreamCnv::LArDigitContByteStreamCnv(ISvcLocator* svcloc) : - Converter(ByteStream_StorageType, classID(),svcloc), m_log(NULL),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL){} + Converter(storageType(), classID(),svcloc), m_log(NULL),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL){} LArDigitContByteStreamCnv::~LArDigitContByteStreamCnv() { if (m_log) diff --git a/LArCalorimeter/LArCnv/LArByteStream/src/LArFebHeaderContByteStreamCnv.cxx b/LArCalorimeter/LArCnv/LArByteStream/src/LArFebHeaderContByteStreamCnv.cxx index 911f264ec322f8044f52d02c10d8a81d0c2d1898..eed4ce7041c200c09ef713c29c24a178735573f6 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/src/LArFebHeaderContByteStreamCnv.cxx +++ b/LArCalorimeter/LArCnv/LArByteStream/src/LArFebHeaderContByteStreamCnv.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "LArByteStream/LArFebHeaderContByteStreamCnv.h" @@ -33,7 +33,7 @@ LArFebHeaderContByteStreamCnv::LArFebHeaderContByteStreamCnv(ISvcLocator* svcloc) : - Converter(ByteStream_StorageType, classID(),svcloc),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL){} + Converter(storageType(), classID(),svcloc),m_tool(NULL),m_ByteStreamEventAccess(NULL),m_rdpSvc(NULL),m_storeGate(NULL){} const CLID& LArFebHeaderContByteStreamCnv::classID(){ return ClassID_traits<LArFebHeaderContainer>::ID() ; diff --git a/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelContByteStreamCnv.cxx b/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelContByteStreamCnv.cxx index 5686674e5a4d060f048136fcdceb6d51c9222321..43e4363990bf1174d0745e970a225fcb0b00f2ab 100644 --- a/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelContByteStreamCnv.cxx +++ b/LArCalorimeter/LArCnv/LArByteStream/src/LArRawChannelContByteStreamCnv.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "LArByteStream/LArRawChannelContByteStreamCnv.h" @@ -34,7 +34,7 @@ LArRawChannelContByteStreamCnv::LArRawChannelContByteStreamCnv(ISvcLocator* svcloc) : - Converter(ByteStream_StorageType, classID(),svcloc), m_log(NULL), + Converter(storageType(), classID(),svcloc), m_log(NULL), m_tool(NULL),m_ByteStreamEventAccess(0),m_rdpSvc(0),m_storeGate(0),m_contSize(0) {}