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