#include <Chi2ChargeMeasurementEstimator.h>
Public Member Functions | |
Chi2ChargeMeasurementEstimator (double maxChi2, double nSigma, bool cutOnPixelCharge, bool cutOnStripCharge, double minGoodPixelCharge, double minGoodStripCharge, float pTChargeCutThreshold=100000.) | |
virtual Chi2ChargeMeasurementEstimator * | clone () const |
virtual std::pair< bool, double > | estimate (const TrajectoryStateOnSurface &, const TrackingRecHit &) const |
Public Member Functions inherited from Chi2MeasurementEstimator | |
Chi2MeasurementEstimator (double maxChi2, double nSigma=3.) | |
Public Member Functions inherited from Chi2MeasurementEstimatorBase | |
Chi2MeasurementEstimatorBase (double maxChi2, double nSigma=3.) | |
double | chiSquaredCut () const |
virtual bool | estimate (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
virtual Local2DVector | maximalLocalDisplacement (const TrajectoryStateOnSurface &ts, const Plane &plane) const |
double | nSigmaCut () const |
Public Member Functions inherited from MeasurementEstimator | |
virtual | ~MeasurementEstimator () |
Private Member Functions | |
bool | checkCharge (const TrackingRecHit &aRecHit, int subdet, float chargeCut) const |
bool | checkClusterCharge (const OmniClusterRef::ClusterStripRef cluster, float chargeCut) const |
double | minGoodCharge (int subdet) const |
float | sensorThickness (const DetId &detid) const |
bool | thickSensors (const SiStripDetId &detid) const |
Private Attributes | |
bool | cutOnPixelCharge_ |
bool | cutOnStripCharge_ |
double | minGoodPixelCharge_ |
double | minGoodStripCharge_ |
float | pTChargeCutThreshold_ |
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, checking also the charge of the cluster. Computhes the Chi^2 of a TrajectoryState with a RecHit or a Plane. The TrajectoryState must have errors. If the cluster passes the chi2 cut, the charge is checked. This cut can be bypassed for high-pt cut. Works for any RecHit dimension.
Definition at line 20 of file Chi2ChargeMeasurementEstimator.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 Plane and maximalLocalDisplacement.
Definition at line 28 of file Chi2ChargeMeasurementEstimator.h.
References pTChargeCutThreshold_.
Referenced by clone().
|
private |
Definition at line 18 of file Chi2ChargeMeasurementEstimator.cc.
References checkClusterCharge(), OmniClusterRef::cluster_strip(), edm::hlt::Exception, BaseTrackerRecHit::firstClusterRef(), TrackingRecHit::getRTTI(), TrackingRecHit::hit(), likely, SiStripMatchedRecHit2D::monoClusterRef(), and SiStripMatchedRecHit2D::stereoClusterRef().
Referenced by estimate().
|
private |
Definition at line 12 of file Chi2ChargeMeasurementEstimator.cc.
Referenced by checkCharge().
|
inlinevirtual |
Reimplemented from Chi2MeasurementEstimator.
Definition at line 43 of file Chi2ChargeMeasurementEstimator.h.
References Chi2ChargeMeasurementEstimator().
|
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.
Reimplemented from Chi2MeasurementEstimator.
Definition at line 56 of file Chi2ChargeMeasurementEstimator.cc.
References checkCharge(), cutOnPixelCharge_, cutOnStripCharge_, DetId::det(), cond::rpcobgas::detid, LocalTrajectoryParameters::dxdz(), LocalTrajectoryParameters::dydz(), Chi2MeasurementEstimator::estimate(), TrackingRecHit::geographicalId(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::localParameters(), minGoodCharge(), PV3DBase< T, PVType, FrameType >::perp(), pTChargeCutThreshold_, sensorThickness(), mathSSE::sqrt(), and DetId::subdetId().
|
inlineprivate |
Definition at line 52 of file Chi2ChargeMeasurementEstimator.h.
References minGoodPixelCharge_, and minGoodStripCharge_.
Referenced by estimate().
|
private |
Definition at line 41 of file Chi2ChargeMeasurementEstimator.cc.
References cond::rpcobgas::detid, SiStripDetId::moduleGeometry(), DetId::subdetId(), SiStripDetId::TIB, SiStripDetId::TOB, SiStripDetId::W5, SiStripDetId::W6, and SiStripDetId::W7.
Referenced by estimate().
|
private |
|
private |
Definition at line 47 of file Chi2ChargeMeasurementEstimator.h.
Referenced by estimate().
|
private |
Definition at line 48 of file Chi2ChargeMeasurementEstimator.h.
Referenced by estimate().
|
private |
Definition at line 49 of file Chi2ChargeMeasurementEstimator.h.
Referenced by minGoodCharge().
|
private |
Definition at line 50 of file Chi2ChargeMeasurementEstimator.h.
Referenced by minGoodCharge().
|
private |
Definition at line 51 of file Chi2ChargeMeasurementEstimator.h.
Referenced by Chi2ChargeMeasurementEstimator(), and estimate().