13#ifndef MTT0PATTTERNRECOGNITION_H
14#define MTT0PATTTERNRECOGNITION_H
57 double scale_min = 0.;
MTT0PatternRecognition()
Default constructor.
double GetEstimatedT0() const
get estimated t0
bool Initialize(TH1F *hist, const T0MTSettings *settings)
Initialize class - returns true if pattern recognition was successfull.
double GetBackground() const
get the background level
double GetFitRangeMax() const
get fit range
double GetFitRangeMin() const
get fit range
double m_fit_min
fit range
double GetHeight() const
get height
double m_background
background level
double estimate_height(TH1F *hist)
estimates the height of the spectrum.
bool GetError() const
return error flag
VariableBinwidthHistogram m_vbh
Variable binwidth histogram.
bool estimate_background(TH1F *hist, double scale_min)
estimates the background level
const T0MTSettingsT0 * m_settings
settings
double m_t0_est
t0 estimate
Settings for the T0 calibration (histogram booking and fitting parameters) Parameters for pattern rec...
const T0MTSettingsT0 * T0Settings() const
get settings for the t0-fit
const bool & DrawDebugGraphs() const
If set to true for every tube a TDirectory will be created.
A histogram where every bin has the same number of entries.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)