#include <RawDataZddEventCnv.hpp>
Definition at line 10 of file RawDataZddEventCnv.hpp.
◆ RawDataZddEventCnv()
| RawDataZddEventCnv::RawDataZddEventCnv |
( |
ISvcLocator * | svc | ) |
|
|
inline |
Definition at line 15 of file RawDataZddEventCnv.hpp.
const long PACKEDRAWEVENT_StorageType
RawDataBaseCnv(long storageType, const CLID &clid, ISvcLocator *svc)
static const CLID & classID()
◆ ~RawDataZddEventCnv()
| RawDataZddEventCnv::~RawDataZddEventCnv |
( |
| ) |
|
|
inline |
◆ classID()
| const CLID & RawDataZddEventCnv::classID |
( |
| ) |
|
|
inlinestatic |
◆ createObj()
| StatusCode RawDataZddEventCnv::createObj |
( |
IOpaqueAddress * | , |
|
|
DataObject *& | pObj ) |
|
inline |
Definition at line 37 of file RawDataZddEventCnv.hpp.
37 {
38 Event::ZddEvent* zddEvt = new Event::ZddEvent;
39 pObj = zddEvt;
40
42 if ( evt == NULL )
43 {
44
45 return StatusCode::FAILURE;
46 }
47
48 const BufferHolder& zddBuf = evt->
getZddBuf();
49
50
51 uint32_t nbuf = zddBuf.
nBuf();
52 for ( uint32_t i = 0; i < nbuf; ++i )
53 {
54 uint32_t* buf = zddBuf( i );
55 m_cnv->convert( buf, zddBuf.
bufSize( i ), zddEvt );
56 }
57
58 return StatusCode::SUCCESS;
59 }
uint32_t bufSize(int i) const
const BufferHolder & getZddBuf() const
IRawDataInputSvc * m_inputSvc
◆ initialize()
| StatusCode RawDataZddEventCnv::initialize |
( |
| ) |
|
|
inlineoverride |
Definition at line 21 of file RawDataZddEventCnv.hpp.
21 {
22 MsgStream log(
msgSvc(),
"RawDataZddEventCnv" );
23 log << MSG::INFO << "RawDataZddEventCnv::initialize" << endmsg;
24
26 if ( sc.isFailure() )
27 {
28 log << MSG::ERROR << "Failed to initialize Converter" << endmsg;
29 return sc;
30 }
31
33
34 return StatusCode::SUCCESS;
35 }
static ZddConverter * instance(int runMode=2)
The documentation for this class was generated from the following file: