#include <RawDataEmcDigiCnv.hpp>
Definition at line 13 of file RawDataEmcDigiCnv.hpp.
◆ RawDataEmcDigiCnv()
| RawDataEmcDigiCnv::RawDataEmcDigiCnv |
( |
ISvcLocator * | svc | ) |
|
|
inline |
Definition at line 16 of file RawDataEmcDigiCnv.hpp.
RawDataBaseCnv(long storageType, const CLID &clid, ISvcLocator *svc)
static const CLID & classID()
◆ ~RawDataEmcDigiCnv()
| RawDataEmcDigiCnv::~RawDataEmcDigiCnv |
( |
| ) |
|
|
inline |
◆ classID()
| const CLID & RawDataEmcDigiCnv::classID |
( |
| ) |
|
|
inlinestatic |
◆ createObj()
| StatusCode RawDataEmcDigiCnv::createObj |
( |
IOpaqueAddress * | , |
|
|
DataObject *& | pObj ) |
|
inline |
Definition at line 39 of file RawDataEmcDigiCnv.hpp.
39 {
40 MsgStream log(
msgSvc(),
"RawDataEmcDigiCnv" );
41
42
43
45 pObj = digiCol;
46
48 if ( !evt )
49 {
50 cout << "RawDataEmcDigiCnv::createObj can't get event!" << endl;
51 return StatusCode::FAILURE;
52 }
53
54 const BufferHolder& emcBuf = evt->
getEmcBuf();
55
56 return m_cnv->convert( emcBuf, digiCol );
57 }
ObjectVector< EmcDigi > EmcDigiCol
const BufferHolder & getEmcBuf() const
IRawDataInputSvc * m_inputSvc
◆ createRep()
| StatusCode RawDataEmcDigiCnv::createRep |
( |
DataObject * | , |
|
|
IOpaqueAddress *& | ) |
|
inline |
Definition at line 59 of file RawDataEmcDigiCnv.hpp.
59 {
60
61 MsgStream log(
msgSvc(),
"RawDataEmcDigiCnv" );
62
64 if ( re == 0 )
65 {
66 log << " get RawEvent failed !" << endmsg;
67 return StatusCode::FAILURE;
68 }
69
71 if ( !digiCol )
72 {
73 log << "no EmcDigiCol found" << endmsg;
74 return StatusCode::FAILURE;
75 }
76
77 return m_cnv->convert( digiCol, re );
78 }
eformat::write::FullEventFragment WriteRawEvent
IRawDataCnvSvc * m_cnvSvc
_EXTERN_ std::string EmcDigiCol
◆ initialize()
| StatusCode RawDataEmcDigiCnv::initialize |
( |
| ) |
|
|
inlineoverride |
Definition at line 20 of file RawDataEmcDigiCnv.hpp.
20 {
21 MsgStream log(
msgSvc(),
"RawDataEmcDigiCnv" );
22
24 if ( sc.isFailure() )
25 {
26 log << MSG::ERROR << "Failed to initialize Converter" << endmsg;
27 return sc;
28 }
29
31
32 return StatusCode::SUCCESS;
33 }
static EmcConverter * instance(int runMode=2)
The documentation for this class was generated from the following file: