|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGL2MUONSA_TGCFIT_H
6 #define TRIGL2MUONSA_TGCFIT_H
10 #include "GaudiKernel/StatusCode.h"
148 double eval(
double fX)
const;
157 const std::string&
name,
158 const IInterface*
parent);
162 unsigned MIN_WIRE_POINTS,
163 unsigned MIN_STRIP_POINTS);
TgcFit(const std::string &type, const std::string &name, const IInterface *parent)
Status runTgcInner(PointArray &stripPoints, PointArray &wirePoints, TgcFitResult &fitResult) const
size_t countUniqueStations(const TrigL2MuonSA::TgcFit::PointArray &) const
SimpleStats()
Constructor.
void operator+=(double fD)
double fIntercept
Intercept of the fit line.
double fAdjR2
R-squared adjusted for small samples.
double fR2
R-squared of the fit.
bool bOutlier
Indicates an outlier (excluded from all calculations).
double fStd
Standard deviation.
int n
Number of valid points.
double fChi2
Chi2 contribution.
const LinStats & getWireLinStats() const
double fSlope
Slope of the fit line.
void clear()
Clear statistics before a new fit.
Point(int nIdx, int nStation, double fX, double fY, double fW=1.0)
unsigned m_MIN_WIRE_POINTS
Test for outliers: w * (value - mean)^2 > CHI2_TEST.
void linReg(PointArray &points, LinStats &stats) const
void setFitParameters(double CHI2_TEST, unsigned MIN_WIRE_POINTS, unsigned MIN_STRIP_POINTS)
const LinStats & getStripLinStats() const
void printDebug(const std::string &str) const
void SimpleStatistics(PointArray &points, SimpleStats &stats) const
void operator/=(double fD)
double eval(double fX) const
Status runTgcMiddle(PointArray &stripPoints, PointArray &wirePoints, TgcFitResult &fitResult) const
PointArray m_superPoints
List of wire (eta) super-points.
int nIdx
Index of point in original list of digits.
void operator+=(const Point &p)
std::vector< Point > PointArray
A structure to hold simple statisitcs.
int nStation
Index of station: 0-3 for TGC.
unsigned m_MIN_STRIP_POINTS
Minimum number of strip points for linear fit.
double fChi2
Chi2 of all valid points.