ATLAS Offline Software
PixelRawContByteStreamCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // PixelRawContByteStreamCnv.h
7 // Header file for class PixelRawContByteStreamCnv
9 // (c) ATLAS Pixel Detector software
11 // classID() - returning PixelRDO_Container ID
12 // createObj() - creates PixelRDO_Container
13 // createRep() - convert Pixel_RDO in the container into ByteStream
15 // Version 00-00-39 05/03/2007 Daniel Dobos
17 
18 #ifndef PIXELBYTESTREAM_PIXELRAWCONTRAWEVENTCNV_H
19 #define PIXELBYTESTREAM_PIXELRAWCONTRAWEVENTCNV_H
20 
21 
22 
23 #include "GaudiKernel/ServiceHandle.h" //member
24 #include "AthenaBaseComps/AthConstConverter.h" //inheritance
25 #include "ByteStreamCnvSvcBase/IByteStreamEventAccess.h" //SvcHandle template arg
28 
30 class IOpaqueAddress;
31 class DataObject;
32 
33 
35  public:
36 
37  typedef InDetRawDataCollection<Pixel1RawData> COLLECTION; // define collection format here
38 
39  PixelRawContByteStreamCnv(ISvcLocator* svcloc);
40 
41  virtual StatusCode initialize() override;
42 
44  virtual StatusCode createRepConst(DataObject* pObj, IOpaqueAddress*& pAddr) const override;
45 
47  virtual long repSvcType() const override { return i_repSvcType(); }
48  static long storageType();
49  static const CLID& classID();
50 
51 private:
54 };
55 #endif // PIXELBYTESTREAM_PXIELRAWCONTRAWEVENTCNV_H
56 
57 
58 
PixelRawContByteStreamTool
Definition: PixelRawContByteStreamTool.h:41
PixelRawContByteStreamCnv::createRepConst
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
this creates the RawEvent fragments for Pixel
Definition: PixelRawContByteStreamCnv.cxx:74
PixelRawContByteStreamCnv::m_ByteStreamEventAccess
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
Definition: PixelRawContByteStreamCnv.h:53
IByteStreamEventAccess.h
AthConstConverter
Gaudi converter base class with const interfaces.
Definition: AthConstConverter.h:33
PixelRawContByteStreamCnv::storageType
static long storageType()
Definition: PixelRawContByteStreamCnv.cxx:66
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthConstConverter.h
Gaudi converter base class with const interfaces.
Pixel1RawData.h
InDetRawDataCollection
Definition: InDetRawDataCollection.h:31
PixelRawContByteStreamCnv::classID
static const CLID & classID()
Definition: PixelRawContByteStreamCnv.cxx:60
PixelRawContByteStreamCnv::COLLECTION
InDetRawDataCollection< Pixel1RawData > COLLECTION
Definition: PixelRawContByteStreamCnv.h:37
PixelRawContByteStreamCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition: PixelRawContByteStreamCnv.h:47
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
PixelRawContByteStreamCnv::PixelRawContByteStreamCnv
PixelRawContByteStreamCnv(ISvcLocator *svcloc)
Definition: PixelRawContByteStreamCnv.cxx:32
InDetRawDataCollection.h
PixelRawContByteStreamCnv
Definition: PixelRawContByteStreamCnv.h:34
PixelRawContByteStreamCnv::initialize
virtual StatusCode initialize() override
Definition: PixelRawContByteStreamCnv.cxx:41
PixelRawContByteStreamCnv::m_PixelRawContBSTool
const PixelRawContByteStreamTool * m_PixelRawContBSTool
Definition: PixelRawContByteStreamCnv.h:52
ServiceHandle< IByteStreamEventAccess >