source: fact/tools/rootmacros/slicecalculation.h@ 17633

Last change on this file since 17633 was 13438, checked in by Jens Buss, 13 years ago
corrections
File size: 1.0 KB
Line 
1#ifndef __SLICECALCULATION_H
2#define __SLICECALCULATION_H
3
4//////////////////////////////////////////////////////////////
5// Functions for FPulsetemplate to calculate
6// values for slices of TH2 histograms
7//////////////////////////////////////////////////////////////
8
9Double_t
10MedianOfH1(
11 TH1* h1,
12 int verbosityLevel
13 );
14
15void
16PlotMedianEachSliceOfPulse(
17 TH2* phInputHistogram,
18 TH1* phOutputHistogram,
19 int fitdata,
20 int verbosityLevel
21 );
22
23//compute the mean for each slice of a given TH2 histogram
24void
25PlotMeanEachSliceOfPulse(
26 TH2* phInputHistogram,
27 TH1* phOutputHistogram ,
28 int fitdata,
29 int verbosityLevel
30 );
31
32void
33FitMaxPropabilityPuls(
34 TH1* phInputHistogram,
35 float left_border=-50,
36 float right_border=250,
37 int verbosityLevel
38 );
39
40#endif // SLICECALCULATION_H
Note: See TracBrowser for help on using the repository browser.