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) );
82 thePTraj = boost::shared_ptr<PTrajectoryStateOnDet>(
void init(const reco::Track &proto, const edm::EventSetup &es)
const Vector & momentum() const
track momentum vector
size_t recHitsSize() const
Get number of RecHits. (Warning, this includes invalid hits, which are not physical hits)...
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
boost::shared_ptr< PTrajectoryStateOnDet > thePTraj
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
PTrajectoryStateOnDet trajectoryState() const
const PositionType & position() const
math::XYZVector Vector
spatial vector
Global3DVector GlobalVector