|
MarlinTPC
1.2.0
|
A collection of tools to evaluate the width of a distribution in a histogram. More...
#include <HistogramWidthExtractionTools.h>
Public Member Functions | |
| HistogramWidthExtractionTools () | |
| constructor | |
| virtual | ~HistogramWidthExtractionTools () |
| destructor | |
| void | Calculate (TH1 *histogram, int method=1) |
| Function to calculate width and mean and errors of the given histogram to be evaluated using the chosen method. More... | |
| double | GetWidth () |
| Function giving back the width as a measure for the resolution for the chosen method. | |
| double | GetWidthError () |
| Function giving back the error on the width for the chosen method. | |
| double | GetMean () |
| Function giving back the mean for the chosen method. | |
| double | GetMeanError () |
| Function giving back the error on the mean for the chosen method. | |
| double | GetHeight () |
| Function giving back the height for the chosen method. | |
| double | GetHeightError () |
| Function giving back the error on the height for the chosen method. | |
| std::pair< double, double > | GetRange () |
| Function giving back the range used in the method. | |
A collection of tools to evaluate the width of a distribution in a histogram.
Available methods:
| void marlintpc::HistogramWidthExtractionTools::Calculate | ( | TH1 * | histogram, |
| int | method = 1 |
||
| ) |
Function to calculate width and mean and errors of the given histogram to be evaluated using the chosen method.
method=1: RMS90 method=2: Gaussian fit within range of 3 sigma method=3: rms after 5 sigma iterative cut of tails method=4: Gaussian fit within range of 3 sigma only on the rising slope for asymmetric shapes
1.8.6