71 const std::string& indexName,
int indexRange,
int arraySize, TYP minimum, TYP maximum,
72 INTuple* tuple,
bool hasRange );
74 bool parseName(
const std::string& full, std::string& blk, std::string& var );
unsigned int CLID
Class ID definition.
A DataObject is the base class of any identifiable object on any data store.
NTuple interface class definition.
NTuple interface class definition.
Opaque address interface definition.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
RConverter(const CLID &clid, ISvcLocator *svc)
Standard constructor.
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.
virtual StatusCode writeData(TTree *rtree, INTuple *pObj)=0
Write 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.
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
virtual StatusCode book(const std::string &desc, INTuple *pObj, TTree *&tree)=0
Book a new N tuple.
StatusCode initialize() override
Initialize the converter.
virtual StatusCode readData(TTree *rtree, INTuple *pObj, long ievt)=0
Read N tuple data.
virtual std::string rootVarType(int)
Return ROOT type info:
StatusCode updateRep(IOpaqueAddress *pAddr, DataObject *pObj) override
Update the converted representation of a transient object.
SmartIF< INTupleSvc > m_ntupleSvc
Reference to N tuple service.
StatusCode finalize() override
Finalize the converter.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
bool parseName(const std::string &full, std::string &blk, std::string &var)
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.