CMS 3D CMS Logo

PixelTrackBuilder.h
Go to the documentation of this file.
1 #ifndef RecoTracker_PixelTrackFitting_PixelTrackBuilder_h
2 #define RecoTracker_PixelTrackFitting_PixelTrackBuilder_h
3 
4 #include <vector>
5 #include <string>
9 class TrackingRecHit;
10 class MagneticField;
12 
14 public:
15  reco::Track* build(const Measurement1D& pt, // transverse momentu
16  const Measurement1D& phi, // direction at impact point
17  const Measurement1D& cotTheta, // cotangent of polar angle
18  const Measurement1D& tip, // closest approach in 2D
19  const Measurement1D& zip, // z at closest approach in 2D
20  float chi2, // chi2
21  int charge, // chi2
22  const std::vector<const TrackingRecHit*>& hits,
23  const MagneticField* mf,
24  // reference point of a track for IP computation
25  const GlobalPoint& reference = GlobalPoint(0, 0, 0)) const;
26 };
27 
28 #endif
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE constexpr float zip(ConstView const &tracks, int32_t i)
Definition: TracksSoA.h:90
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
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