![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef MTTMAXPATTTERNRECOGNITION_H
14 #define MTTMAXPATTTERNRECOGNITION_H
63 inline double GetA()
const {
return m_a; }
66 inline double GetB()
const {
return m_b; }
double GetFitRangeMin() const
get fit range
double GetBackground() const
get the background level
MTTmaxPatternRecognition()
Default constructor.
std::vector< ALFA_RawData_p1 > t0
double m_tmax_est
t0 estimate
double m_background
background level
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
const T0MTSettingsTMax * m_settings
settings
double GetA() const
get parameter a in exp-function representing the end of the spectrum
double m_a
parameters a, b in a*exp(b*x)
bool GetError() const
return error flag
double m_fit_min
fit range
bool Initialize(TH1F *hist, double t0, const T0MTSettings *settings)
Initialize class.
double GetEstimatedTMax() const
get estimated t0
VariableBinwidthHistogram m_vbh
Variable binwidth histogram.
double GetFitRangeMax() const
get fit range
double GetB() const
get parameter a in exp-function representing the end of the spectrum
bool estimate_height(TH1F *hist)
estimates the height of the spectrum.
bool estimate_background(TH1F *hist)
estimates the background level