[ROOT] how to save a single variable?

From: Aihong Tang (aihong@cnr.physics.kent.edu)
Date: Sat Aug 12 2000 - 17:21:24 MEST


Hi, 

What I am trying to do is quite simple: Save an integer or float(and their
name) in a root file and read it back by name. Since an number itself is
not an object, I have to embedd it into an object so that I can save it.
I am sure that there are a lot of work around.

But my question is: is there a dedicated class for this purppose? (like
TNumber::TNumber(char* name, char* title, Int_t/Float_t number). )

Thanks!

Aihong



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET