#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 57 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 4 > GEMCSCSegFit::SMatrix4 |
Definition at line 60 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double,16,16,ROOT::Math::MatRepSym<double,16> > GEMCSCSegFit::SMatrixSym16 |
Definition at line 54 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double,2,2,ROOT::Math::MatRepSym<double,2> > GEMCSCSegFit::SMatrixSym2 |
Definition at line 64 of file GEMCSCSegFit.h.
typedef ROOT::Math::SMatrix<double,4,4,ROOT::Math::MatRepSym<double,4> > GEMCSCSegFit::SMatrixSym4 |
Definition at line 61 of file GEMCSCSegFit.h.
typedef ROOT::Math::SVector<double,4> GEMCSCSegFit::SVector4 |
Definition at line 67 of file GEMCSCSegFit.h.
|
inline |
Definition at line 73 of file GEMCSCSegFit.h.
References CSCDetId, csclayermap_, gemetapartmap_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Definition at line 102 of file GEMCSCSegFit.h.
|
inline |
Definition at line 126 of file GEMCSCSegFit.h.
References chi2_.
Referenced by GEMCSCSegAlgoRR::buildSegments().
AlgebraicSymMatrix GEMCSCSegFit::covarianceMatrix | ( | void | ) |
Definition at line 525 of file GEMCSCSegFit.cc.
References funct::A, derivativeMatrix(), flipErrors(), convertSQLiteXML::ok, mps_fire::result, weightMatrix(), and create_public_pileup_plots::weights.
Referenced by GEMCSCSegAlgoRR::buildSegments().
|
inline |
Definition at line 131 of file GEMCSCSegFit.h.
References csclayermap_, and Exception.
Referenced by derivativeMatrix(), fit2(), fitlsq(), and setChi2().
|
inline |
Definition at line 142 of file GEMCSCSegFit.h.
References csclayermap_, and Exception.
|
protected |
Definition at line 469 of file GEMCSCSegFit.cc.
References MuonSubdetId::CSC, cscchamber(), CSCDetId, ztail::d, MuonSubdetId::GEM, gemetapartition(), hits_, CSCChamber::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 20 of file GEMCSCSegFit.cc.
References fit2(), fitdone(), fitlsq(), gen::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, fitdone_, MuonSubdetId::GEM, gemetapartition(), hits_, intercept_, CSCChamber::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 138 of file GEMCSCSegFit.cc.
References MuonSubdetId::CSC, cscchamber(), CSCDetId, ztail::d, fitdone_, MuonSubdetId::GEM, gemetapartition(), hits_, CSCChamber::id(), intercept_, CSCChamber::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 554 of file GEMCSCSegFit.cc.
Referenced by covarianceMatrix().
|
inline |
Definition at line 148 of file GEMCSCSegFit.h.
References Exception, and gemetapartmap_.
Referenced by derivativeMatrix(), fit2(), fitlsq(), and setChi2().
|
inline |
|
inline |
Definition at line 128 of file GEMCSCSegFit.h.
References intercept_.
Referenced by GEMCSCSegAlgoRR::buildSegments().
|
inline |
Definition at line 129 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 154 of file GEMCSCSegFit.h.
References csclayermap_, Exception, and refid_.
Referenced by derivativeMatrix(), fit2(), fitlsq(), setChi2(), and setOutFromIP().
|
inline |
Definition at line 124 of file GEMCSCSegFit.h.
References scaleXError_.
Referenced by weightMatrix().
|
private |
Definition at line 353 of file GEMCSCSegFit.cc.
References chi2_, MuonSubdetId::CSC, cscchamber(), CSCDetId, ztail::d, MuonSubdetId::GEM, gemetapartition(), hits_, CSCChamber::id(), intercept_, CSCChamber::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 502 of file GEMCSCSegFit.cc.
References intercept_, localdir_, refcscchamber(), mathSSE::sqrt(), GeomDet::toGlobal(), csvLumiCalc::unit, uslope_, vslope_, and z.
Referenced by fit2(), and fitlsq().
|
inline |
Definition at line 111 of file GEMCSCSegFit.h.
References V0MonitoringClient_cfi::factor, and scaleXError_.
|
protected |
Definition at line 430 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 613 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 603 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 617 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 609 of file GEMCSCSegFit.cc.
References intercept_, vslope_, PV3DBase< T, PVType, FrameType >::y(), and z.
|
protected |
Definition at line 194 of file GEMCSCSegFit.h.
|
protected |
Definition at line 184 of file GEMCSCSegFit.h.
Referenced by cscchamber(), csclayer(), GEMCSCSegFit(), and refcscchamber().
|
protected |
Definition at line 198 of file GEMCSCSegFit.h.
|
protected |
Definition at line 185 of file GEMCSCSegFit.h.
Referenced by GEMCSCSegFit(), and gemetapartition().
|
protected |
Definition at line 189 of file GEMCSCSegFit.h.
Referenced by derivativeMatrix(), fit2(), fitlsq(), hits(), nhits(), setChi2(), and weightMatrix().
|
protected |
Definition at line 192 of file GEMCSCSegFit.h.
Referenced by fit2(), fitlsq(), intercept(), setChi2(), setOutFromIP(), xdev(), xfit(), ydev(), and yfit().
|
protected |
Definition at line 193 of file GEMCSCSegFit.h.
Referenced by localdir(), and setOutFromIP().
|
protected |
Definition at line 195 of file GEMCSCSegFit.h.
|
protected |
Definition at line 186 of file GEMCSCSegFit.h.
|
protected |
Definition at line 197 of file GEMCSCSegFit.h.
Referenced by refcscchamber().
|
protected |
Definition at line 196 of file GEMCSCSegFit.h.
Referenced by scaleXError(), and setScaleXError().
|
protected |
Definition at line 190 of file GEMCSCSegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), xdev(), and xfit().
|
protected |
Definition at line 191 of file GEMCSCSegFit.h.
Referenced by fit2(), fitlsq(), setChi2(), setOutFromIP(), ydev(), and yfit().