ATLAS Offline Software
Loading...
Searching...
No Matches
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
30class IOpaqueAddress;
31class 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
51private:
54};
55#endif // PIXELBYTESTREAM_PXIELRAWCONTRAWEVENTCNV_H
56
57
58
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)
ServiceHandle< IByteStreamEventAccess > m_ByteStreamEventAccess
PixelRawContByteStreamCnv(ISvcLocator *svcloc)
const PixelRawContByteStreamTool * m_PixelRawContBSTool
InDetRawDataCollection< Pixel1RawData > COLLECTION
virtual StatusCode initialize() override
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
this creates the RawEvent fragments for Pixel
virtual long repSvcType() const override
Storage type and class ID.