9 : tracksSrc_(consumes(iConfig.getParameter<
edm::
InputTag>(
"trackSrc"))),
15 throw cms::Exception(
"InvalidInput") <<
"Unknown trackQuality value '" 17 <<
"'. See possible values in 'reco::TrackBase::qualityByName'";
20 produces<std::vector<reco::TrackExtrapolation>>();
40 auto extrapolations = std::make_unique<std::vector<reco::TrackExtrapolation>>();
44 for (reco::TrackCollection::const_iterator trkBegin = tracks_h->begin(), trkEnd = tracks_h->end(), itrk = trkBegin;
54 std::vector<reco::TrackBase::Point> vresultPos(1);
55 std::vector<reco::TrackBase::Vector> vresultMom(1);
58 for (std::vector<reco::TrackRef>::const_iterator trkBegin =
goodTracks.begin(),
102 if (propagatedInfo.
isValid()) {
double outerY() const
y coordinate of the outermost hit position
T getParameter(std::string const &) const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
double outerX() const
x coordinate of the outermost hit position
double outerPy() const
y coordinate of momentum vector at the outermost hit position
Quality qualityByName(std::string const &name)
double vx() const
x coordinate of the reference point on track
TrackQuality
track quality
double px() const
x coordinate of momentum vector
Global3DPoint GlobalPoint
double py() const
y coordinate of momentum vector
double outerZ() const
z coordinate of the outermost hit position
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
static PlanePointer build(Args &&... args)
int charge() const
track electric charge
GlobalPoint globalPosition() const
double vz() const
z coordinate of the reference point on track
#define DEFINE_FWK_MODULE(type)
math::XYZPoint Point
point in the space
Point3DBase< float, GlobalTag > PositionType
double outerPz() const
z coordinate of momentum vector at the outermost hit position
static CylinderPointer build(const PositionType &pos, const RotationType &rot, Scalar radius, Bounds *bounds=nullptr)
double pz() const
z coordinate of momentum vector
constexpr float minz[nPairs]
GlobalVector globalMomentum() const
double vy() const
y coordinate of the reference point on track
TkRotation< float > RotationType
double outerPx() const
x coordinate of momentum vector at the outermost hit position
double minR(bool withTolerance=true) const
math::XYZVector Vector
spatial vector
double minZ(bool withTolerance=true) const
Global3DVector GlobalVector
const TrackExtraRef & extra() const
reference to "extra" object