Line | |
---|
1 | #ifndef TEMPLATEEXTRACTORS_H
|
---|
2 | #define TEMPLATEEXTRACTORS_H
|
---|
3 |
|
---|
4 | #include <TROOT.h>
|
---|
5 | #include <TMath.h>
|
---|
6 | #include <TProfile.h>
|
---|
7 | #include <TH2F.h>
|
---|
8 | #include <TH1I.h>
|
---|
9 | #include <TH1F.h>
|
---|
10 | #include <TString.h>
|
---|
11 | #include <TSystem.h>
|
---|
12 |
|
---|
13 | #include "pixel.h"
|
---|
14 |
|
---|
15 | /** Assignment operator.
|
---|
16 | * @todo do me
|
---|
17 | * @warning not implemented
|
---|
18 | * @param from THe value to assign to this object.
|
---|
19 | *
|
---|
20 | * @return A reference to this object.
|
---|
21 | */
|
---|
22 |
|
---|
23 | /** CalcMaxPropabilityOfSlice(
|
---|
24 | TH2* inputHisto,
|
---|
25 | TH1* outputHisto,
|
---|
26 | int verbosityLevel
|
---|
27 | );
|
---|
28 | * Generates a Y-Projection for each slice of a TH2 histogram
|
---|
29 | * Then calls the Value of the bin with Maximum Value and puts it
|
---|
30 | * into the corresponding bin of a TH1 histogram
|
---|
31 | * @see Event::CalibrateAllPixel()
|
---|
32 | * @see Event::CalculatePhotonCharge()
|
---|
33 | */
|
---|
34 | void
|
---|
35 | CalcMaxPropabilityOfSlice(
|
---|
36 | TH2* inputHisto,
|
---|
37 | TH1* outputHisto,
|
---|
38 | int verbosityLevel
|
---|
39 | );
|
---|
40 |
|
---|
41 | void
|
---|
42 | PlotMaxPropabilityPulse(
|
---|
43 | Pixel* CurrentPixel,
|
---|
44 | TString overlayType,
|
---|
45 | int verbosityLevel
|
---|
46 | );
|
---|
47 |
|
---|
48 | void
|
---|
49 | FitMaxPropabilityPulse(
|
---|
50 | TH1F* inputHisto,
|
---|
51 | int verbosityLevel
|
---|
52 | );
|
---|
53 |
|
---|
54 | Double_t MedianOfH1 (
|
---|
55 | TH1* inputHisto
|
---|
56 | );
|
---|
57 |
|
---|
58 | void
|
---|
59 | PlotMedianOfSlice(
|
---|
60 | Pixel* CurrentPixel,
|
---|
61 | TString overlayType,
|
---|
62 | int verbosityLevel
|
---|
63 | );
|
---|
64 |
|
---|
65 | void
|
---|
66 | PlotMeanOfSlice(
|
---|
67 | Pixel* CurrentPixel,
|
---|
68 | TString overlayType,
|
---|
69 | int verbosityLevel
|
---|
70 | );
|
---|
71 |
|
---|
72 | void
|
---|
73 | ExtractPulseTemplate(
|
---|
74 | Pixel* CurrentPixel,
|
---|
75 | TString overlayType,
|
---|
76 | int order,
|
---|
77 | int verbosityLevel
|
---|
78 | );
|
---|
79 |
|
---|
80 | bool
|
---|
81 | WritePixelTemplateToCsv(
|
---|
82 | Pixel* CurrentPixel,
|
---|
83 | TString path,
|
---|
84 | TString overlayMethod,
|
---|
85 | int order,
|
---|
86 | int verbosityLevel
|
---|
87 | );
|
---|
88 |
|
---|
89 | #endif // TEMPLATEEXTRACTORS_H
|
---|
90 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.