00001 #ifndef GAINANALYSIS_H
00002 #define GAINANALYSIS_H
00003
00004 #include <TObject.h>
00005 #include <TPostScript.h>
00006 #include <TH1F.h>
00007 #include <TH2F.h>
00008 #include <TGraphErrors.h>
00009 #include <TFile.h>
00010 #include <TTree.h>
00011
00012 class MyEvent;
00013 class MyPoint;
00014
00015 class GainAnalysis : public TObject{
00016 protected:
00017 TFile *mFile;
00018 TFile *mFileOut;
00019
00020 TTree *myEventTree;
00021 MyEvent *ev;
00022 TPostScript *ps;
00023
00024 TH2F *h_minvPt;
00025 TH2F *h_minvId;
00026
00027 public:
00028
00029 GainAnalysis(const char*,const char*);
00030 ~GainAnalysis();
00031 Int_t init(const char*);
00032 Int_t make(Int_t evmax=0,const char* d="default");
00033 Int_t finish();
00034
00035 Bool_t isPointOK(MyPoint *p);
00036
00037 ClassDef(GainAnalysis,1)
00038 };
00039
00040 #endif