Go to the documentation of this file.
14 throw cms::Exception(
"InvalidInput") <<
"Unknown trackQuality value '"
16 <<
"'. See possible values in 'reco::TrackBase::qualityByName'";
19 produces<std::vector<reco::TrackExtrapolation>>();
43 auto extrapolations = std::make_unique<std::vector<reco::TrackExtrapolation>>();
47 for (reco::TrackCollection::const_iterator trkBegin = tracks_h->begin(), trkEnd = tracks_h->end(), itrk = trkBegin;
57 std::vector<reco::TrackBase::Point> vresultPos(1);
58 std::vector<reco::TrackBase::Vector> vresultMom(1);
61 for (std::vector<reco::TrackRef>::const_iterator trkBegin =
goodTracks.begin(),
95 double minz = volume.
minZ();
105 if (propagatedInfo.
isValid()) {
const FiducialVolume & volume() const
get active detector volume
double outerPy() const
y coordinate of momentum vector at the outermost hit position
double outerPx() const
x coordinate of momentum vector at the outermost hit position
GlobalPoint globalPosition() const
double minR(bool withTolerance=true) const
double vx() const
x coordinate of the reference point on track
TrackQuality
track quality
double outerX() const
x coordinate of the outermost hit position
double px() const
x coordinate of momentum vector
Global3DVector GlobalVector
TkRotation< float > RotationType
const TrackExtraRef & extra() const
reference to "extra" object
double outerPz() const
z coordinate of momentum vector at the outermost hit position
double outerZ() const
z coordinate of the outermost hit position
#define DEFINE_FWK_MODULE(type)
double py() const
y coordinate of momentum vector
double vz() const
z coordinate of the reference point on track
int charge() const
track electric charge
Global3DPoint GlobalPoint
static PlanePointer build(Args &&... args)
double minZ(bool withTolerance=true) const
static CylinderPointer build(const PositionType &pos, const RotationType &rot, Scalar radius, Bounds *bounds=nullptr)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
math::XYZPoint Point
point in the space
static TrackQuality qualityByName(const std::string &name)
T getParameter(std::string const &) const
GlobalVector globalMomentum() const
double vy() const
y coordinate of the reference point on track
Point3DBase< float, GlobalTag > PositionType
double pz() const
z coordinate of momentum vector
double outerY() const
y coordinate of the outermost hit position
math::XYZVector Vector
spatial vector