1#ifndef _RootEventBaseCnv_H
2#define _RootEventBaseCnv_H 1
8#include "GaudiKernel/Converter.h"
9#include "GaudiKernel/CnvFactory.h"
10#include "GaudiKernel/IDataProviderSvc.h"
94 virtual StatusCode initialize();
96 virtual StatusCode finalize();
99 void declareObject(
const std::string& fullPath,
const CLID& clid,
100 const std::string& treename,
101 const std::string& branchname );
104 virtual StatusCode createObj(IOpaqueAddress* addr,
108 virtual StatusCode createRep(DataObject* pObject,
109 IOpaqueAddress*& refpAddress);
112 virtual StatusCode fillRepRefs(IOpaqueAddress* pAddress,
113 DataObject* pObject);
116 virtual StatusCode fillObjRefs(IOpaqueAddress* pAddress,
117 DataObject* pObject);
const long int ROOT_StorageType
const long int ROOT_StorageType
Definition of a Root address, derived from IOpaqueAddress.
Root Event Conversion Service which coordinates all of our converters.
Base class for all Root Converters.
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
std::vector< void * > m_adresses
each converter knows the corresponding adresses
static const unsigned char storageType()
Storage type and class ID.
RootEvtSelector * m_evtsel
TObject * m_objRead
the object that was read
RootInterface * m_rootInterface
pointer to the RootInterface
TObject * getReadObject() const
get the object to be read
int m_branchNrEvtNavigator
TArrayS * m_branchNumbers
array with number of branches for reading
virtual ~RootEventBaseCnv()
virtual StatusCode TObjectToDataObject(DataObject *&dat)=0
Do the concrete conversion from ROOT to TDS.
virtual long repSvcType() const
std::string m_currentFileName
IDataProviderSvc * m_eds
pointer to eventdataservice
int m_branchNr
the branchNr of this converter for writing
std::string m_rootBranchname
root branchname (may be concatenated of severals)
CLID CLID_top
the CLID of the upper converter if any
std::vector< RootCnvSvc::Leaf > m_leaves
RootEvtSelector performs the function of controlling the ApplicationMgr loop.