#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 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 | ) |
Referenced by GEMCSCSegAlgoRR::buildSegments().
|
inline |
Definition at line 139 of file GEMCSCSegFit.h.
References relativeConstraints::chamber, csclayermap_, and Exception.
|
inline |
Definition at line 148 of file GEMCSCSegFit.h.
References csclayermap_, and Exception.
|
protected |
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(), d1, PVValHelper::dz, fitdone_, MuonSubdetId::GEM, gemetapartition(), hits_, intercept_, CSCChamber::layer(), CSCDetId::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(), ztail::d, fitdone_, MuonSubdetId::GEM, gemetapartition(), runTauDisplay::gp, hits_, CSCChamber::id(), intercept_, CSCChamber::layer(), phase1PixelTopology::layer, convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), refcscchamber(), setChi2(), setOutFromIP(), AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::toGlobal(), GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, and z.
Referenced by fit().
|
protected |
|
inline |
|
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 relativeConstraints::chamber, csclayermap_, Exception, and refid_.
|
inline |
|
private |
Referenced by fitlsq().
|
inline |
Definition at line 119 of file GEMCSCSegFit.h.
References DQMScaleToClient_cfi::factor, and scaleXError_.
|
protected |
float GEMCSCSegFit::xdev | ( | float | x, |
float | z | ||
) | const |
float GEMCSCSegFit::xfit | ( | float | z | ) | const |
float GEMCSCSegFit::ydev | ( | float | y, |
float | z | ||
) | const |
float GEMCSCSegFit::yfit | ( | float | z | ) | const |
|
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 |
|
protected |
Definition at line 199 of file GEMCSCSegFit.h.
Referenced by fit2(), fitlsq(), and intercept().
|
protected |
Definition at line 200 of file GEMCSCSegFit.h.
Referenced by localdir().
|
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.
|
protected |
Definition at line 198 of file GEMCSCSegFit.h.