#include <HICMeasurementEstimator.h>
Public Member Functions | |
virtual void | chooseCuts (int &i) |
virtual HICMeasurementEstimator * | clone () const |
virtual std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &, const TransientTrackingRecHit &) const |
template<unsigned int D> | |
std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &, const TransientTrackingRecHit &) const |
bool | estimate (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const |
virtual int | getDetectorCode (const DetLayer *a) |
const MagneticField * | getField () |
cms::HICConst * | getHICConst () |
HICMeasurementEstimator (const GeometricSearchTracker *theTracker0, const MagneticField *mf, double maxChi2, double nSigma=3.) | |
virtual std::vector< double > | setCuts (Trajectory &traj, const DetLayer *theCurrentLayer) |
void | setHICConst (cms::HICConst *hh) |
virtual void | setHICDetMap () |
virtual void | setLastLayer (DetLayer *&ll) |
virtual void | setMult (int aMult=1) |
virtual void | setSign (int &i) |
Public Member Functions inherited from Chi2MeasurementEstimatorBase | |
Chi2MeasurementEstimatorBase (double maxChi2, double nSigma=3.) | |
double | chiSquaredCut () const |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const |
double | nSigmaCut () const |
Public Member Functions inherited from MeasurementEstimator | |
virtual | ~MeasurementEstimator () |
Private Attributes | |
std::vector< BarrelDetLayer * > | bl |
const MagneticField * | field |
std::vector< ForwardDetLayer * > | fneg |
std::vector< ForwardDetLayer * > | fpos |
std::map< const DetLayer *, int > | theBackward |
std::map< const DetLayer *, int > | theBarrel |
double | theChi2Cut |
int | theCutType |
const DetLayer * | theFirstLayer |
std::map< const DetLayer *, int > | theForward |
cms::HICConst * | theHICConst |
const DetLayer * | theLastLayer |
const DetLayer * | theLayer |
int | theLowMult |
double | theMaxChi2 |
double | theNewCut |
double | theNewCutB |
int | theNSigma |
double | thePhiBound |
double | thePhiBoundMean |
double | thePhiCut |
double | thePhiCutMean |
double | thePhiWin |
double | thePhiWinB |
double | thePhiWinMean |
double | thePhiWinMeanB |
int | theSign |
const GeometricSearchTracker * | theTracker |
int | theTrajectorySize |
double | theZBound |
double | theZBoundMean |
double | theZCut |
double | theZCutMean |
double | theZWin |
double | theZWinB |
double | theZWinMean |
double | theZWinMeanB |
Additional Inherited Members | |
Public Types inherited from MeasurementEstimator | |
typedef std::pair< bool, double > | HitReturnType |
typedef Vector2DBase< float, LocalTag > | Local2DVector |
typedef bool | SurfaceReturnType |
Protected Member Functions inherited from Chi2MeasurementEstimatorBase | |
std::pair< bool, double > | returnIt (double est) const |
A Chi2 Measurement Estimator. Computhes the Chi^2 of a TrajectoryState with a RecHit or a BoundPlane. The TrajectoryState must have errors. Works for any RecHit dimension. Ported from ORCA.
Definition at line 22 of file HICMeasurementEstimator.h.
|
inlineexplicit |
Construct with cuts on chi2 and nSigma. The cut on Chi2 is used to define the acceptance of RecHits. The errors of the trajectory state are multiplied by nSigma to define acceptance of BoundPlane and maximalLocalDisplacement.
Definition at line 30 of file HICMeasurementEstimator.h.
References GeometricSearchTracker::barrelLayers(), bl, field, fneg, fpos, GeometricSearchTracker::negForwardLayers(), GeometricSearchTracker::posForwardLayers(), setHICDetMap(), and theTracker.
Referenced by clone().
|
virtual |
Definition at line 278 of file HICMeasurementEstimator.cc.
References i.
Referenced by HICTrajectoryBuilder::findCompatibleMeasurements(), and HICTrajectoryBuilder::updateTrajectory().
|
inlinevirtual |
Implements MeasurementEstimator.
Definition at line 71 of file HICMeasurementEstimator.h.
References HICMeasurementEstimator().
|
virtual |
Returns pair( true, value) if the TrajectoryStateOnSurface is compatible with the RecHit, and pair( false, value) if it is not compatible. The TrajectoryStateOnSurface must be on the same Surface as the RecHit. For an estimator where there is no value computed, e.g. fixed window estimator, only the first(bool) part is of interest.
Implements Chi2MeasurementEstimatorBase.
Definition at line 12 of file HICMeasurementEstimator.cc.
References gather_cfg::cout, TrackingRecHit::dimension(), edm::hlt::Exception, and TrajectoryStateOnSurface::isValid().
Referenced by HICTrajectoryBuilder::findCompatibleMeasurements(), and HICTrajectoryBuilder::updateTrajectory().
|
virtual |
Returns pair( true, value) if the TrajectoryStateOnSurface is compatible with the RecHit, and pair( false, value) if it is not compatible. The TrajectoryStateOnSurface must be on the same Surface as the RecHit. For an estimator where there is no value computed, e.g. fixed window estimator, only the first(bool) part is of interest.
Implements Chi2MeasurementEstimatorBase.
|
virtual |
Returns true if the TrajectoryStateOnSurface is compatible with the BoundPlane, false otherwise. The TrajectoryStateOnSurface must be on the plane.
Reimplemented from Chi2MeasurementEstimatorBase.
Definition at line 98 of file HICMeasurementEstimator.cc.
References BoundSurface::bounds(), gather_cfg::cout, TrajectoryStateOnSurface::globalPosition(), Bounds::length(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), pi, GloballyPositioned< T >::position(), Bounds::width(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Definition at line 312 of file HICMeasurementEstimator.cc.
References GeomDetEnumerators::barrel, GeomDetEnumerators::endcap, DetLayer::location(), GloballyPositioned< T >::position(), edm::second(), GeometricSearchDet::surface(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Definition at line 69 of file HICMeasurementEstimator.h.
References field.
Referenced by HICTrajectoryBuilder::findCompatibleMeasurements(), and HICTrajectoryBuilder::updateTrajectory().
|
inline |
Definition at line 55 of file HICMeasurementEstimator.h.
References theHICConst.
Referenced by HICTrajectoryBuilder::trajectories().
|
virtual |
Definition at line 138 of file HICMeasurementEstimator.cc.
References a, b, GeomDetEnumerators::barrel, gather_cfg::cout, Trajectory::data(), GeomDetEnumerators::endcap, edm::first(), DetLayer::location(), Trajectory::measurements(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, GloballyPositioned< T >::position(), edm::second(), DetLayer::subDetector(), GeometricSearchDet::surface(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by HICTrajectoryBuilder::findCompatibleMeasurements(), and HICTrajectoryBuilder::updateTrajectory().
|
inline |
Definition at line 57 of file HICMeasurementEstimator.h.
References theHICConst.
Referenced by cms::HITrackVertexMaker::produceTracks().
|
virtual |
Definition at line 327 of file HICMeasurementEstimator.cc.
References gather_cfg::cout.
Referenced by HICMeasurementEstimator().
|
inlinevirtual |
Definition at line 59 of file HICMeasurementEstimator.h.
References theLastLayer.
|
inlinevirtual |
Definition at line 65 of file HICMeasurementEstimator.h.
References theLowMult.
Referenced by cms::HITrackVertexMaker::produceTracks().
|
inlinevirtual |
Definition at line 67 of file HICMeasurementEstimator.h.
Referenced by HICTrajectoryBuilder::limitedCandidates().
|
private |
Definition at line 112 of file HICMeasurementEstimator.h.
Referenced by HICMeasurementEstimator().
|
private |
Definition at line 116 of file HICMeasurementEstimator.h.
Referenced by getField(), and HICMeasurementEstimator().
|
private |
Definition at line 114 of file HICMeasurementEstimator.h.
Referenced by HICMeasurementEstimator().
|
private |
Definition at line 113 of file HICMeasurementEstimator.h.
Referenced by HICMeasurementEstimator().
|
private |
Definition at line 81 of file HICMeasurementEstimator.h.
|
private |
Definition at line 79 of file HICMeasurementEstimator.h.
|
private |
Definition at line 105 of file HICMeasurementEstimator.h.
|
private |
Definition at line 110 of file HICMeasurementEstimator.h.
|
private |
Definition at line 89 of file HICMeasurementEstimator.h.
|
private |
Definition at line 80 of file HICMeasurementEstimator.h.
|
private |
Definition at line 76 of file HICMeasurementEstimator.h.
Referenced by getHICConst(), and setHICConst().
|
private |
Definition at line 87 of file HICMeasurementEstimator.h.
Referenced by setLastLayer().
|
private |
Definition at line 88 of file HICMeasurementEstimator.h.
|
private |
Definition at line 109 of file HICMeasurementEstimator.h.
Referenced by setMult().
|
private |
Definition at line 77 of file HICMeasurementEstimator.h.
|
private |
Definition at line 106 of file HICMeasurementEstimator.h.
|
private |
Definition at line 107 of file HICMeasurementEstimator.h.
|
private |
Definition at line 78 of file HICMeasurementEstimator.h.
|
private |
Definition at line 83 of file HICMeasurementEstimator.h.
|
private |
Definition at line 85 of file HICMeasurementEstimator.h.
|
private |
Definition at line 101 of file HICMeasurementEstimator.h.
|
private |
Definition at line 103 of file HICMeasurementEstimator.h.
|
private |
Definition at line 91 of file HICMeasurementEstimator.h.
|
private |
Definition at line 96 of file HICMeasurementEstimator.h.
|
private |
Definition at line 93 of file HICMeasurementEstimator.h.
|
private |
Definition at line 98 of file HICMeasurementEstimator.h.
|
private |
Definition at line 115 of file HICMeasurementEstimator.h.
Referenced by setSign().
|
private |
Definition at line 111 of file HICMeasurementEstimator.h.
Referenced by HICMeasurementEstimator().
|
private |
Definition at line 90 of file HICMeasurementEstimator.h.
|
private |
Definition at line 84 of file HICMeasurementEstimator.h.
|
private |
Definition at line 86 of file HICMeasurementEstimator.h.
|
private |
Definition at line 102 of file HICMeasurementEstimator.h.
|
private |
Definition at line 104 of file HICMeasurementEstimator.h.
|
private |
Definition at line 92 of file HICMeasurementEstimator.h.
|
private |
Definition at line 97 of file HICMeasurementEstimator.h.
|
private |
Definition at line 94 of file HICMeasurementEstimator.h.
|
private |
Definition at line 99 of file HICMeasurementEstimator.h.