Concrete converter for the Event header stored in the TDS /Event Based on the EventCnv of GLAST.
More...
#include <EventCnv.h>
|
virtual | ~EventCnv () |
|
| RootEventBaseCnv (const CLID &clid, ISvcLocator *svc) |
|
virtual | ~RootEventBaseCnv () |
|
virtual long | repSvcType () const |
|
virtual StatusCode | initialize () |
|
virtual StatusCode | finalize () |
|
void | declareObject (const std::string &fullPath, const CLID &clid, const std::string &treename, const std::string &branchname) |
| Store TDS path to link a particular converter to an object on the TDS.
|
|
virtual StatusCode | createObj (IOpaqueAddress *addr, DataObject *&dat) |
| Convert the persistent object to transient.
|
|
virtual StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) |
| Convert the transient object to the requested representation.
|
|
virtual StatusCode | fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
| Resolve the references of the converted object.
|
|
virtual StatusCode | fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) |
| Resolve the references of the converted object.
|
|
virtual StatusCode | DataObjectToTObject (DataObject *dat, RootAddress *addr)=0 |
| Do the concrete conversion from TDS to ROOT.
|
|
virtual StatusCode | TObjectToDataObject (DataObject *&dat)=0 |
| Do the concrete conversion from ROOT to TDS.
|
|
TObject * | getReadObject () const |
| get the object to be read
|
|
destination * | operator (const source &) const |
|
|
static const CLID & | classID () |
|
static const unsigned char | storageType () |
| Storage type and class ID.
|
|
Concrete converter for the Event header stored in the TDS /Event Based on the EventCnv of GLAST.
Definition at line 21 of file EventCnv.h.
◆ ~EventCnv()
virtual EventCnv::~EventCnv |
( |
| ) |
|
|
inlinevirtual |
◆ EventCnv()
EventCnv::EventCnv |
( |
ISvcLocator * |
svc | ) |
|
|
protected |
Definition at line 24 of file EventCnv.cxx.
26{
27
28
29
30
31 MsgStream log(
msgSvc(),
"EventCnv");
32 log << MSG::DEBUG << "EventCnv::EventCnv()" << endreq;
33}
static const CLID & classID()
Base class for all Root Converters.
◆ classID()
static const CLID & EventCnv::classID |
( |
| ) |
|
|
inlinestatic |
◆ createObj()
StatusCode EventCnv::createObj |
( |
IOpaqueAddress * |
addr, |
|
|
DataObject *& |
refpObject |
|
) |
| |
|
protectedvirtual |
transform from ROOT to TDS
Reimplemented from RootEventBaseCnv.
Definition at line 35 of file EventCnv.cxx.
35 {
36
37
38
40 MsgStream log(
msgSvc(),
"EventCnv");
41 log << MSG::DEBUG << "createObj" << endreq;
43 refpObject=evh;
44 return StatusCode::SUCCESS;
45}
◆ createRep()
StatusCode EventCnv::createRep |
( |
DataObject * |
obj, |
|
|
RootAddress * |
addr |
|
) |
| |
|
protected |
transform from TDS to ROOT
Definition at line 49 of file EventCnv.cxx.
49 {
50
51 MsgStream log(
msgSvc(),
"EventCnv");
52 log << MSG::DEBUG << "EventCnv::DataObjectToObject" << endreq;
53
55 if (!evh) {
56 log << MSG::ERROR << "Could not downcast Event" << endreq;
57 return StatusCode::FAILURE;
58 }
59
60 return StatusCode::SUCCESS;
61}
◆ DataObjectToTObject()
StatusCode EventCnv::DataObjectToTObject |
( |
DataObject * |
obj, |
|
|
RootAddress * |
addr |
|
) |
| |
|
inlineprotectedvirtual |
◆ TObjectToDataObject()
virtual StatusCode EventCnv::TObjectToDataObject |
( |
DataObject *& |
dat | ) |
|
|
inlineprotectedvirtual |
◆ CnvFactory< EventCnv >
◆ m_common
The documentation for this class was generated from the following files: