13 : bsToken_(iC.consumes(beamspot)), mfToken_(iC.
esConsumes()) {}
37 tscblBuilder(ftsAtProduction,
bs);
38 if (tsAtClosestApproach.isValid()) {
39 GlobalVector p = tsAtClosestApproach.trackStateAtPCA().momentum();
64 tscblBuilder(ftsAtProduction,
bs);
65 if (tsAtClosestApproach.isValid()) {
66 GlobalPoint v = tsAtClosestApproach.trackStateAtPCA().position();
95 tscblBuilder(ftsAtProduction,
bs);
96 if (tsAtClosestApproach.isValid()) {
97 GlobalPoint v = tsAtClosestApproach.trackStateAtPCA().position();
99 GlobalVector p = tsAtClosestApproach.trackStateAtPCA().momentum();
104 return std::make_tuple(momentum,
vertex);
virtual ~ParametersDefinerForTP()
math::XYZTLorentzVectorD LorentzVector
Lorentz vector.
Global3DPoint GlobalPoint
const edm::EDGetTokenT< reco::BeamSpot > bsToken_
ParametersDefinerForTP(const edm::InputTag &beamspot, edm::ConsumesCollector iC)
math::XYZPointD Point
point in the space
bool getData(T &iHolder) const
virtual std::tuple< TrackingParticle::Vector, TrackingParticle::Point > momentumAndVertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const
virtual TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vtx, const LorentzVector &lv) const
bool get(ProductID const &oid, Handle< PROD > &result) const
int Charge
electric charge type
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > mfToken_
Structure Point Contains parameters of Gaussian fits to DMRs.
math::XYZVectorD Vector
point in the space
Global3DVector GlobalVector
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vtx, const LorentzVector &lv) const