processData.h
1 |
// raw Data
|
---|---|
2 |
TGraph *gCal, *gExp; |
3 |
TH1F *hCal, *hExp; |
4 |
|
5 |
// smooth Data
|
6 |
TH1F *hCal_smooth, *hExp_smooth; |
7 |
TGraph *gCal_smooth, *gExp_smooth; |
8 |
|
9 |
//CFD graphs
|
10 |
TGraph *gCFD_Cal_s, *gCFD_Exp_s; |
11 |
TGraph *gCFD_Cal, *gCFD_Exp; |
12 |
|
13 |
Double_t getLed_up(TH1F *hist, Double_t thresh); |
14 |
Double_t getLed_low(TH1F *hist, Double_t thresh); |
15 |
|
16 |
TGraph* SetGraphs(TH1F* hist); |
17 |
TGraph* SetCFDGraph_static(TGraph *g, Double_t amp, Int_t delay); |
18 |
TGraph* SetCFDGraph(TGraph *g, Double_t amp, Double_t delay,Double_t* CFDtime); |
19 |
TGraph* SetCFDGraph_back(TGraph *g, Double_t amp, Double_t delay,Double_t* CFDtime); |
20 |
|
21 |
|
22 |
Double_t tCFD_cal,tCFD_exp; |
23 |
|
24 |
TGraph* shiftGraph(TGraph *g1, TGraph *g2, Double_t shift); |
25 |
TH1F* shiftHisto(TH1F *h1, TH1F *h2, Double_t shift); |
26 |
|
27 |
|
28 |
void getPeregib(TGraph *g, Double_t x, Double_t range,Double_t *devMax,Double_t *tdevMax);
|