8#include "GaudiKernel/DataObject.h"
9#include "GaudiKernel/IDataProviderSvc.h"
10#include "GaudiKernel/MsgStream.h"
11#include "GaudiKernel/SmartDataPtr.h"
13#include "EventModel/Event.h"
14#include "RootCnvSvc/EventCnv.h"
15#include "RootCnvSvc/RootAddress.h"
16#include "RootCnvSvc/RootCnvSvc.h"
27 MsgStream log(
msgSvc(),
"EventCnv" );
28 log << MSG::DEBUG <<
"EventCnv::EventCnv()" << endmsg;
36 MsgStream log(
msgSvc(),
"EventCnv" );
37 log << MSG::DEBUG <<
"createObj" << endmsg;
40 return StatusCode::SUCCESS;
46 MsgStream log(
msgSvc(),
"EventCnv" );
47 log << MSG::DEBUG <<
"EventCnv::DataObjectToObject" << endmsg;
52 log << MSG::ERROR <<
"Could not downcast Event" << endmsg;
53 return StatusCode::FAILURE;
56 return StatusCode::SUCCESS;
EventCnv(ISvcLocator *svc)
static const CLID & classID()
StatusCode createRep(DataObject *obj, RootAddress *addr)
transform from TDS to ROOT
StatusCode createObj(IOpaqueAddress *addr, DataObject *&refpObject)
transform from ROOT to TDS
Definition of a Root address, derived from IOpaqueAddress.
RootEventBaseCnv(const CLID &clid, ISvcLocator *svc)