#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 35 of file MuonSegFit.h.
typedef std::vector<MuonRecHitPtr> MuonSegFit::MuonRecHitContainer |
Definition at line 42 of file MuonSegFit.h.
typedef std::shared_ptr<TrackingRecHit> MuonSegFit::MuonRecHitPtr |
Definition at line 41 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double,MaxHits2,4 > MuonSegFit::SMatrix12by4 |
Definition at line 49 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double, 4 > MuonSegFit::SMatrix4 |
Definition at line 52 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double,MaxHits2,MaxHits2,ROOT::Math::MatRepSym<double,MaxHits2> > MuonSegFit::SMatrixSym12 |
Definition at line 46 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double,2,2,ROOT::Math::MatRepSym<double,2> > MuonSegFit::SMatrixSym2 |
Definition at line 56 of file MuonSegFit.h.
typedef ROOT::Math::SMatrix<double,4,4,ROOT::Math::MatRepSym<double,4> > MuonSegFit::SMatrixSym4 |
Definition at line 53 of file MuonSegFit.h.
typedef ROOT::Math::SVector<double,4> MuonSegFit::SVector4 |
Definition at line 59 of file MuonSegFit.h.
|
inline |
Definition at line 66 of file MuonSegFit.h.
|
inlinevirtual |
|
inline |
AlgebraicSymMatrix MuonSegFit::covarianceMatrix | ( | void | ) |
Definition at line 364 of file MuonSegFit.cc.
References patCaloMETCorrections_cff::A, derivativeMatrix(), flipErrors(), convertSQLiteXML::ok, mps_fire::result, weightMatrix(), and create_public_lumi_plots::weights.
Referenced by ~MuonSegFit().
|
protected |
Definition at line 323 of file MuonSegFit.cc.
References hits_, makeMuonMisalignmentScenario::matrix, z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by covarianceMatrix(), and fitdone().
bool MuonSegFit::fit | ( | void | ) |
Definition at line 14 of file MuonSegFit.cc.
References fit2(), fitdone(), fitdone_, fitlsq(), MaxHits2, gen::n, and nhits().
Referenced by trackingPlots.Iteration::modules(), and ~MuonSegFit().
|
private |
Definition at line 32 of file MuonSegFit.cc.
References chi2_, allConversions_cfi::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(), and fitdone().
|
inline |
Definition at line 97 of file MuonSegFit.h.
References derivativeMatrix(), fit2(), fitdone_, fitlsq(), flipErrors(), setChi2(), setOutFromIP(), and weightMatrix().
Referenced by fit().
|
private |
Definition at line 80 of file MuonSegFit.cc.
References TtFullHadDaughter::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(), and fitdone().
|
protected |
Definition at line 399 of file MuonSegFit.cc.
References a, and mps_fire::i.
Referenced by covarianceMatrix(), and fitdone().
|
inline |
Definition at line 90 of file MuonSegFit.h.
References hits_.
Referenced by ntupleDataFormat._TrackingParticleMatchAdaptor::bestMatchingTrackingParticle().
|
inline |
|
inline |
|
inline |
|
inline |
float MuonSegFit::Rdev | ( | float | x, |
float | y, | ||
float | z | ||
) | const |
Definition at line 472 of file MuonSegFit.cc.
References mathSSE::sqrt(), xdev(), and ydev().
Referenced by setScaleXError().
|
inline |
|
private |
Definition at line 235 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 fitdone(), and fitlsq().
|
protected |
Definition at line 344 of file MuonSegFit.cc.
References BeamSpotFakeParameters_cfi::dxdz, BeamSpotFakeParameters_cfi::dydz, allConversions_cfi::dz, localdir_, PV3DBase< T, PVType, FrameType >::phi(), mathSSE::sqrt(), csvLumiCalc::unit, uslope_, and vslope_.
Referenced by fit2(), fitdone(), and fitlsq().
|
inline |
|
protected |
Definition at line 296 of file MuonSegFit.cc.
References hits_, makeMuonMisalignmentScenario::matrix, convertSQLiteXML::ok, and scaleXError().
Referenced by covarianceMatrix(), and fitdone().
float MuonSegFit::xdev | ( | float | x, |
float | z | ||
) | const |
Definition at line 464 of file MuonSegFit.cc.
References intercept_, uslope_, x, and PV3DBase< T, PVType, FrameType >::x().
Referenced by Rdev(), and setScaleXError().
float MuonSegFit::xfit | ( | float | z | ) | const |
Definition at line 454 of file MuonSegFit.cc.
References intercept_, uslope_, PV3DBase< T, PVType, FrameType >::x(), and z.
Referenced by setScaleXError().
float MuonSegFit::ydev | ( | float | y, |
float | z | ||
) | const |
Definition at line 468 of file MuonSegFit.cc.
References intercept_, vslope_, y, and PV3DBase< T, PVType, FrameType >::y().
Referenced by Rdev(), and setScaleXError().
float MuonSegFit::yfit | ( | float | z | ) | const |
Definition at line 460 of file MuonSegFit.cc.
References intercept_, vslope_, PV3DBase< T, PVType, FrameType >::y(), and z.
Referenced by setScaleXError().
|
protected |
Definition at line 126 of file MuonSegFit.h.
|
protected |
|
protected |
Definition at line 121 of file MuonSegFit.h.
Referenced by derivativeMatrix(), fit2(), fitlsq(), hits(), nhits(), setChi2(), and weightMatrix().
|
protected |
Definition at line 124 of file MuonSegFit.h.
Referenced by fit2(), fitlsq(), intercept(), setChi2(), xdev(), xfit(), ydev(), and yfit().
|
protected |
Definition at line 125 of file MuonSegFit.h.
Referenced by localdir(), setChi2(), and setOutFromIP().
|
static |
Definition at line 44 of file MuonSegFit.h.
Referenced by fit().
|
protected |
Definition at line 127 of file MuonSegFit.h.
|
protected |
Definition at line 128 of file MuonSegFit.h.
Referenced by scaleXError(), and setScaleXError().
|
protected |
Definition at line 122 of file MuonSegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), xdev(), and xfit().
|
protected |
Definition at line 123 of file MuonSegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), ydev(), and yfit().