#include <CSCSegFit.h>
Public Types | |
typedef std::vector< const CSCRecHit2D * > | CSCSetOfHits |
typedef ROOT::Math::SMatrix < double, 12, 4 > | SMatrix12by4 |
typedef ROOT::Math::SMatrix < double, 4 > | SMatrix4 |
typedef ROOT::Math::SMatrix < double, 12, 12, ROOT::Math::MatRepSym < double, 12 > > | 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 | |
const CSCChamber * | chamber () const |
double | chi2 (void) const |
AlgebraicSymMatrix | covarianceMatrix (void) |
CSCSegFit (const CSCChamber *csc, CSCSetOfHits hits) | |
void | fit (void) |
bool | fitdone () const |
CSCSetOfHits | 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 |
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 | ~CSCSegFit () |
Protected Member Functions | |
SMatrix12by4 | derivativeMatrix (void) |
AlgebraicSymMatrix | flipErrors (const SMatrixSym4 &) |
void | setOutFromIP (void) |
SMatrixSym12 | weightMatrix (void) |
Protected Attributes | |
const CSCChamber * | chamber_ |
double | chi2_ |
bool | fitdone_ |
CSCSetOfHits | 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 30 of file CSCSegFit.h.
typedef std::vector<const CSCRecHit2D*> CSCSegFit::CSCSetOfHits |
Definition at line 36 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double,12,4 > CSCSegFit::SMatrix12by4 |
Definition at line 42 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 4 > CSCSegFit::SMatrix4 |
Definition at line 45 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double,12,12,ROOT::Math::MatRepSym<double,12> > CSCSegFit::SMatrixSym12 |
Definition at line 39 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double,2,2,ROOT::Math::MatRepSym<double,2> > CSCSegFit::SMatrixSym2 |
Definition at line 49 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double,4,4,ROOT::Math::MatRepSym<double,4> > CSCSegFit::SMatrixSym4 |
Definition at line 46 of file CSCSegFit.h.
typedef ROOT::Math::SVector<double,4> CSCSegFit::SVector4 |
Definition at line 52 of file CSCSegFit.h.
|
inline |
Definition at line 58 of file CSCSegFit.h.
|
inlinevirtual |
Definition at line 61 of file CSCSegFit.h.
|
inline |
Definition at line 89 of file CSCSegFit.h.
References chamber_.
Referenced by CSCCondSegFit::correctTheCovX(), derivativeMatrix(), CSCCondSegFit::fit(), fit2(), fitlsq(), geometryXMLparser.CSCAlignable::index(), CSCCondSegFit::setChi2(), setChi2(), and setOutFromIP().
|
inline |
Definition at line 85 of file CSCSegFit.h.
References chi2_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoShowering::compareProtoSegment(), CSCSegAlgoTC::compareProtoSegment(), CSCSegAlgoDF::compareProtoSegment(), CSCSegAlgoSK::compareProtoSegment(), CSCSegAlgoTC::increaseProtoSegment(), CSCSegAlgoSK::increaseProtoSegment(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoShowering::showerSeg().
AlgebraicSymMatrix CSCSegFit::covarianceMatrix | ( | void | ) |
Definition at line 378 of file CSCSegFit.cc.
References HLT_25ns14e33_v1_cff::A, derivativeMatrix(), flipErrors(), convertSQLiteXML::ok, query::result, weightMatrix(), and create_public_pileup_plots::weights.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoShowering::showerSeg().
|
protected |
Definition at line 331 of file CSCSegFit.cc.
References chamber(), CSCRecHit2D::cscDetId(), hits_, CSCChamber::layer(), CSCDetId::layer(), CSCRecHit2D::localPosition(), makeMuonMisalignmentScenario::matrix, GeomDet::toGlobal(), GeomDet::toLocal(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by covarianceMatrix().
void CSCSegFit::fit | ( | void | ) |
Definition at line 14 of file CSCSegFit.cc.
References fit2(), fitdone(), fitlsq(), gen::n, and nhits().
Referenced by CSCSegAlgoShowering::compareProtoSegment(), CSCSegAlgoDF::compareProtoSegment(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), CSCSegAlgoSK::updateParameters(), and CSCSegAlgoTC::updateParameters().
|
private |
Definition at line 35 of file CSCSegFit.cc.
References chamber(), chi2_, CSCRecHit2D::cscDetId(), fitdone_, hits_, intercept_, CSCChamber::layer(), CSCDetId::layer(), CSCRecHit2D::localPosition(), ndof_, setOutFromIP(), 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 85 of file CSCSegFit.cc.
References chamber(), CSCRecHit2D::cscDetId(), fitdone_, hits_, intercept_, CSCChamber::layer(), CSCDetId::layer(), CSCRecHit2D::localPosition(), CSCRecHit2D::localPositionError(), convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, setChi2(), setOutFromIP(), GeomDet::toGlobal(), GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by fit().
|
protected |
Definition at line 406 of file CSCSegFit.cc.
Referenced by covarianceMatrix().
|
inline |
Definition at line 82 of file CSCSegFit.h.
References hits_.
Referenced by CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), and CSCSegAlgoShowering::showerSeg().
|
inline |
Definition at line 87 of file CSCSegFit.h.
References intercept_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoShowering::showerSeg().
|
inline |
Definition at line 88 of file CSCSegFit.h.
References localdir_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoShowering::showerSeg().
|
inline |
Definition at line 86 of file CSCSegFit.h.
References ndof_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::increaseProtoSegment(), CSCSegAlgoSK::increaseProtoSegment(), and CSCSegAlgoST::prune_bad_hits().
|
inline |
Definition at line 84 of file CSCSegFit.h.
References hits_.
Referenced by CSCSegAlgoST::buildSegments(), fit(), and CSCSegAlgoShowering::showerSeg().
float CSCSegFit::Rdev | ( | float | x, |
float | y, | ||
float | z | ||
) | const |
Definition at line 473 of file CSCSegFit.cc.
References mathSSE::sqrt(), xdev(), and ydev().
Referenced by CSCSegAlgoShowering::pruneFromResidual(), and CSCSegAlgoDF::pruneFromResidual().
|
inline |
Definition at line 83 of file CSCSegFit.h.
References scaleXError_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoST::prune_bad_hits(), and weightMatrix().
|
private |
Definition at line 246 of file CSCSegFit.cc.
References chamber(), chi2_, CSCRecHit2D::cscDetId(), hits_, intercept_, CSCChamber::layer(), CSCDetId::layer(), CSCRecHit2D::localPosition(), CSCRecHit2D::localPositionError(), ndof_, convertSQLiteXML::ok, GeomDet::toGlobal(), GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by CSCCondSegFit::fit(), and fitlsq().
|
protected |
Definition at line 355 of file CSCSegFit.cc.
References chamber(), intercept_, localdir_, mathSSE::sqrt(), GeomDet::toGlobal(), csvLumiCalc::unit, uslope_, vslope_, and z.
Referenced by CSCCondSegFit::fit(), fit2(), and fitlsq().
|
inline |
Definition at line 70 of file CSCSegFit.h.
References scaleXError_.
Referenced by CSCSegAlgoST::buildSegments(), CSCCondSegFit::correctTheCovX(), and CSCSegAlgoST::prune_bad_hits().
|
protected |
Definition at line 298 of file CSCSegFit.cc.
References hits_, CSCRecHit2D::localPositionError(), makeMuonMisalignmentScenario::matrix, convertSQLiteXML::ok, scaleXError(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by covarianceMatrix().
float CSCSegFit::xdev | ( | float | x, |
float | z | ||
) | const |
Definition at line 465 of file CSCSegFit.cc.
References intercept_, uslope_, x, and PV3DBase< T, PVType, FrameType >::x().
Referenced by Rdev().
float CSCSegFit::xfit | ( | float | z | ) | const |
Definition at line 455 of file CSCSegFit.cc.
References intercept_, uslope_, PV3DBase< T, PVType, FrameType >::x(), and z.
Referenced by CSCSegAlgoShowering::isHitNearSegment(), and CSCSegAlgoDF::isHitNearSegment().
float CSCSegFit::ydev | ( | float | y, |
float | z | ||
) | const |
Definition at line 469 of file CSCSegFit.cc.
References intercept_, vslope_, y, and PV3DBase< T, PVType, FrameType >::y().
Referenced by Rdev().
float CSCSegFit::yfit | ( | float | z | ) | const |
Definition at line 461 of file CSCSegFit.cc.
References intercept_, vslope_, PV3DBase< T, PVType, FrameType >::y(), and z.
Referenced by CSCSegAlgoShowering::isHitNearSegment(), and CSCSegAlgoDF::isHitNearSegment().
|
protected |
Definition at line 114 of file CSCSegFit.h.
Referenced by chamber().
|
protected |
Definition at line 120 of file CSCSegFit.h.
Referenced by chi2(), fit2(), CSCCondSegFit::setChi2(), and setChi2().
|
protected |
Definition at line 123 of file CSCSegFit.h.
|
protected |
Definition at line 115 of file CSCSegFit.h.
Referenced by CSCCondSegFit::correctTheCovX(), derivativeMatrix(), CSCCondSegFit::fit(), fit2(), fitlsq(), hits(), nhits(), CSCCondSegFit::setChi2(), setChi2(), and weightMatrix().
|
protected |
Definition at line 118 of file CSCSegFit.h.
Referenced by CSCCondSegFit::fit(), fit2(), fitlsq(), intercept(), CSCCondSegFit::setChi2(), setChi2(), setOutFromIP(), xdev(), xfit(), ydev(), and yfit().
|
protected |
Definition at line 119 of file CSCSegFit.h.
Referenced by localdir(), and setOutFromIP().
|
protected |
Definition at line 121 of file CSCSegFit.h.
Referenced by fit2(), ndof(), CSCCondSegFit::setChi2(), and setChi2().
|
protected |
Definition at line 122 of file CSCSegFit.h.
Referenced by scaleXError(), and setScaleXError().
|
protected |
Definition at line 116 of file CSCSegFit.h.
Referenced by CSCCondSegFit::fit(), fit2(), fitlsq(), CSCCondSegFit::setChi2(), setChi2(), setOutFromIP(), xdev(), and xfit().
|
protected |
Definition at line 117 of file CSCSegFit.h.
Referenced by CSCCondSegFit::fit(), fit2(), fitlsq(), CSCCondSegFit::setChi2(), setChi2(), setOutFromIP(), ydev(), and yfit().