ATLAS Offline Software
|
#include <TimePointBetaFitter.h>
Classes | |
struct | FitResult |
simple struct holding the fit result More... | |
struct | Hit |
simple struct holding the input to the fit More... | |
Public Types | |
typedef std::vector< Hit > | HitVec |
Public Member Functions | |
TimePointBetaFitter () | |
constructor More... | |
FitResult | fitWithOutlierLogic (HitVec &hits) const |
fit beta with outlier logic More... | |
Static Public Member Functions | |
static FitResult | fit (HitVec &hits) |
fit beta More... | |
Definition at line 15 of file TimePointBetaFitter.h.
typedef std::vector<Hit> Muon::TimePointBetaFitter::HitVec |
Definition at line 30 of file TimePointBetaFitter.h.
|
inline |
|
static |
fit beta
Formula chi2 = sum( t_meas-t_pred)^2/sigma_meas^2 ) t_pred = dist / v = dist / ( beta*c )
minimize chi2 -> d chi2 / d beta = 0
beta = sum( ( d^2/( c * sigma_meas^2 ) ) )/ sum( (d*t_meas)/( sigma_meas^2 ) )
Definition at line 12 of file TimePointBetaFitter.cxx.
TimePointBetaFitter::FitResult Muon::TimePointBetaFitter::fitWithOutlierLogic | ( | TimePointBetaFitter::HitVec & | hits | ) | const |
fit beta with outlier logic
Definition at line 83 of file TimePointBetaFitter.cxx.