![]() |
ATLAS Offline Software
|
#include <MTT0PatternRecognition.h>
Public Member Functions | |
| MTT0PatternRecognition () | |
| Default constructor. | |
| bool | Initialize (TH1F *hist, const T0MTSettings *settings) |
| Initialize class - returns true if pattern recognition was successfull. | |
| double | GetBackground () const |
| get the background level | |
| double | GetHeight () const |
| get height | |
| double | GetEstimatedT0 () const |
| get estimated t0 | |
| double | GetFitRangeMin () const |
| get fit range | |
| double | GetFitRangeMax () const |
| get fit range | |
| bool | GetError () const |
| return error flag | |
Private Member Functions | |
| bool | estimate_background (TH1F *hist, double scale_min) |
| estimates the background level | |
| double | estimate_height (TH1F *hist) |
| estimates the height of the spectrum. | |
Private Attributes | |
| const T0MTSettingsT0 * | m_settings |
| settings | |
| bool | m_draw_debug_graph |
| double | m_background |
| background level | |
| double | m_height |
| height | |
| double | m_fit_min |
| fit range | |
| double | m_fit_max |
| double | m_t0_est |
| t0 estimate | |
| VariableBinwidthHistogram | m_vbh |
| Variable binwidth histogram. | |
| bool | m_error |
| error flag | |
Definition at line 35 of file MTT0PatternRecognition.h.
|
inline |
Default constructor.
Definition at line 39 of file MTT0PatternRecognition.h.
|
private |
estimates the background level
| hist | input histogram |
| scale_min | lower end of the scale region as returned from estimate_height() |
Definition at line 19 of file MTT0PatternRecognition.cxx.
|
private |
estimates the height of the spectrum.
It returns the lower end of the scale region
| hist | input histogram |
Definition at line 96 of file MTT0PatternRecognition.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Initialize class - returns true if pattern recognition was successfull.
| hist | Histogram which is to be fitted |
Definition at line 53 of file MTT0PatternRecognition.h.
|
private |
background level
Definition at line 88 of file MTT0PatternRecognition.h.
|
private |
Definition at line 85 of file MTT0PatternRecognition.h.
|
private |
error flag
Definition at line 103 of file MTT0PatternRecognition.h.
|
private |
Definition at line 94 of file MTT0PatternRecognition.h.
|
private |
fit range
Definition at line 94 of file MTT0PatternRecognition.h.
|
private |
height
Definition at line 91 of file MTT0PatternRecognition.h.
|
private |
settings
Definition at line 84 of file MTT0PatternRecognition.h.
|
private |
t0 estimate
Definition at line 97 of file MTT0PatternRecognition.h.
|
private |
Variable binwidth histogram.
Definition at line 100 of file MTT0PatternRecognition.h.