source: fact/tools/rootmacros/PulseTemplates/SaveToCsv.h@ 17048

Last change on this file since 17048 was 14535, checked in by Jens Buss, 12 years ago
cleanup
File size: 2.0 KB
Line 
1#ifndef SAVETOCSV_H
2#define SAVETOCSV_H
3
4//////////////////////////////////////////////////////////////
5//Functions for FPulsetemplate to write template Pulse to csv
6//////////////////////////////////////////////////////////////
7
8void
9WritePixelTemplateToCsv(
10 TString path,
11 TString csv_file_name,
12 TString ovoid
13 FitMaxPropabilityPuls(
14 TH1F* hMaximumTemp,
15 int verbosityLevel
16 );
17
18 double
19 PolExp(
20 double* x,
21 double* par
22 );
23
24 void
25 FitFallingEdge(
26 TString name,
27 TH1F* histo,
28 double xMin,
29 double xMax,
30 double* parameters
31 );
32
33 double
34 template_function(
35 double* input_x,
36 double* par);
37
38 double
39 NegPolExp(
40 double* x,
41 double* par
42 );
43
44 void
45 FitRisingEdge(
46 TString name,
47 TH1F* histo,
48 double xMin,
49 double xMax,
50 double* parameters
51 );
52
53 double
54 ChargeDiode(
55 double time,
56 double chargeVoltage,
57 double impedance,
58 double capacity
59 );
60
61 double
62 UnChargeDiode(
63 double* time,
64 double* chargeVoltage,
65 double* timeConstant
66 );verlay_method,
67 int pixel,
68 int verbosityLevel
69 );
70
71TString
72BuildPath(
73 TString path,
74 TString csv_file_name,
75 int pixel
76 );
77#endif // SAVETOCSV_H
Note: See TracBrowser for help on using the repository browser.