25 for (
unsigned int i= 0,
n = hits.
size();
i<
n; ++
i) {
36 for (
unsigned int iHit = 0, nHits = proto.
recHitsSize(); iHit < nHits; ++iHit) {
62 proto.
charge(), &(*field) );
void init(const reco::Track &proto, const edm::EventSetup &es)
const Vector & momentum() const
track momentum vector
PTrajectoryStateOnDet thePTraj
size_t recHitsSize() const
Get number of RecHits. (Warning, this includes invalid hits, which are not physical hits)...
PTrajectoryStateOnDet const & trajectoryState() const
Global3DPoint GlobalPoint
const Point & referencePoint() const
Reference point on the track.
CovarianceMatrix covariance() const
return track covariance matrix
SeedFromProtoTrack(const reco::Track &proto, const edm::EventSetup &)
TrajectorySeed trajectorySeed() const
uint32_t rawId() const
get the raw id
math::XYZPoint Point
point in the space
virtual TrajectoryStateOnSurface propagate(const FreeTrajectoryState &, const Surface &) const
virtual TrackingRecHit * clone() const =0
const RecHitContainer & hits() const
PropagationDirection direction() const
TrackingRecHitRef recHit(size_t i) const
Get i-th hit on the track.
unsigned int size() const
int charge() const
track electric charge
DetId geographicalId() const
const PositionType & position() const
math::XYZVector Vector
spatial vector
Global3DVector GlobalVector