43 std::unique_ptr<reco::Track>
ret;
54 for (
auto const& ih :
hits) {
57 points[
i] =
recHit->globalPosition();
70 float valPt = (invPt > 1.e-4) ? 1. / invPt : 1.
e4;
71 float errPt = 0.055 * valPt + 0.017 * valPt * valPt;
88 float errCotTheta = 0.002;
ret
prodAgent to be discontinued
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE constexpr float zip(ConstView const &tracks, int32_t i)
Global3DPoint GlobalPoint
float getZip(float d0, float curv, const GlobalPoint &inner, const GlobalPoint &outer) const
T y() const
Cartesian y coordinate.
float getPhi(float xC, float yC, int charge) const
T curvature(T InversePt, const MagneticField &field)
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
void getErrTipAndErrZip(float pt, float eta, float &errZip, float &errTip) const
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
T inversePt(T curvature, const MagneticField &field)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
float getCotThetaAndUpdateZip(const GlobalPoint &inner, const GlobalPoint &outer, float radius, float phi, float d0, float &zip) const
#define declareDynArray(T, n, x)
const TransientTrackingRecHitBuilder * theTTRecHitBuilder
T x() const
Cartesian x coordinate.
const MagneticField * theField