StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
GainAnalysis.h
1 #ifndef GAINANALYSIS_H
2 #define GAINANALYSIS_H
3 
4 #include <TObject.h>
5 #include <TPostScript.h>
6 #include <TH1F.h>
7 #include <TH2F.h>
8 #include <TGraphErrors.h>
9 #include <TFile.h>
10 #include <TTree.h>
11 
12 class MyEvent;
13 class MyPoint;
14 
15 class GainAnalysis : public TObject{
16  protected:
17  TFile *mFile;
18  TFile *mFileOut;
19 
20  TTree *myEventTree;
21  MyEvent *ev;
22  TPostScript *ps;
23 
24  TH2F *h_minvPt;
25  TH2F *h_minvId;
26 
27  public:
28 
29  GainAnalysis(const char*,const char*);
30  ~GainAnalysis();
31  Int_t init(const char*);
32  Int_t make(Int_t evmax=0,const char* d="default");
33  Int_t finish();
34 
35  Bool_t isPointOK(MyPoint *p);
36 
37  ClassDef(GainAnalysis,1)
38 };
39 
40 #endif
Definition: MyPoint.h:7