1 #ifndef GEMSegment_MuonSegFit_h
2 #define GEMSegment_MuonSegFit_h
28 #include <Math/Functions.h>
29 #include <Math/SVector.h>
30 #include <Math/SMatrix.h>
43 typedef ROOT::Math::SMatrix<double, MaxHits2, MaxHits2, ROOT::Math::MatRepSym<double, MaxHits2> >
SMatrixSym12;
49 typedef ROOT::Math::SMatrix<double, 4>
SMatrix4;
50 typedef ROOT::Math::SMatrix<double, 4, 4, ROOT::Math::MatRepSym<double, 4> >
SMatrixSym4;
53 typedef ROOT::Math::SMatrix<double, 2, 2, ROOT::Math::MatRepSym<double, 2> >
SMatrixSym2;
56 typedef ROOT::Math::SVector<double, 4>
SVector4;
77 float xfit(
float z)
const;
78 float yfit(
float z)
const;
81 float xdev(
float x,
float z)
const;
82 float ydev(
float y,
float z)
const;
83 float Rdev(
float x,
float y,
float z)
const;
std::shared_ptr< TrackingRecHit > MuonRecHitPtr
static const int MaxHits2
AlgebraicSymMatrix covarianceMatrix(void)
double scaleXError(void) const
float ydev(float y, float z) const
float xfit(float z) const
SMatrixSym12 weightMatrix(void)
SMatrix12by4 derivativeMatrix(void)
float Rdev(float x, float y, float z) const
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > SMatrixSym2
ROOT::Math::SMatrix< double, MaxHits2, 4 > SMatrix12by4
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > SMatrixSym4
ROOT::Math::SMatrix< double, 4 > SMatrix4
MuonSegFit(MuonRecHitContainer hits)
float xdev(float x, float z) const
LocalVector localdir() const
ROOT::Math::SVector< double, 4 > SVector4
MuonRecHitContainer hits(void) const
std::vector< MuonRecHitPtr > MuonRecHitContainer
AlgebraicSymMatrix flipErrors(const SMatrixSym4 &)
float yfit(float z) const
LocalPoint intercept() const
MuonRecHitContainer hits_
ROOT::Math::SMatrix< double, MaxHits2, MaxHits2, ROOT::Math::MatRepSym< double, MaxHits2 > > SMatrixSym12
CLHEP::HepSymMatrix AlgebraicSymMatrix
void setScaleXError(double factor)