#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 34 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 12, 4> CSCSegFit::SMatrix12by4 |
Definition at line 40 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 4> CSCSegFit::SMatrix4 |
Definition at line 43 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 12, 12, ROOT::Math::MatRepSym<double, 12> > CSCSegFit::SMatrixSym12 |
Definition at line 37 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 2, 2, ROOT::Math::MatRepSym<double, 2> > CSCSegFit::SMatrixSym2 |
Definition at line 47 of file CSCSegFit.h.
typedef ROOT::Math::SMatrix<double, 4, 4, ROOT::Math::MatRepSym<double, 4> > CSCSegFit::SMatrixSym4 |
Definition at line 44 of file CSCSegFit.h.
typedef ROOT::Math::SVector<double, 4> CSCSegFit::SVector4 |
Definition at line 50 of file CSCSegFit.h.
|
inline |
Definition at line 55 of file CSCSegFit.h.
|
inlinevirtual |
Definition at line 58 of file CSCSegFit.h.
|
inline |
Definition at line 86 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 82 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 352 of file CSCSegFit.cc.
References A, derivativeMatrix(), flipErrors(), convertSQLiteXML::ok, mps_fire::result, weightMatrix(), and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoShowering::showerSeg().
|
protected |
Definition at line 310 of file CSCSegFit.cc.
References chamber(), runTauDisplay::gp, hits_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::layer, CSCChamber::layer(), makeMuonMisalignmentScenario::matrix, GeomDet::toLocal(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by covarianceMatrix().
void CSCSegFit::fit | ( | void | ) |
Definition at line 13 of file CSCSegFit.cc.
References fit2(), fitdone(), fitlsq(), create_idmaps::n, and nhits().
Referenced by CSCSegAlgoShowering::compareProtoSegment(), CSCSegAlgoDF::compareProtoSegment(), trackingPlots.Iteration::modules(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), CSCSegAlgoSK::updateParameters(), and CSCSegAlgoTC::updateParameters().
|
private |
Definition at line 35 of file CSCSegFit.cc.
References chamber(), chi2_, CSCRecHit2D::cscDetId(), PVValHelper::dz, 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 83 of file CSCSegFit.cc.
References B, chamber(), fitdone_, runTauDisplay::gp, hits_, intercept_, nano_mu_digi_cff::layer, CSCChamber::layer(), convertSQLiteXML::ok, AlCaHLTBitMon_ParallelJobs::p, setChi2(), setOutFromIP(), GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by fit().
|
protected |
Definition at line 378 of file CSCSegFit.cc.
References a, mps_fire::i, and dqmiolumiharvest::j.
Referenced by covarianceMatrix().
|
inline |
Definition at line 79 of file CSCSegFit.h.
References hits_.
Referenced by CSCSegAlgoTC::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::buildSegments(), and CSCSegAlgoShowering::showerSeg().
|
inline |
Definition at line 84 of file CSCSegFit.h.
References intercept_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoShowering::showerSeg().
|
inline |
Definition at line 85 of file CSCSegFit.h.
References localdir_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoST::prune_bad_hits(), and CSCSegAlgoShowering::showerSeg().
|
inline |
Definition at line 83 of file CSCSegFit.h.
References ndof_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoTC::increaseProtoSegment(), CSCSegAlgoSK::increaseProtoSegment(), and CSCSegAlgoST::prune_bad_hits().
|
inline |
Definition at line 81 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 438 of file CSCSegFit.cc.
References mathSSE::sqrt(), x, xdev(), y, ydev(), and z.
Referenced by CSCSegAlgoShowering::pruneFromResidual(), and CSCSegAlgoDF::pruneFromResidual().
|
inline |
Definition at line 80 of file CSCSegFit.h.
References scaleXError_.
Referenced by CSCSegAlgoST::buildSegments(), CSCSegAlgoST::prune_bad_hits(), and weightMatrix().
|
private |
Definition at line 236 of file CSCSegFit.cc.
References chamber(), chi2_, runTauDisplay::gp, hits_, intercept_, nano_mu_digi_cff::layer, CSCChamber::layer(), ndof_, convertSQLiteXML::ok, GeomDet::toLocal(), uslope_, findQualityFiles::v, vslope_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by CSCCondSegFit::fit(), and fitlsq().
|
protected |
Definition at line 331 of file CSCSegFit.cc.
References chamber(), PVValHelper::dx, dxdz, PVValHelper::dy, dydz, PVValHelper::dz, intercept_, localdir_, mathSSE::sqrt(), GeomDet::toGlobal(), unit(), uslope_, vslope_, and z.
Referenced by CSCCondSegFit::fit(), fit2(), and fitlsq().
|
inline |
Definition at line 67 of file CSCSegFit.h.
References scaleXError_.
Referenced by CSCSegAlgoST::buildSegments(), CSCCondSegFit::correctTheCovX(), and CSCSegAlgoST::prune_bad_hits().
|
protected |
Definition at line 282 of file CSCSegFit.cc.
References hits_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, makeMuonMisalignmentScenario::matrix, convertSQLiteXML::ok, and scaleXError().
Referenced by covarianceMatrix().
float CSCSegFit::xdev | ( | float | x, |
float | z | ||
) | const |
Definition at line 434 of file CSCSegFit.cc.
References intercept_, uslope_, x, PV3DBase< T, PVType, FrameType >::x(), and z.
Referenced by Rdev().
float CSCSegFit::xfit | ( | float | z | ) | const |
Definition at line 426 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 436 of file CSCSegFit.cc.
References intercept_, vslope_, y, PV3DBase< T, PVType, FrameType >::y(), and z.
Referenced by Rdev().
float CSCSegFit::yfit | ( | float | z | ) | const |
Definition at line 432 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 108 of file CSCSegFit.h.
Referenced by chamber().
|
protected |
Definition at line 114 of file CSCSegFit.h.
Referenced by chi2(), fit2(), CSCCondSegFit::setChi2(), and setChi2().
|
protected |
Definition at line 117 of file CSCSegFit.h.
|
protected |
Definition at line 109 of file CSCSegFit.h.
Referenced by CSCCondSegFit::correctTheCovX(), derivativeMatrix(), CSCCondSegFit::fit(), fit2(), fitlsq(), hits(), nhits(), CSCCondSegFit::setChi2(), setChi2(), and weightMatrix().
|
protected |
Definition at line 112 of file CSCSegFit.h.
Referenced by CSCCondSegFit::fit(), fit2(), fitlsq(), intercept(), CSCCondSegFit::setChi2(), setChi2(), setOutFromIP(), xdev(), xfit(), ydev(), and yfit().
|
protected |
Definition at line 113 of file CSCSegFit.h.
Referenced by localdir(), and setOutFromIP().
|
protected |
Definition at line 115 of file CSCSegFit.h.
Referenced by fit2(), ndof(), CSCCondSegFit::setChi2(), and setChi2().
|
protected |
Definition at line 116 of file CSCSegFit.h.
Referenced by scaleXError(), and setScaleXError().
|
protected |
Definition at line 110 of file CSCSegFit.h.
Referenced by CSCCondSegFit::fit(), fit2(), fitlsq(), CSCCondSegFit::setChi2(), setChi2(), setOutFromIP(), xdev(), and xfit().
|
protected |
Definition at line 111 of file CSCSegFit.h.
Referenced by CSCCondSegFit::fit(), fit2(), fitlsq(), CSCCondSegFit::setChi2(), setChi2(), setOutFromIP(), ydev(), and yfit().