Go to the documentation of this file.
11 #ifndef ROOTHISTCNV_RNTUPLECNV_H
12 #define ROOTHISTCNV_RNTUPLECNV_H 1
72 const std::string& indexName,
int indexRange,
int arraySize, TYP minimum, TYP maximum,
73 INTuple* tuple,
bool hasRange );
79 #endif // RootHistCnv_RNTupleCnv_H
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
INTupleItem * createNTupleItem(const std::string &itemName, const std::string &blockName, const std::string &indexName, int indexRange, int arraySize, TYP min, TYP max, INTuple *ntup, bool hasRange)
Add an item of a given type to the N tuple.
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj) override
Create the transient representation of an object.
StatusCode updateObj(IOpaqueAddress *pAddr, DataObject *refpObj) override
Update the transient object from the other representation.
StatusCode finalize() override
Finalize the converter.
bool parseName(const std::string &full, std::string &blk, std::string &var)
SmartIF< INTupleSvc > m_ntupleSvc
Reference to N tuple service.
unsigned int CLID
Class ID definition.
virtual StatusCode writeData(TTree *rtree, INTuple *pObj)=0
Write N tuple data.
StatusCode initialize() override
Initialize the converter.
StatusCode updateRep(IOpaqueAddress *pAddr, DataObject *pObj) override
Update the converted representation of a transient object.
virtual std::string rootVarType(int)
Return ROOT type info:
virtual StatusCode readData(TTree *rtree, INTuple *pObj, long ievt)=0
Read N tuple data.
RNTupleCnv(ISvcLocator *svc, const CLID &clid)
Standard constructor.
virtual StatusCode load(TTree *tree, INTuple *&refpObj)=0
Create the transient representation of an object.
virtual StatusCode book(const std::string &desc, INTuple *pObj, TTree *&tree)=0
Book a new N tuple.