#ifndef HRUNANALIZER
#define HRUNANALIZER

#include "hreconstructor.h"
#include <stdio.h>

class HEventHeader;

class HRunAnalizer : public HReconstructor {
 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,fRunStartTime;   //Run start time
  UInt_t fRunStopDate,fRunStopTime;   //Run start time
  UInt_t fRunId;      //Run Id
  TString fFileName; 
  void extractStartInfo(void);
  void writeInfo(void);
  void writeHeader(void);
 public:
  HRunAnalizer(Text_t *name,Text_t *title,Text_t *fileName=0);
  HRunAnalizer(HRunAnalizer &analizer);
  ~HRunAnalizer(void);
  Int_t execute(void);
  Bool_t init(void);
  Bool_t reinit(void);
  Bool_t finalize(void);
  ClassDef(HRunAnalizer,0) //Extract info from run files;
};

#endif

Last change: Sat May 22 13:12:24 2010
Last generated: 2010-05-22 13:12

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.