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;
50 if (itrk->quality(trackQuality)) {
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(),
59 trkEnd = goodTracks.end(),
102 if (propagatedInfo.
isValid()) {
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
double outerPy() const
y coordinate of momentum vector at the outermost hit position
const TrackExtraRef & extra() const
reference to "extra" object
Quality qualityByName(std::string const &name)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
TrackQuality
track quality
#define DEFINE_FWK_MODULE(type)
Global3DPoint GlobalPoint
GlobalPoint globalPosition() const
double px() const
x coordinate of momentum vector
double minZ(bool withTolerance=true) const
double outerZ() const
z coordinate of the outermost hit position
__constant__ float const minz[nPairs]
bool getData(T &iHolder) const
static PlanePointer build(Args &&...args)
double outerX() const
x coordinate of the outermost hit position
math::XYZPoint Point
point in the space
Point3DBase< float, GlobalTag > PositionType
double outerPz() const
z coordinate of momentum vector at the outermost hit position
double pz() const
z coordinate of momentum vector
double minR(bool withTolerance=true) const
double vz() const
z coordinate of the reference point on track
static CylinderPointer build(const PositionType &pos, const RotationType &rot, Scalar radius, Bounds *bounds=nullptr)
T getParameter(std::string const &) const
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
double vy() const
y coordinate of the reference point on track
GlobalVector globalMomentum() const
TkRotation< float > RotationType
double outerY() const
y coordinate of the outermost hit position
int charge() const
track electric charge
math::XYZVector Vector
spatial vector
double outerPx() const
x coordinate of momentum vector at the outermost hit position
double py() const
y coordinate of momentum vector
double vx() const
x coordinate of the reference point on track
Global3DVector GlobalVector