#include <CSCSegAlgoHitPruning.h>
Public Types | |
typedef std::vector< const CSCRecHit2D * > | ChamberHitContainer |
Public Member Functions | |
CSCSegAlgoHitPruning (const edm::ParameterSet &ps) | |
constructor More... | |
std::vector< CSCSegment > | pruneBadHits (const CSCChamber *aChamber, const std::vector< CSCSegment > &segments) |
clusterize More... | |
~CSCSegAlgoHitPruning () | |
destructor More... | |
Private Member Functions | |
AlgebraicSymMatrix | calculateError (void) const |
CLHEP::HepMatrix | derivativeMatrix (void) const |
void | fillChiSquared (void) |
void | fillLocalDirection (void) |
void | fitSlopes (void) |
void | flipErrors (AlgebraicSymMatrix &) const |
AlgebraicSymMatrix | weightMatrix (void) const |
Private Attributes | |
bool | BrutePruning |
double | protoChi2 |
LocalVector | protoDirection |
LocalPoint | protoIntercept |
ChamberHitContainer | protoSegment |
float | protoSlope_u |
float | protoSlope_v |
const CSCChamber * | theChamber |
Definition at line 23 of file CSCSegAlgoHitPruning.h.
typedef std::vector<const CSCRecHit2D*> CSCSegAlgoHitPruning::ChamberHitContainer |
Definition at line 27 of file CSCSegAlgoHitPruning.h.
|
explicit |
constructor
Definition at line 32 of file CSCSegAlgoHitPruning.cc.
References BrutePruning, and edm::ParameterSet::getParameter().
CSCSegAlgoHitPruning::~CSCSegAlgoHitPruning | ( | ) |
|
private |
Definition at line 421 of file CSCSegAlgoHitPruning.cc.
References funct::A, derivativeMatrix(), query::result, weightMatrix(), and create_public_pileup_plots::weights.
Referenced by pruneBadHits().
|
private |
Definition at line 393 of file CSCSegAlgoHitPruning.cc.
References CSCRecHit2D::cscDetId(), CSCChamber::layer(), CSCDetId::layer(), CSCRecHit2D::localPosition(), makeMuonMisalignmentScenario::matrix, protoSegment, theChamber, GeomDet::toGlobal(), GeomDet::toLocal(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by calculateError().
|
private |
Definition at line 298 of file CSCSegAlgoHitPruning.cc.
References CSCRecHit2D::cscDetId(), CSCChamber::layer(), CSCDetId::layer(), CSCRecHit2D::localPosition(), CSCRecHit2D::localPositionError(), LogDebug, protoChi2, protoIntercept, protoSegment, protoSlope_u, protoSlope_v, theChamber, GeomDet::toGlobal(), GeomDet::toLocal(), findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by pruneBadHits().
|
private |
Definition at line 342 of file CSCSegAlgoHitPruning.cc.
References protoDirection, protoIntercept, protoSlope_u, protoSlope_v, mathSSE::sqrt(), theChamber, GeomDet::toGlobal(), csvLumiCalc::unit, and detailsBasic3DVector::z.
Referenced by pruneBadHits().
|
private |
Definition at line 232 of file CSCSegAlgoHitPruning.cc.
References CSCRecHit2D::cscDetId(), CSCChamber::layer(), CSCDetId::layer(), CSCRecHit2D::localPosition(), CSCRecHit2D::localPositionError(), LogDebug, AlCaHLTBitMon_ParallelJobs::p, protoIntercept, protoSegment, protoSlope_u, protoSlope_v, theChamber, GeomDet::toGlobal(), GeomDet::toLocal(), findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by pruneBadHits().
|
private |
std::vector< CSCSegment > CSCSegAlgoHitPruning::pruneBadHits | ( | const CSCChamber * | aChamber, |
const std::vector< CSCSegment > & | segments | ||
) |
clusterize
Definition at line 49 of file CSCSegAlgoHitPruning.cc.
References begin, BrutePruning, calculateError(), CSCSegment::chi2(), ChiSquaredProbability(), alignCSCRings::e, fillChiSquared(), fillLocalDirection(), fitSlopes(), flipErrors(), CSCChamber::layer(), m, CSCSegment::nRecHits(), protoChi2, protoDirection, protoIntercept, protoSegment, groupFilesInBlocks::temp, theChamber, GeomDet::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 367 of file CSCSegAlgoHitPruning.cc.
References CSCRecHit2D::localPositionError(), makeMuonMisalignmentScenario::matrix, protoSegment, LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by calculateError().
|
private |
Definition at line 56 of file CSCSegAlgoHitPruning.h.
Referenced by CSCSegAlgoHitPruning(), and pruneBadHits().
|
private |
Definition at line 53 of file CSCSegAlgoHitPruning.h.
Referenced by fillChiSquared(), and pruneBadHits().
|
private |
Definition at line 54 of file CSCSegAlgoHitPruning.h.
Referenced by fillLocalDirection(), and pruneBadHits().
|
private |
Definition at line 52 of file CSCSegAlgoHitPruning.h.
Referenced by fillChiSquared(), fillLocalDirection(), fitSlopes(), and pruneBadHits().
|
private |
Definition at line 49 of file CSCSegAlgoHitPruning.h.
Referenced by derivativeMatrix(), fillChiSquared(), fitSlopes(), pruneBadHits(), and weightMatrix().
|
private |
Definition at line 50 of file CSCSegAlgoHitPruning.h.
Referenced by fillChiSquared(), fillLocalDirection(), and fitSlopes().
|
private |
Definition at line 51 of file CSCSegAlgoHitPruning.h.
Referenced by fillChiSquared(), fillLocalDirection(), and fitSlopes().
|
private |
Definition at line 47 of file CSCSegAlgoHitPruning.h.
Referenced by derivativeMatrix(), fillChiSquared(), fillLocalDirection(), fitSlopes(), and pruneBadHits().