1#ifndef _RootEventBaseCnv_H
2#define _RootEventBaseCnv_H 1
4#include "GaudiKernel/Converter.h"
5#include "GaudiKernel/IDataProviderSvc.h"
89 virtual StatusCode initialize();
91 virtual StatusCode finalize();
94 void declareObject(
const std::string& fullPath,
const CLID& clid,
95 const std::string& treename,
const std::string& branchname );
98 virtual StatusCode createObj( IOpaqueAddress* addr, DataObject*& dat );
101 virtual StatusCode createRep( DataObject* pObject, IOpaqueAddress*& refpAddress );
104 virtual StatusCode fillRepRefs( IOpaqueAddress* pAddress, DataObject* pObject );
107 virtual StatusCode fillObjRefs( IOpaqueAddress* pAddress, DataObject* pObject );
const long int ROOT_StorageType
const long int ROOT_StorageType
Definition of a Root address, derived from IOpaqueAddress.
virtual StatusCode DataObjectToTObject(DataObject *dat, RootAddress *addr)=0
Do the concrete conversion from TDS to ROOT.
std::string m_rootTreename
each converter knows it's treename
static const unsigned char storageType()
Storage type and class ID.
IDataProviderSvc * m_eds
pointer to eventdataservice
std::vector< RootCnvSvc::Leaf > m_leaves
TObject * getReadObject() const
get the object to be read
int m_branchNrEvtNavigator
virtual ~RootEventBaseCnv()
std::vector< void * > m_adresses
each converter knows the corresponding adresses
RootEvtSelector * m_evtsel
TArrayS * m_branchNumbers
array with number of branches for reading
virtual StatusCode TObjectToDataObject(DataObject *&dat)=0
Do the concrete conversion from ROOT to TDS.
virtual long repSvcType() const
std::string m_currentFileName
int m_branchNr
the branchNr of this converter for writing
RootInterface * m_rootInterface
pointer to the RootInterface
std::string m_rootBranchname
root branchname (may be concatenated of severals)
CLID CLID_top
the CLID of the upper converter if any
TObject * m_objRead
the object that was read
RootEventBaseCnv(const CLID &clid, ISvcLocator *svc)
RootEvtSelector performs the function of controlling the ApplicationMgr loop.