HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HarpoAnalyseTriggerTime.h
Go to the documentation of this file.
1 #ifndef HARPOANALYSETRIGGERTIME_H
2 #define HARPOANALYSETRIGGERTIME_H
3 
5 //
6 // HarpoAnalyseTrigger: calculate delta t in each line
7 //
8 // //////////////////////////////////////////////////////////////////////
9 //
10 
11 #include "TObject.h"
12 #include "HarpoAnalyse.h"
13 #include "HarpoEvent.h"
14 #include "TTree.h"
15 #include "TProfile.h"
16 #include "TH1F.h"
17 #include "TH2F.h"
18 #include "TH3F.h"
19 #include "TGraphErrors.h"
20 #include "TGraph.h"
21 
23 
24  public:
25 
27 
28 void Init();
29 void Fill();
30 void process();
31 void print();
32 void Save(char *mode=NULL);
33  private:
34 
35 static const Int_t kNtriggerTypes = 16;
36 
42  Double_t fTimestampOld;
43  Int_t fTriggerOld;
44  Double_t t0;
45 
50 
52  TTree *fTree;
53  Int_t ftriggerType;
54  Int_t fQx;
55  Int_t fQy;
56  Double_t fRateFit;
57  Double_t fRateCal;
58  Double_t fRateFitNoUp;
59  Double_t fRateCalNoUp;
60  Double_t fRateFitNoL;
61  Double_t fRateCalNoL;
62  Double_t fRateFitTTZ;
63  Double_t fRateCalTTZ;
64  Double_t fTimeStamp;
65 
66 
67  static const Int_t kNhist = 50;
68 
69  ClassDef(HarpoAnalyseTriggerTime,1)
70 };
71 
72 #endif
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
Definition: HarpoAnalyse.h:47
TH1F * hdelta_t[kNtriggerTypes]
Int_t fTriggerTime[kNtriggerTypes]
Dummy analysis to run as test and example. Give basic histograms of the data.
Int_t fNevtTr[kNtriggerTypes]
Double_t fTriggerCorr[kNtriggerTypes]
Int_t fTriggerDownscaling[kNtriggerTypes]
static const Int_t kNtriggerTypes