1 #ifndef GEMSegment_MuonSegFit_h 2 #define GEMSegment_MuonSegFit_h 29 #include <Math/Functions.h> 30 #include <Math/SVector.h> 31 #include <Math/SMatrix.h> 46 typedef ROOT::Math::SMatrix<double,MaxHits2,MaxHits2,ROOT::Math::MatRepSym<double,MaxHits2> >
SMatrixSym12;
52 typedef ROOT::Math::SMatrix<double, 4 >
SMatrix4;
53 typedef ROOT::Math::SMatrix<double,4,4,ROOT::Math::MatRepSym<double,4> >
SMatrixSym4;
56 typedef ROOT::Math::SMatrix<double,2,2,ROOT::Math::MatRepSym<double,2> >
SMatrixSym2;
59 typedef ROOT::Math::SVector<double,4>
SVector4;
81 float xfit(
float z )
const;
82 float yfit(
float z )
const;
85 float xdev(
float x,
float z )
const;
86 float ydev (
float y,
float z )
const;
87 float Rdev(
float x,
float y,
float z )
const;
90 MuonRecHitContainer
hits(
void)
const {
return hits_; }
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
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > SMatrixSym4
SMatrixSym12 weightMatrix(void)
SMatrix12by4 derivativeMatrix(void)
float Rdev(float x, float y, float z) const
ROOT::Math::SMatrix< double, MaxHits2, MaxHits2, ROOT::Math::MatRepSym< double, MaxHits2 > > SMatrixSym12
MuonSegFit(MuonRecHitContainer hits)
float xdev(float x, float z) const
LocalVector localdir() const
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, 2, 2, ROOT::Math::MatRepSym< double, 2 > > SMatrixSym2
CLHEP::HepSymMatrix AlgebraicSymMatrix
ROOT::Math::SVector< double, 4 > SVector4
void setScaleXError(double factor)
ROOT::Math::SMatrix< double, 4 > SMatrix4
ROOT::Math::SMatrix< double, MaxHits2, 4 > SMatrix12by4