1 #ifndef RecoTrackerDeDx_UnbinnedFitDeDxEstimator_h 2 #define RecoTrackerDeDx_UnbinnedFitDeDxEstimator_h 28 if(Hits.size()==0)
return std::make_pair(-1,-1);
30 f1->SetParameters(3.0 , 0.3);
33 for (reco::DeDxHitCollection::const_iterator
hit = Hits.begin();
hit!=Hits.end(); ++
hit,++
i) {
39 return std::make_pair(
f1->GetParameter(0),
f1->GetParError(0));
std::vector< DeDxHit > DeDxHitCollection
UnbinnedFitDeDxEstimator(const edm::ParameterSet &iConfig)
int32_t fit(int32_t verbosity=-1)
virtual ~UnbinnedFitDeDxEstimator()
virtual std::pair< float, float > dedx(const reco::DeDxHitCollection &Hits)
UnbinnedLikelihoodFit fitter