JSFDBS
class description - source file - inheritance tree
protected:
void OpenDBS()
public:
JSFDBS(Int_t run = 0)
JSFDBS(const JSFDBS&)
virtual ~JSFDBS()
static TClass* Class()
virtual void CloseDBS()
virtual TClass* IsA() const
Bool_t IsOpen()
virtual void Print()
virtual void ReadDBS(Int_t run)
static void SetFile(TFile* file)
virtual Char_t* SetKeyName(Int_t run)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual void WriteDBS(Int_t run)
protected:
static TFile* fFile ! JSF common data base file.
JSFDBS
Base class to use data base in the JSF
The name of the data base file is obtained from the environment
variable, JSFDBS.FileName. The default name is "jsfdbs.root".
As a default, the file is opened by READONLY mode.
To WRITE to the data base, open by yourself with WRITE mode,
set tell its file name by SetFile(file). Nomal procedure will be
TFile *f= new TFile("mydbs.root") ;
JSFDBS::SetFile(f);
MyDBS *d=new MyDBS(data.....)
JSFDBS(Int_t run)
Run number is a key of the data base.
If run > 0, read data when this object is created.
If run <= 0, create the object with empty data.
Use this option, when you write to the data base file.
~JSFDBS()
Bool_t IsOpen()
void OpenDBS()
Open Data base.
Char_t* SetKeyName(Int_t run)
void ReadDBS(Int_t run)
void WriteDBS(Int_t run)
Inline Functions
void SetFile(TFile* file)
void CloseDBS()
void Print()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
JSFDBS JSFDBS(const JSFDBS&)
Last update: Tue Jan 20 15:53:58 2004
ROOT page - Home page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.