#include <GEMCSCSegFit.h>
Public Types | |
typedef ROOT::Math::SMatrix < double, 16, 4 > | SMatrix16by4 |
typedef ROOT::Math::SMatrix < double, 4 > | SMatrix4 |
typedef ROOT::Math::SMatrix < double, 16, 16, ROOT::Math::MatRepSym < double, 16 > > | SMatrixSym16 |
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) |
const CSCChamber * | cscchamber (uint32_t id) const |
const CSCLayer * | csclayer (uint32_t id) const |
void | fit (void) |
bool | fitdone () const |
GEMCSCSegFit (std::map< uint32_t, const CSCLayer * > csclayermap, std::map< uint32_t, const GEMEtaPartition * > gemrollmap, const std::vector< const TrackingRecHit * > hits) | |
const GEMEtaPartition * | gemetapartition (uint32_t id) const |
std::vector< const TrackingRecHit * > | hits (void) const |
LocalPoint | intercept () const |
LocalVector | localdir () const |
int | ndof (void) const |
size_t | nhits (void) const |
float | Rdev (float x, float y, float z) const |
const CSCChamber * | refcscchamber () 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 | ~GEMCSCSegFit () |
Protected Member Functions | |
SMatrix16by4 | derivativeMatrix (void) |
AlgebraicSymMatrix | flipErrors (const SMatrixSym4 &) |
void | setOutFromIP (void) |
SMatrixSym16 | weightMatrix (void) |
Protected Attributes | |
double | chi2_ |
std::map< uint32_t, const CSCLayer * > | csclayermap_ |
bool | fitdone_ |
std::map< uint32_t, const GEMEtaPartition * > | gemetapartmap_ |
std::vector< const TrackingRecHit * > | hits_ |
LocalPoint | intercept_ |
LocalVector | localdir_ |
int | ndof_ |
const CSCChamber * | refcscchamber_ |
uint32_t | refid_ |
double | scaleXError_ |
float | uslope_ |
float | vslope_ |
Private Member Functions | |
void | fit2 (void) |
void | fitlsq (void) |
void | setChi2 (void) |
Definition at line 47 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 16, 4> GEMCSCSegFit::SMatrix16by4 |
Definition at line 55 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 4> GEMCSCSegFit::SMatrix4 |
Definition at line 58 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 16, 16, ROOT::Math::MatRepSym<double, 16> > GEMCSCSegFit::SMatrixSym16 |
Definition at line 52 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 2, 2, ROOT::Math::MatRepSym<double, 2> > GEMCSCSegFit::SMatrixSym2 |
Definition at line 62 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 4, 4, ROOT::Math::MatRepSym<double, 4> > GEMCSCSegFit::SMatrixSym4 |
Definition at line 59 of file GEMCSCSegFit.h.
typedef ROOT::Math::SVector<double, 4> GEMCSCSegFit::SVector4 |
Definition at line 65 of file GEMCSCSegFit.h.
|
inline |
Definition at line 70 of file GEMCSCSegFit.h.
References CSCDetId, csclayermap_, gemetapartmap_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Definition at line 110 of file GEMCSCSegFit.h.
|
inline |
Definition at line 134 of file GEMCSCSegFit.h.
References chi2_.
Referenced by GEMCSCSegAlgoRR::buildSegments().
AlgebraicSymMatrix GEMCSCSegFit::covarianceMatrix | ( | void | ) |
Definition at line 508 of file GEMCSCSegFit.cc.
References funct::A, derivativeMatrix(), flipErrors(), convertSQLiteXML::ok, mps_fire::result, weightMatrix(), and HLT_FULL_cff::weights.
Referenced by GEMCSCSegAlgoRR::buildSegments().
|
inline |
Definition at line 139 of file GEMCSCSegFit.h.
References csclayermap_, and Exception.
Referenced by derivativeMatrix(), fit2(), fitlsq(), and setChi2().
|
inline |
Definition at line 148 of file GEMCSCSegFit.h.
References csclayermap_, and Exception.
|
protected |
Definition at line 457 of file GEMCSCSegFit.cc.
References MuonSubdetId::CSC, cscchamber(), CSCDetId, ztail::d, MuonSubdetId::GEM, gemetapartition(), runTauDisplay::gp, hits_, CSCChamber::layer(), phase1PixelTopology::layer, TrackingRecHit::localPosition(), makeMuonMisalignmentScenario::matrix, TrackingRecHit::rawId(), refcscchamber(), DetId::subdetId(), GeomDet::toGlobal(), GeomDet::toLocal(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by covarianceMatrix().
void GEMCSCSegFit::fit | ( | void | ) |
Definition at line 19 of file GEMCSCSegFit.cc.
References fit2(), fitdone(), fitlsq(), dqmiodumpmetadata::n, and nhits().
Referenced by GEMCSCSegAlgoRR::buildSegments(), and trackingPlots.Iteration::modules().
|
private |
Definition at line 44 of file GEMCSCSegFit.cc.
References chi2_, MuonSubdetId::CSC, cscchamber(), CSCDetId, d1, PVValHelper::dz, fitdone_, MuonSubdetId::GEM, gemetapartition(), hits_, intercept_, CSCChamber::layer(), phase1PixelTopology::layer, GEMDetId::layer(), TrackingRecHit::localPosition(), ndof_, refcscchamber(), setOutFromIP(), DetId::subdetId(), 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 133 of file GEMCSCSegFit.cc.
References TtFullHadDaughter::B, MuonSubdetId::CSC, cscchamber(), CSCDetId, ztail::d, fitdone_, MuonSubdetId::GEM, gemetapartition(), runTauDisplay::gp, hits_, CSCChamber::id(), intercept_, CSCChamber::layer(), phase1PixelTopology::layer, TrackingRecHit::localPosition(), TrackingRecHit::localPositionError(), convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), TrackingRecHit::rawId(), refcscchamber(), setChi2(), setOutFromIP(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::toGlobal(), GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, LocalError::xx(), LocalError::xy(), LocalError::yy(), and z.
Referenced by fit().
|
protected |
Definition at line 536 of file GEMCSCSegFit.cc.
References a, mps_fire::i, and dqmiolumiharvest::j.
Referenced by covarianceMatrix().
|
inline |
Definition at line 155 of file GEMCSCSegFit.h.
References Exception, and gemetapartmap_.
Referenced by derivativeMatrix(), fit2(), fitlsq(), and setChi2().
|
inline |
|
inline |
Definition at line 136 of file GEMCSCSegFit.h.
References intercept_.
Referenced by GEMCSCSegAlgoRR::buildSegments().
|
inline |
Definition at line 137 of file GEMCSCSegFit.h.
References localdir_.
Referenced by GEMCSCSegAlgoRR::buildSegments().
|
inline |
|
inline |
float GEMCSCSegFit::Rdev | ( | float | x, |
float | y, | ||
float | z | ||
) | const |
|
inline |
Definition at line 163 of file GEMCSCSegFit.h.
References csclayermap_, Exception, and refid_.
Referenced by derivativeMatrix(), fit2(), fitlsq(), setChi2(), and setOutFromIP().
|
inline |
Definition at line 132 of file GEMCSCSegFit.h.
References scaleXError_.
Referenced by weightMatrix().
|
private |
Definition at line 343 of file GEMCSCSegFit.cc.
References chi2_, MuonSubdetId::CSC, cscchamber(), CSCDetId, ztail::d, MuonSubdetId::GEM, gemetapartition(), runTauDisplay::gp, hits_, CSCChamber::id(), intercept_, CSCChamber::layer(), phase1PixelTopology::layer, TrackingRecHit::localPosition(), TrackingRecHit::localPositionError(), ndof_, convertSQLiteXML::ok, DetId::rawId(), TrackingRecHit::rawId(), refcscchamber(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::toGlobal(), GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and z.
Referenced by fitlsq().
|
protected |
Definition at line 487 of file GEMCSCSegFit.cc.
References PVValHelper::dx, BeamSpotPI::dxdz, PVValHelper::dy, BeamSpotPI::dydz, PVValHelper::dz, intercept_, localdir_, refcscchamber(), mathSSE::sqrt(), GeomDet::toGlobal(), unit(), uslope_, vslope_, and z.
Referenced by fit2(), and fitlsq().
|
inline |
|
protected |
Definition at line 424 of file GEMCSCSegFit.cc.
References hits_, TrackingRecHit::localPositionError(), makeMuonMisalignmentScenario::matrix, convertSQLiteXML::ok, scaleXError(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by covarianceMatrix().
float GEMCSCSegFit::xdev | ( | float | x, |
float | z | ||
) | const |
Definition at line 592 of file GEMCSCSegFit.cc.
References intercept_, uslope_, x, and PV3DBase< T, PVType, FrameType >::x().
Referenced by Rdev().
float GEMCSCSegFit::xfit | ( | float | z | ) | const |
Definition at line 584 of file GEMCSCSegFit.cc.
References intercept_, uslope_, PV3DBase< T, PVType, FrameType >::x(), and z.
float GEMCSCSegFit::ydev | ( | float | y, |
float | z | ||
) | const |
Definition at line 594 of file GEMCSCSegFit.cc.
References intercept_, vslope_, y, and PV3DBase< T, PVType, FrameType >::y().
Referenced by Rdev().
float GEMCSCSegFit::yfit | ( | float | z | ) | const |
Definition at line 590 of file GEMCSCSegFit.cc.
References intercept_, vslope_, PV3DBase< T, PVType, FrameType >::y(), and z.
|
protected |
Definition at line 201 of file GEMCSCSegFit.h.
|
protected |
Definition at line 192 of file GEMCSCSegFit.h.
Referenced by cscchamber(), csclayer(), GEMCSCSegFit(), and refcscchamber().
|
protected |
Definition at line 205 of file GEMCSCSegFit.h.
|
protected |
Definition at line 193 of file GEMCSCSegFit.h.
Referenced by GEMCSCSegFit(), and gemetapartition().
|
protected |
Definition at line 196 of file GEMCSCSegFit.h.
Referenced by derivativeMatrix(), fit2(), fitlsq(), hits(), nhits(), setChi2(), and weightMatrix().
|
protected |
Definition at line 199 of file GEMCSCSegFit.h.
Referenced by fit2(), fitlsq(), intercept(), setChi2(), setOutFromIP(), xdev(), xfit(), ydev(), and yfit().
|
protected |
Definition at line 200 of file GEMCSCSegFit.h.
Referenced by localdir(), and setOutFromIP().
|
protected |
Definition at line 202 of file GEMCSCSegFit.h.
|
protected |
Definition at line 194 of file GEMCSCSegFit.h.
|
protected |
Definition at line 204 of file GEMCSCSegFit.h.
Referenced by refcscchamber().
|
protected |
Definition at line 203 of file GEMCSCSegFit.h.
Referenced by scaleXError(), and setScaleXError().
|
protected |
Definition at line 197 of file GEMCSCSegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), xdev(), and xfit().
|
protected |
Definition at line 198 of file GEMCSCSegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), ydev(), and yfit().