33 float minGoodPixelCharge,
float minGoodStripCharge,
36 minGoodPixelCharge_(minGoodPixelCharge),
37 minGoodStripCharge_(minGoodStripCharge) {
52 float minGoodPixelCharge_;
53 float minGoodStripCharge_;
54 float pTChargeCutThreshold2_;
78 return checkClusterCharge(detid, *clf.cluster[0],ts) && (
nullptr==clf.cluster[1] || checkClusterCharge(detid, *clf.cluster[1],ts) ) ;
98 #include <boost/shared_ptr.hpp>
103 class Chi2ChargeMeasurementEstimatorESProducer:
public edm::ESProducer{
106 virtual ~Chi2ChargeMeasurementEstimatorESProducer();
109 boost::shared_ptr<Chi2MeasurementEstimatorBase> _estimator;
113 float minGoodPixelCharge_;
114 float minGoodStripCharge_;
115 float pTChargeCutThreshold_;
119 Chi2ChargeMeasurementEstimatorESProducer::Chi2ChargeMeasurementEstimatorESProducer(
const edm::ParameterSet & pset)
122 setWhatProduced(
this,myname);
126 minGoodPixelCharge_ = 0;
128 pTChargeCutThreshold_= pset.
getParameter<
double>(
"pTChargeCutThreshold");
133 Chi2ChargeMeasurementEstimatorESProducer::~Chi2ChargeMeasurementEstimatorESProducer() {}
135 boost::shared_ptr<Chi2MeasurementEstimatorBase>
138 _estimator = boost::shared_ptr<Chi2MeasurementEstimatorBase>(
140 minGoodPixelCharge_, minGoodStripCharge_, pTChargeCutThreshold_));
T getParameter(std::string const &) const
virtual Chi2MeasurementEstimator * clone() const
virtual bool preFilter(const TrajectoryStateOnSurface &, OpaquePayload const &) const
const LocalTrajectoryParameters & localParameters() const
tuple pTChargeCutThreshold
float clusterChargeCut(const edm::ParameterSet &conf, const char *name="clusterChargeCut")
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
tuple Chi2ChargeMeasurementEstimator
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
GlobalVector globalMomentum() const
static constexpr int myTag