23 for (
unsigned int i = 0,
n = hits.
size();
i <
n; ++
i) {
32 for (
unsigned int iHit = 0, nHits = proto.
recHitsSize(); iHit < nHits; ++iHit) {
67 edm::LogError(
"SeedFromProtoTrack") <<
" was trying to create a seed from:\n"
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
constexpr uint32_t rawId() const
get the raw id
const Vector & momentum() const
track momentum vector
SeedFromProtoTrack(const reco::Track &proto, const edm::EventSetup &)
TrajectorySeed trajectorySeed() const
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
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