1 #ifndef CommonDet_Chi2ChargeMeasurementEstimator_H
2 #define CommonDet_Chi2ChargeMeasurementEstimator_H
29 bool cutOnPixelCharge,
bool cutOnStripCharge,
double minGoodPixelCharge,
double minGoodStripCharge,
30 float pTChargeCutThreshold = 100000.) :
32 cutOnStripCharge_(cutOnStripCharge), minGoodPixelCharge_(minGoodPixelCharge),
33 minGoodStripCharge_(minGoodStripCharge) {
34 if (pTChargeCutThreshold>=0.) pTChargeCutThreshold_=pTChargeCutThreshold;
35 else pTChargeCutThreshold_=100000;
52 inline double minGoodCharge(
int subdet)
const {
return (subdet>2?minGoodStripCharge_:minGoodPixelCharge_);}
56 float sensorThickness (
const DetId&
detid)
const;
58 bool checkCharge(
const TrackingRecHit& aRecHit,
int subdet,
float chargeCut)
const;
double minGoodStripCharge_
virtual Chi2ChargeMeasurementEstimator * clone() const
double minGoodPixelCharge_
Detector identifier class for the strip tracker.
tuple Chi2ChargeMeasurementEstimator
float pTChargeCutThreshold_
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &, const TrackingRecHit &) const
double minGoodCharge(int subdet) const
Chi2ChargeMeasurementEstimator(double maxChi2, double nSigma, bool cutOnPixelCharge, bool cutOnStripCharge, double minGoodPixelCharge, double minGoodStripCharge, float pTChargeCutThreshold=100000.)
Unlimited (trivial) bounds.