Implements PixelFitterBase.
Definition at line 44 of file PixelFitterByConformalMappingAndLine.cc.
References TransientTrackingRecHitBuilder::build(), PixelTrackBuilder::build(), ConformalMappingFit::charge(), ALCARECOTkAlJpsiMuMu_cff::charge, ConformalMappingFit::chi2(), RZLine::chi2(), nano_mu_local_reco_cff::chi2, RZLine::cotTheta(), RZLine::covii(), RZLine::covss(), ConformalMappingFit::curvature(), ConformalMappingFit::directionPhi(), vertexPlots::e4, Measurement1D::error(), relativeConstraints::error, nano_mu_digi_cff::errors, fftjetvertexadder_cfi::errZ, ConformalMappingFit::fixImpactParmaeter(), hfClusterShapes_cfi::hits, mps_fire::i, ConformalMappingFit::impactParameter(), RZLine::intercept(), PixelRecoUtilities::inversePt(), PixelPluginsPhase0_cfi::isBarrel, nhits, phi, point, hiPixelPairStep_cff::points, DiDispStaMuonMonitor_cfi::pt, alignCSCRings::r, rpcPointValidation_cfi::recHit, nano_mu_digi_cff::region, sqr(), mathSSE::sqrt(), theField, theFixImpactParameter, theTTRHBuilder, theUseFixImpactParameter, qcdUeDQM_cfi::tip, Measurement1D::value(), geometryCSVtoXML::xy, z, and reco::zip().
48 vector<GlobalPoint>
points;
49 vector<GlobalError>
errors;
52 for (vector<const TrackingRecHit *>::const_iterator ih =
hits.begin(); ih !=
hits.end(); ih++) {
70 vector<float> errRPhi2;
75 errRPhi2.push_back(
point.perp2() * phiErr2);
81 parabola.fixImpactParmaeter(0.);
85 float valPt = (invPt > 1.e-4) ? 1. / invPt : 1.
e4;
115 float chi2 = parabola.chi2() + rzLine.chi2();
116 int charge = parabola.charge();
119 return std::unique_ptr<reco::Track>(
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE constexpr float zip(ConstView const &tracks, int32_t i)
reco::Track * build(const Measurement1D &pt, const Measurement1D &phi, const Measurement1D &cotTheta, const Measurement1D &tip, const Measurement1D &zip, float chi2, int charge, const std::vector< const TrackingRecHit *> &hits, const MagneticField *mf, const GlobalPoint &reference=GlobalPoint(0, 0, 0)) const
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
T inversePt(T curvature, const MagneticField &field)
std::shared_ptr< TrackingRecHit const > RecHitPointer
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point