ATLAS Offline Software
|
#include <ADCMTHistos.h>
Public Member Functions | |
ADCMTHistos () | |
Default Constructor. More... | |
ADCMTHistos (int id, const T0MTSettings *settings, const char *hname=NULL) | |
Initializing constructor. More... | |
void | Initialize (int id, const T0MTSettings *settings, const char *hname=NULL) |
Initialize class. More... | |
TH1F * | GetADCSpec () |
get adc spectrum More... | |
void | FillA (double a) |
fill adc value More... | |
int | Id () const |
return tube id More... | |
bool | FitAdc () |
fit adc More... | |
TF1 * | GetAdcFunction () const |
returnd function fitted to adc-spectrum More... | |
bool | AdcOk () const |
Private Attributes | |
TH1F * | m_adc |
pulse height spectrum More... | |
int | m_id |
tube id; More... | |
std::unique_ptr< TF1 > | m_adc_fit |
function which is fitted to the adc-spectrum More... | |
bool | m_adc_ok |
is true if the adc-fit is ok; More... | |
const T0MTSettings * | m_settings |
Pointer to settings class. More... | |
Histogram and fitter class for drift time and pulsehight spectra The rising slope is fitted by a fermi-function: \(f(t)=r_{u,0} + \frac{A}{1+exp((t_0 - t)/T_0}\). The falling slope is fitted by \(g(t)=r_{u,max} + \frac{e(t,a,b)}{1+exp((t_{max} - t)/T_{max}}\) where \(e(t, a, b) = a e^{bt}\). A pattern recognition determines the fit ranges and the parameters \(r_u\), \(A\), \(a\) and \(b\).
}
Definition at line 44 of file ADCMTHistos.h.
|
inline |
|
inline |
Initializing constructor.
id | tube id |
settings | t0-fit settings: settings will be asked about histogram binning |
Definition at line 54 of file ADCMTHistos.h.
|
inline |
Definition at line 85 of file ADCMTHistos.h.
void MuonCalib::ADCMTHistos::FillA | ( | double | a | ) |
bool MuonCalib::ADCMTHistos::FitAdc | ( | ) |
|
inline |
|
inline |
|
inline |
void MuonCalib::ADCMTHistos::Initialize | ( | int | id, |
const T0MTSettings * | settings, | ||
const char * | hname = NULL |
||
) |
Initialize class.
id | tube id |
settings | t0-fit settings: settings will be asked about histogram binning |
Definition at line 48 of file ADCMTHistos.cxx.
|
private |
pulse height spectrum
Definition at line 90 of file ADCMTHistos.h.
|
private |
function which is fitted to the adc-spectrum
Definition at line 94 of file ADCMTHistos.h.
|
private |
is true if the adc-fit is ok;
Definition at line 96 of file ADCMTHistos.h.
|
private |
tube id;
Definition at line 92 of file ADCMTHistos.h.
|
private |
Pointer to settings class.
Definition at line 98 of file ADCMTHistos.h.