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) );
const Point & referencePoint() const
Reference point on the track.
void init(const reco::Track &proto, const edm::EventSetup &es)
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 Vector & momentum() const
track momentum vector
SeedFromProtoTrack(const reco::Track &proto, const edm::EventSetup &)
TrajectorySeed trajectorySeed() const
uint32_t rawId() const
get the raw id
CovarianceMatrix covariance() const
return track covariance matrix
virtual TrackingRecHit * clone() const =0
math::XYZPoint Point
point in the space
const RecHitContainer & hits() const
PropagationDirection direction() const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
return(e1-e2)*(e1-e2)+dp *dp
TrackingRecHitRef recHit(size_t i) const
Get i-th hit on the track.
unsigned int size() const
const TrackerGeomDet * idToDet(DetId) const override
int charge() const
track electric charge
DetId geographicalId() const
const PositionType & position() const
math::XYZVector Vector
spatial vector
Global3DVector GlobalVector