#include <MuonSegFit.h>
Public Types | |
typedef std::vector< MuonRecHitPtr > | MuonRecHitContainer |
typedef std::shared_ptr< TrackingRecHit > | MuonRecHitPtr |
typedef ROOT::Math::SMatrix< double, MaxHits2, 4 > | SMatrix12by4 |
typedef ROOT::Math::SMatrix< double, 4 > | SMatrix4 |
typedef ROOT::Math::SMatrix< double, MaxHits2, MaxHits2, ROOT::Math::MatRepSym< double, MaxHits2 > > | 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) |
bool | fit (void) |
bool | fitdone () const |
MuonRecHitContainer | hits (void) const |
LocalPoint | intercept () const |
LocalVector | localdir () const |
MuonSegFit (MuonRecHitContainer hits) | |
int | ndof (void) const |
size_t | nhits (void) const |
float | Rdev (float x, float y, float z) 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 | ~MuonSegFit () |
Static Public Attributes | |
static const int | MaxHits2 = 22 |
Protected Member Functions | |
SMatrix12by4 | derivativeMatrix (void) |
AlgebraicSymMatrix | flipErrors (const SMatrixSym4 &) |
void | setOutFromIP (void) |
SMatrixSym12 | weightMatrix (void) |
Protected Attributes | |
double | chi2_ |
bool | fitdone_ |
MuonRecHitContainer | hits_ |
LocalPoint | intercept_ |
LocalVector | localdir_ |
int | ndof_ |
double | scaleXError_ |
float | uslope_ |
float | vslope_ |
Private Member Functions | |
void | fit2 (void) |
void | fitlsq (void) |
void | setChi2 (void) |
Definition at line 34 of file MuonSegFit.h.
typedef std::vector<MuonRecHitPtr> MuonSegFit::MuonRecHitContainer |
Definition at line 39 of file MuonSegFit.h.
typedef std::shared_ptr<TrackingRecHit> MuonSegFit::MuonRecHitPtr |
Definition at line 38 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double, MaxHits2, 4> MuonSegFit::SMatrix12by4 |
Definition at line 46 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double, 4> MuonSegFit::SMatrix4 |
Definition at line 49 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double, MaxHits2, MaxHits2, ROOT::Math::MatRepSym<double, MaxHits2> > MuonSegFit::SMatrixSym12 |
Definition at line 43 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double, 2, 2, ROOT::Math::MatRepSym<double, 2> > MuonSegFit::SMatrixSym2 |
Definition at line 53 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double, 4, 4, ROOT::Math::MatRepSym<double, 4> > MuonSegFit::SMatrixSym4 |
Definition at line 50 of file MuonSegFit.h.
typedef ROOT::Math::SVector<double, 4> MuonSegFit::SVector4 |
Definition at line 56 of file MuonSegFit.h.
|
inline |
Definition at line 62 of file MuonSegFit.h.
|
inlinevirtual |
Definition at line 65 of file MuonSegFit.h.
|
inline |
AlgebraicSymMatrix MuonSegFit::covarianceMatrix | ( | void | ) |
Definition at line 359 of file MuonSegFit.cc.
References A, derivativeMatrix(), flipErrors(), convertSQLiteXML::ok, mps_fire::result, weightMatrix(), and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
|
protected |
Definition at line 320 of file MuonSegFit.cc.
References hits_, makeMuonMisalignmentScenario::matrix, z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by covarianceMatrix().
bool MuonSegFit::fit | ( | void | ) |
Definition at line 13 of file MuonSegFit.cc.
References fit2(), fitdone(), fitdone_, fitlsq(), MaxHits2, dqmiodumpmetadata::n, and nhits().
Referenced by trackingPlots.Iteration::modules().
|
private |
Definition at line 29 of file MuonSegFit.cc.
References chi2_, PVValHelper::dz, fitdone_, hits_, intercept_, ndof_, setOutFromIP(), 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 76 of file MuonSegFit.cc.
References B, fitdone_, hits_, intercept_, LogTrace, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, setChi2(), setOutFromIP(), uslope_, findQualityFiles::v, vslope_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by fit().
|
protected |
Definition at line 392 of file MuonSegFit.cc.
References a, mps_fire::i, and dqmiolumiharvest::j.
Referenced by covarianceMatrix().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
float MuonSegFit::Rdev | ( | float | x, |
float | y, | ||
float | z | ||
) | const |
Definition at line 466 of file MuonSegFit.cc.
References mathSSE::sqrt(), x, xdev(), y, ydev(), and z.
|
inline |
|
private |
Definition at line 229 of file MuonSegFit.cc.
References chi2_, hits_, intercept_, localdir_, ndof_, convertSQLiteXML::ok, uslope_, findQualityFiles::v, vslope_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by fitlsq().
|
protected |
Definition at line 339 of file MuonSegFit.cc.
References PVValHelper::dx, dxdz, PVValHelper::dy, dydz, PVValHelper::dz, localdir_, PV3DBase< T, PVType, FrameType >::phi(), mathSSE::sqrt(), unit(), uslope_, and vslope_.
Referenced by fit2(), and fitlsq().
|
inline |
Definition at line 74 of file MuonSegFit.h.
References DQMScaleToClient_cfi::factor, and scaleXError_.
|
protected |
Definition at line 295 of file MuonSegFit.cc.
References hits_, makeMuonMisalignmentScenario::matrix, convertSQLiteXML::ok, and scaleXError().
Referenced by covarianceMatrix().
float MuonSegFit::xdev | ( | float | x, |
float | z | ||
) | const |
Definition at line 462 of file MuonSegFit.cc.
References intercept_, uslope_, x, PV3DBase< T, PVType, FrameType >::x(), and z.
Referenced by Rdev().
float MuonSegFit::xfit | ( | float | z | ) | const |
Definition at line 454 of file MuonSegFit.cc.
References intercept_, uslope_, PV3DBase< T, PVType, FrameType >::x(), and z.
float MuonSegFit::ydev | ( | float | y, |
float | z | ||
) | const |
Definition at line 464 of file MuonSegFit.cc.
References intercept_, vslope_, y, PV3DBase< T, PVType, FrameType >::y(), and z.
Referenced by Rdev().
float MuonSegFit::yfit | ( | float | z | ) | const |
Definition at line 460 of file MuonSegFit.cc.
References intercept_, vslope_, PV3DBase< T, PVType, FrameType >::y(), and z.
|
protected |
Definition at line 119 of file MuonSegFit.h.
|
protected |
|
protected |
Definition at line 114 of file MuonSegFit.h.
Referenced by derivativeMatrix(), fit2(), fitlsq(), hits(), nhits(), setChi2(), and weightMatrix().
|
protected |
Definition at line 117 of file MuonSegFit.h.
Referenced by fit2(), fitlsq(), intercept(), setChi2(), xdev(), xfit(), ydev(), and yfit().
|
protected |
Definition at line 118 of file MuonSegFit.h.
Referenced by localdir(), setChi2(), and setOutFromIP().
|
static |
Definition at line 41 of file MuonSegFit.h.
Referenced by fit().
|
protected |
Definition at line 120 of file MuonSegFit.h.
|
protected |
Definition at line 121 of file MuonSegFit.h.
Referenced by scaleXError(), and setScaleXError().
|
protected |
Definition at line 115 of file MuonSegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), xdev(), and xfit().
|
protected |
Definition at line 116 of file MuonSegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), ydev(), and yfit().