#include "hrun.h"

HRun


class description - source file - inheritance tree (.pdf)

class HRun : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HRun

    public:
HRun() HRun(Text_t* name, Text_t* refName) HRun(Int_t r, Int_t rr = -1) HRun(HRun& run) ~HRun() void addParVersion(HParVersion* pv) static TClass* Class() HParVersion* getParVersion(Text_t* name) TList* getParVersions() const Text_t* getRefRun() const Int_t getRunId() virtual TClass* IsA() const HRun& operator=(const HRun&) void print() void resetInputVersions() void resetOutputVersions() void setRefRun(Text_t* s) void setRefRun(Int_t r) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void write(fstream&)

Data Members


    protected:
TList* parVersions List of container names with the versions TString refRun ! name of the reference run for initialization

Class Description

  HRun

  class for the parameter versions of an event file

  The name of each run is the run id converted to a string.
  The run id number identifies the event file. Each event has
  this number in the event header. It is also stored in Oracle
  and can be used to find the name of the corresponding LMD-file
  and the valid parameter versions.
  In the parameter ROOT file the valid parameter versions are
  accessible via the name.
  Associated with the run is a list of container
  names with the versions of the containers in the two
  possible inputs and the output (class HParVersions).
  The input versions are used during the initialisation
  used during the initialisation of the containers.



HRun(Text_t* name,Text_t* refName) : TNamed(name,"run parameters")
 constructor with the run id and reference run as strings

HRun(Int_t r,Int_t rr)
 constructor with the run id and reference run as numbers

HRun(HRun &run)
 copy constructor

~HRun()
 destructor

void addParVersion(HParVersion *pv)
 adds a container version object to the list

HParVersion* getParVersion(Text_t* name)
 return a container version object called by the name of
 the container

void resetInputVersions()

void resetOutputVersions()

void print()
 prints the list of container versions for this run

void write(fstream& fout)
 writes the list of container versions for this run to fstream



Inline Functions


                 HRun HRun(HRun& run)
                Int_t getRunId()
               TList* getParVersions()
        const Text_t* getRefRun() const
                 void setRefRun(Text_t* s)
                 void setRefRun(Int_t r)
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
                HRun& operator=(const HRun&)


Last update: 03/02/2000 by Ilse Koenig


ROOT page - Class index - Class Hierarchy - 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.