HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HarpoAnalyseRates.h
Go to the documentation of this file.
1 #ifndef HARPOANALYSERATES_H
2 #define HARPOANALYSERATES_H
3 
5 //
6 // HarpoAnalyseRates
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 "TGraphErrors.h"
19 
21 
22  public:
23 
25 
26  void Init();
27  void Save(char *mode=NULL);
28  void process();
29  void print();
30 
31  private:
32 
33  Bool_t fInit;
34 
35  TH2F* hDeltaT;
36  TH2F* hDeltaTlog;
40  TH2F* hCycle;
41  TH2F* hCycleNew;
42  TH2F* hTlowhigh;
43  TH1F* hRate;
46 
47 
48  TGraph* gTimestamp0;
49  TGraph* gTimestamp1;
50  TGraph* gTimestamp2;
51 
52  TGraph* gTlow;
53  TGraph* gThigh;
54 
55  Double_t fTimestampOld;
56  Int_t fTriggerOld;
58  Int_t fOffset;
59  Int_t fTimeStart;
60  static const Int_t kNtriggerTypes = 20;
61 
66 
67  ClassDef(HarpoAnalyseRates,1) //Run AnalysePrint
68 };
69 
70 #endif
Dummy analysis to run as test and example. Give basic histograms of the data.
static const Int_t kNtriggerTypes
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
Definition: HarpoAnalyse.h:47
Int_t fTriggerDownscaling[kNtriggerTypes]
Int_t fThigh[kNtriggerTypes]
void print()
Overloaded method which do all job.
Bool_t fInit
Redefine empty default.
Int_t fTlow[kNtriggerTypes]
Int_t fTriggerTime[kNtriggerTypes]
void Save(char *mode=NULL)