1 #ifndef ROOTHISTCNV_RNTUPLECNV_H
2 #define ROOTHISTCNV_RNTUPLECNV_H 1
15 namespace RootHistCnv {
69 std::string indexName,
70 int indexRange,
int arraySize,
71 TYP minimum, TYP maximum,
74 bool parseName(std::string full, std::string &blk, std::string &var);
78 #endif // RootHistCnv_RNTupleCnv_H
NTuple converter class definition.
virtual StatusCode updateRep(IOpaqueAddress *pAddr, DataObject *pObj)
Update the converted representation of a transient object.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
RNTupleCnv(ISvcLocator *svc, const CLID &clid)
Standard constructor.
virtual StatusCode book(const std::string &desc, INTuple *pObj, TTree *&tree)=0
Book a new N tuple.
virtual StatusCode finalize()
Finalize the converter.
NTuple interface class definition.
virtual StatusCode initialize()
Initialize the converter.
NTuple interface class definition.
This class is used for returning status codes from appropriate routines.
unsigned int CLID
Class ID definition.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr)
Convert the transient object to the requested representation.
virtual StatusCode load(TTree *tree, INTuple *&refpObj)=0
Create the transient representation of an object.
virtual ~RNTupleCnv()
Standard destructor.
virtual StatusCode writeData(TTree *rtree, INTuple *pObj)=0
Write N tuple data.
Opaque address interface definition.
SmartIF< INTupleSvc > m_ntupleSvc
Reference to N tuple service.
A DataObject is the base class of any identifiable object on any data store.
bool parseName(std::string full, std::string &blk, std::string &var)
virtual StatusCode readData(TTree *rtree, INTuple *pObj, long ievt)=0
Read N tuple data.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj)
Create the transient representation of an object.
virtual StatusCode updateObj(IOpaqueAddress *pAddr, DataObject *refpObj)
Update the transient object from the other representation.
INTupleItem * createNTupleItem(std::string itemName, std::string blockName, std::string indexName, int indexRange, int arraySize, TYP min, TYP max, INTuple *ntup)
virtual std::string rootVarType(int)
Return ROOT type info: