#include "hrunanalizer.h"

HRunAnalizer


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

class HRunAnalizer : public HReconstructor

Inheritance Chart:
TObject
<-
TNamed
<-
HTask
<-
HReconstructor
<-
HRunAnalizer
    private:
void extractStartInfo() void writeHeader() void writeInfo() public:
HRunAnalizer(Text_t* name, Text_t* title, Text_t* fileName = "0") HRunAnalizer(HRunAnalizer& analizer) ~HRunAnalizer() static TClass* Class() virtual Int_t execute() virtual Bool_t finalize() virtual Bool_t init() virtual TClass* IsA() const virtual Bool_t reinit() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
HEventHeader* fEventHeader Current event's header. Int_t fTotEvents Total number of events (excluding start/stop event) Int_t fCalEvents Number of calibration events Bool_t fFirstRun True if no run was analyzed before. FILE* fOut Output file. Bool_t fFirstEvent True if first event in run. UInt_t fRunStartDate UInt_t fRunStartTime Run start time UInt_t fRunStopDate UInt_t fRunStopTime Run start time UInt_t fRunId Run Id TString fFileName

Class Description


  HRunAnalizer

  Reconstructor to analyze the event header and to retrieve the information
  stored in the Oracle database table hades_oper.runs:
       hld file name
       run id
       run start (date and time of first event)
       run stop (date and time of last event, must not be a stop event)
       total number of events in the file
       number of calibration events
  The information is written to an Ascii file (default name: "run_info.txt").



HRunAnalizer(Text_t *name,Text_t *title,Text_t *fileName) : HReconstructor(name,title)
 constructor
 default name of output file: run_info.txt

HRunAnalizer(HRunAnalizer &analizer)
 copy constructor (not implemented!)

~HRunAnalizer(void)
 destructor

Int_t execute(void)
 reads the start event -> run id, run start
 extracts the date and time of the last event, the total number of
 events and the number of calibration events in the file

Bool_t init(void)

Bool_t reinit(void)

Bool_t finalize(void)

void extractStartInfo(void)

void writeHeader(void)

void writeInfo(void)



Inline Functions


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


Last update: 13/19/1999 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.