HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HarpoAnalysePattern.h
Go to the documentation of this file.
1 #ifndef HARPOANALYSEPATTERN_H
2 #define HARPOANALYSEPATTERN_H
3 
5 //
6 // HarpoAnalysePattern
7 //
8 // Dummy analysis which creates basic test histograms
9 //
10 
11 #include "TObject.h"
12 #include "HarpoAnalyse.h"
13 #include "HarpoEvent.h"
14 #include "TProfile.h"
15 #include "TH1F.h"
16 #include "TH2F.h"
17 #include "TH3F.h"
18 #include "TNtupleD.h"
19 #include "TGraphErrors.h"
20 #include "TGNumberEntry.h"
21 
23 
24  public:
25 
27 
28  void Init();
29  void Save(char *mode=NULL);
30  void process();
31  void print();
32  void GetShortest(TH2I* h, Int_t length, Int_t i, Int_t j);
33  void GetRoute(TH2I* hRoute, TH2I* h, Int_t length, Int_t i, Int_t j);
34 
35  void DisplayAnalysis(TRootEmbeddedCanvas* ecTab, TGListBox* infobox);
36  void ConfigFrame(TGMainFrame* fMain, Int_t id);
37  void SetConfig();
38 
39 
40  private:
41 
42  Int_t fRebinX;
43  Int_t fRebinZ;
44 
45  static const Int_t kMaxNvertex = 20;
46  // Double_t shortest[2][kNz][kNx];
50 
51  TGNumberEntry* fChooseRebinX;
52  TGNumberEntry* fChooseRebinZ;
53 
54 
55  ClassDef(HarpoAnalysePattern,1) //Run AnalysePrint
56 };
57 
58 #endif
void print()
Overloaded method which do all job.
static const Int_t kMaxNvertex
TH2I * fHistRoute2[2][kMaxNvertex]
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
Definition: HarpoAnalyse.h:47
void GetRoute(TH2I *hRoute, TH2I *h, Int_t length, Int_t i, Int_t j)
void GetShortest(TH2I *h, Int_t length, Int_t i, Int_t j)
Redefine empty default.
TGNumberEntry * fChooseRebinZ
TH2I * fHistShortest[2][kMaxNvertex]
void DisplayAnalysis(TRootEmbeddedCanvas *ecTab, TGListBox *infobox)
void Save(char *mode=NULL)
TGNumberEntry * fChooseRebinX
Dummy analysis to run as test and example. Give basic histograms of the data.
TH2I * fHistRoute[2][kMaxNvertex]
void ConfigFrame(TGMainFrame *fMain, Int_t id)