#include <ME0SegFit.h>
Public Types | |
typedef std::vector< const ME0RecHit * > | ME0SetOfHits |
typedef ROOT::Math::SMatrix < double, 12, 4 > | SMatrix12by4 |
typedef ROOT::Math::SMatrix < double, 4 > | SMatrix4 |
typedef ROOT::Math::SMatrix < double, 12, 12, ROOT::Math::MatRepSym < double, 12 > > | SMatrixSym12 |
typedef ROOT::Math::SMatrix < double, 2, 2, ROOT::Math::MatRepSym < double, 2 > > | SMatrixSym2 |
typedef ROOT::Math::SMatrix < double, 4, 4, ROOT::Math::MatRepSym < double, 4 > > | SMatrixSym4 |
typedef ROOT::Math::SVector < double, 4 > | SVector4 |
Public Member Functions | |
double | chi2 (void) const |
AlgebraicSymMatrix | covarianceMatrix (void) |
void | fit (void) |
bool | fitdone () const |
ME0SetOfHits | hits (void) const |
LocalPoint | intercept () const |
LocalVector | localdir () const |
const ME0EtaPartition * | me0etapartition (uint32_t id) const |
ME0SegFit (std::map< uint32_t, const ME0EtaPartition * > me0etapartmap, ME0SetOfHits hits) | |
int | ndof (void) const |
size_t | nhits (void) const |
float | Rdev (float x, float y, float z) const |
const ME0EtaPartition * | refme0etapart () const |
double | scaleXError (void) const |
void | setScaleXError (double factor) |
float | xdev (float x, float z) const |
float | xfit (float z) const |
float | ydev (float y, float z) const |
float | yfit (float z) const |
virtual | ~ME0SegFit () |
Protected Member Functions | |
SMatrix12by4 | derivativeMatrix (void) |
AlgebraicSymMatrix | flipErrors (const SMatrixSym4 &) |
void | setOutFromIP (void) |
SMatrixSym12 | weightMatrix (void) |
Protected Attributes | |
double | chi2_ |
bool | fitdone_ |
ME0SetOfHits | hits_ |
LocalPoint | intercept_ |
LocalVector | localdir_ |
std::map< uint32_t, const ME0EtaPartition * > | me0etapartmap_ |
int | ndof_ |
uint32_t | refid_ |
double | scaleXError_ |
float | uslope_ |
float | vslope_ |
Private Member Functions | |
void | fit2 (void) |
void | fitlsq (void) |
void | setChi2 (void) |
Definition at line 37 of file ME0SegFit.h.
typedef std::vector<const ME0RecHit*> ME0SegFit::ME0SetOfHits |
Definition at line 43 of file ME0SegFit.h.
typedef ROOT::Math::SMatrix<double,12,4 > ME0SegFit::SMatrix12by4 |
Definition at line 49 of file ME0SegFit.h.
typedef ROOT::Math::SMatrix<double, 4 > ME0SegFit::SMatrix4 |
Definition at line 52 of file ME0SegFit.h.
typedef ROOT::Math::SMatrix<double,12,12,ROOT::Math::MatRepSym<double,12> > ME0SegFit::SMatrixSym12 |
Definition at line 46 of file ME0SegFit.h.
typedef ROOT::Math::SMatrix<double,2,2,ROOT::Math::MatRepSym<double,2> > ME0SegFit::SMatrixSym2 |
Definition at line 56 of file ME0SegFit.h.
typedef ROOT::Math::SMatrix<double,4,4,ROOT::Math::MatRepSym<double,4> > ME0SegFit::SMatrixSym4 |
Definition at line 53 of file ME0SegFit.h.
typedef ROOT::Math::SVector<double,4> ME0SegFit::SVector4 |
Definition at line 59 of file ME0SegFit.h.
|
inline |
Definition at line 65 of file ME0SegFit.h.
References me0etapartmap_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Definition at line 83 of file ME0SegFit.h.
|
inline |
AlgebraicSymMatrix ME0SegFit::covarianceMatrix | ( | void | ) |
Definition at line 418 of file ME0SegFit.cc.
References funct::A, derivativeMatrix(), flipErrors(), convertSQLiteXML::ok, mps_fire::result, weightMatrix(), and create_public_pileup_plots::weights.
|
protected |
Definition at line 370 of file ME0SegFit.cc.
References ztail::d, hits_, ME0RecHit::localPosition(), makeMuonMisalignmentScenario::matrix, me0etapartition(), TrackingRecHit::rawId(), refme0etapart(), GeomDet::toLocal(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by covarianceMatrix().
void ME0SegFit::fit | ( | void | ) |
Definition at line 15 of file ME0SegFit.cc.
References fit2(), fitdone(), fitlsq(), gen::n, and nhits().
Referenced by trackingPlots.Iteration::modules().
|
private |
Definition at line 36 of file ME0SegFit.cc.
References chi2_, fitdone_, hits_, intercept_, ME0DetId::layer(), ME0RecHit::localPosition(), me0etapartition(), ndof_, refme0etapart(), setOutFromIP(), GeomDet::toGlobal(), GeomDet::toLocal(), uslope_, vslope_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fit().
|
inline |
|
private |
Definition at line 101 of file ME0SegFit.cc.
References ztail::d, fitdone_, hits_, ME0EtaPartition::id(), intercept_, ME0RecHit::localPosition(), ME0RecHit::localPositionError(), LogTrace, me0etapartition(), convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), TrackingRecHit::rawId(), refme0etapart(), setChi2(), setOutFromIP(), AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, LocalError::xx(), LocalError::xy(), LocalError::yy(), and z.
Referenced by fit().
|
protected |
Definition at line 446 of file ME0SegFit.cc.
Referenced by covarianceMatrix().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 111 of file ME0SegFit.h.
References me0etapartmap_.
Referenced by derivativeMatrix(), fit2(), fitlsq(), and setChi2().
|
inline |
|
inline |
float ME0SegFit::Rdev | ( | float | x, |
float | y, | ||
float | z | ||
) | const |
|
inline |
Definition at line 112 of file ME0SegFit.h.
References me0etapartmap_, and refid_.
Referenced by derivativeMatrix(), fit2(), fitlsq(), setChi2(), and setOutFromIP().
|
inline |
|
private |
Definition at line 284 of file ME0SegFit.cc.
References chi2_, ztail::d, hits_, intercept_, ME0RecHit::localPosition(), ME0RecHit::localPositionError(), me0etapartition(), ndof_, convertSQLiteXML::ok, TrackingRecHit::rawId(), refme0etapart(), GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by fitlsq().
|
protected |
Definition at line 395 of file ME0SegFit.cc.
References intercept_, localdir_, refme0etapart(), mathSSE::sqrt(), GeomDet::toGlobal(), csvLumiCalc::unit, uslope_, vslope_, and z.
Referenced by fit2(), and fitlsq().
|
inline |
|
protected |
Definition at line 337 of file ME0SegFit.cc.
References hits_, ME0RecHit::localPositionError(), makeMuonMisalignmentScenario::matrix, convertSQLiteXML::ok, scaleXError(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by covarianceMatrix().
float ME0SegFit::xdev | ( | float | x, |
float | z | ||
) | const |
Definition at line 505 of file ME0SegFit.cc.
References intercept_, uslope_, x, and PV3DBase< T, PVType, FrameType >::x().
Referenced by Rdev().
float ME0SegFit::xfit | ( | float | z | ) | const |
Definition at line 495 of file ME0SegFit.cc.
References intercept_, uslope_, PV3DBase< T, PVType, FrameType >::x(), and z.
float ME0SegFit::ydev | ( | float | y, |
float | z | ||
) | const |
Definition at line 509 of file ME0SegFit.cc.
References intercept_, vslope_, y, and PV3DBase< T, PVType, FrameType >::y().
Referenced by Rdev().
float ME0SegFit::yfit | ( | float | z | ) | const |
Definition at line 501 of file ME0SegFit.cc.
References intercept_, vslope_, PV3DBase< T, PVType, FrameType >::y(), and z.
|
protected |
Definition at line 145 of file ME0SegFit.h.
|
protected |
Definition at line 149 of file ME0SegFit.h.
|
protected |
Definition at line 140 of file ME0SegFit.h.
Referenced by derivativeMatrix(), fit2(), fitlsq(), hits(), nhits(), setChi2(), and weightMatrix().
|
protected |
Definition at line 143 of file ME0SegFit.h.
Referenced by fit2(), fitlsq(), intercept(), setChi2(), setOutFromIP(), xdev(), xfit(), ydev(), and yfit().
|
protected |
Definition at line 144 of file ME0SegFit.h.
Referenced by localdir(), and setOutFromIP().
|
protected |
Definition at line 138 of file ME0SegFit.h.
Referenced by me0etapartition(), ME0SegFit(), and refme0etapart().
|
protected |
Definition at line 146 of file ME0SegFit.h.
|
protected |
Definition at line 148 of file ME0SegFit.h.
Referenced by refme0etapart().
|
protected |
Definition at line 147 of file ME0SegFit.h.
Referenced by scaleXError(), and setScaleXError().
|
protected |
Definition at line 141 of file ME0SegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), xdev(), and xfit().
|
protected |
Definition at line 142 of file ME0SegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), ydev(), and yfit().