1 #ifndef TrackAssociation_ParametersDefinerForTP_h 2 #define TrackAssociation_ParametersDefinerForTP_h 31 const Charge ch,
const Point &
vtx,
const LorentzVector& lv)
const;
34 return momentum(iEvent, iSetup, tpr->charge(),tpr->vertex(),tpr->p4());
42 const Charge ch,
const Point &
vtx,
const LorentzVector& lv)
const;
45 return vertex(iEvent, iSetup, tpr->charge(),tpr->vertex(),tpr->p4());
54 virtual std::unique_ptr<ParametersDefinerForTP>
clone()
const {
return std::unique_ptr<ParametersDefinerForTP>(
new ParametersDefinerForTP(*
this)); }
math::XYZTLorentzVectorD LorentzVector
Lorentz vector.
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
virtual ~ParametersDefinerForTP()
math::XYZPointD Point
point in the space
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector
virtual TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vtx, const LorentzVector &lv) const
math::XYZPointD Point
point in the space
virtual void initEvent(edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssocToSet)
virtual TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Candidate &tp) const
virtual std::unique_ptr< ParametersDefinerForTP > clone() const
virtual TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const
int Charge
electric charge type
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< double > > XYZPointD
point in space with cartesian internal representation
virtual int charge() const =0
electric charge
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Candidate &tp) const
edm::InputTag beamSpotInputTag_
virtual const Point & vertex() const =0
vertex position
math::XYZVectorD Vector
point in the space
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vtx, const LorentzVector &lv) const