Run


class description - source file - inheritance tree

class Run : public TObject


    public:
Run Run() Run Run(Run&) virtual void ~Run() static TClass* Class() void GetDatabaseNames(TObjString* DBName, TObjString* BXDBName, TObjString* SISDBName) const char* GetEndDate() const const char* GetEndDateAsDateString() const int GetRunnumber() const char* GetStartDate() const const char* GetStartDateAsDateString() const virtual TClass* IsA() const void MakeHtml(ofstream& htmlfile) void SetDatabaseNames(const char* DBName, const char* BXDBName, const char* SISDBName = 0) void SetDates(Date& startDate, Date& endDate) void SetRunnumber(Int_t number) virtual void ShowMembers(TMemberInspector& insp, char* parent) void ShowValues() virtual void Streamer(TBuffer& b) void Test(ofstream& htmlfile)

Data Members

private:
Date* start Date* end Int_t run_number TObjString* dbName TObjString* bxdbName TObjString* sisdbName

Class Description

*******************************************************
* Class Expert                                        *
*                                                     *
* Provides some useful functions for target expert's  *
* everyday life.                                      *
* At the moment it allows for automatic runoverview   *
* generation.                                         *
*******************************************************

Run () : TObject ()
 default constructor

void SetDates (Date &startDate, Date &endDate)
 set start and end date of the current run

void SetRunnumber (Int_t number)
 set the current runnumber

int GetRunnumber ()
 return current run number, or 0, if runnumber
 has not been set so far.

void SetDatabaseNames (const char *DBName, const char *BXDBName=0, const char *SISDBName=0)
 set the database names of the current run.
 even if the names are given with their complete unix path,
 they are reduced to the filename only.

void GetDatabaseNames (TObjString *DBName, TObjString *BXDBName, TObjString *SISDBName)
 returns pointers to the current database names.

const char* GetStartDate ()
 returns current run start date in string format.
 if date has not been set so far, the output corresponds to
 Jan 01, 1970 00:00:00 GMT.

const char* GetStartDateAsDateString ()
 returns current run start date in date string format.
 if date has not been set so far, the output corresponds to
 Jan 01, 1970 00:00:00 GMT.

const char* GetEndDate ()
 returns current run end date.

const char* GetEndDateAsDateString ()
 returns current run end date.

void Test (ofstream &htmlfile)

void MakeHtml (ofstream &htmlfile)
 generates html output for the run overview table.
 all necessary parameters of the current run are coded following the
 style of the target runoverview tables.

void ShowValues ()
 shows all parameters for the current run.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
                Run Run(Run&)
               void ~Run()


ROOT 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.