23 : nominalB_(nominalB), field_(field), useRiemannFit_(
useRiemannFit) {}
29 std::unique_ptr<reco::Track>
ret;
40 for (
unsigned int i = 0;
i !=
nhits; ++
i) {
50 Eigen::Matrix<float, 6, 4> hits_ge = Eigen::Matrix<float, 6, 4>::Zero();
52 for (
unsigned int i = 0;
i <
nhits; ++
i) {
62 int iCharge = fittedTrack.
qCharge;
70 float valPhi = fittedTrack.
par(0);
72 float valTip = fittedTrack.
par(1);
74 float valCotTheta = fittedTrack.
par(3);
76 float valZip = fittedTrack.
par(4);
77 float valPt = fittedTrack.
par(2);
std::unique_ptr< reco::Track > run(const std::vector< const TrackingRecHit *> &hits, const TrackingRegion ®ion) const override
ret
prodAgent to be discontinued
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE constexpr float zip(ConstView const &tracks, int32_t i)
Vector5d par
(phi,Tip,pt,cotan(theta)),Zip)
Global3DPoint GlobalPoint
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
int32_t qCharge
particle charge
riemannFit::HelixFit helixFit(const riemannFit::Matrix3xNd< n > &hits, const Eigen::Matrix< float, 6, 4 > &hits_ge, const double bField)
Helix fit by three step: -fast pre-fit (see Fast_fit() for further info); -circle fit of the hits pr...
Eigen::Matrix< double, 3, N > Matrix3xNd
#define declareDynArray(T, n, x)
const MagneticField * field_
HelixFit helixFit(const Matrix3xNd< N > &hits, const Eigen::Matrix< float, 6, N > &hits_ge, const double bField, const bool error)
Helix fit by three step: -fast pre-fit (see Fast_fit() for further info); -circle fit of hits proje...
PixelNtupletsFitter(float nominalB, const MagneticField *field, bool useRiemannFit)