CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParametersDefinerForTP.h
Go to the documentation of this file.
1 #ifndef TrackAssociation_ParametersDefinerForTP_h
2 #define TrackAssociation_ParametersDefinerForTP_h
3 
16 
18 
19  public:
23 
24  typedef int Charge;
27 
28  virtual TrackingParticle::Vector momentum(const edm::Event& iEvent, const edm::EventSetup& iSetup,
29  const Charge ch, const Point & vtx, const LorentzVector& lv) const;
30 
31  virtual TrackingParticle::Vector momentum(const edm::Event& iEvent, const edm::EventSetup& iSetup, const TrackingParticleRef& tpr) const{
32  return momentum(iEvent, iSetup, tpr->charge(),tpr->vertex(),tpr->p4());
33  }
34 
35  virtual TrackingParticle::Vector momentum(const edm::Event& iEvent, const edm::EventSetup& iSetup, const reco::Candidate& tp) const {
36  return momentum(iEvent, iSetup, tp.charge(),tp.vertex(),tp.p4());
37  }
38 
39  virtual TrackingParticle::Point vertex(const edm::Event& iEvent, const edm::EventSetup& iSetup,
40  const Charge ch, const Point & vtx, const LorentzVector& lv) const;
41 
42  virtual TrackingParticle::Point vertex(const edm::Event& iEvent, const edm::EventSetup& iSetup, const TrackingParticleRef& tpr) const{
43  return vertex(iEvent, iSetup, tpr->charge(),tpr->vertex(),tpr->p4());
44  }
45 
46  virtual TrackingParticle::Point vertex(const edm::Event& iEvent, const edm::EventSetup& iSetup, const reco::Candidate& tp) const {
47  return vertex(iEvent, iSetup, tp.charge(),tp.vertex(),tp.p4());
48  }
49 
51 
53 
54 };
55 
56 
57 #endif
math::XYZTLorentzVectorD LorentzVector
Lorentz vector.
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
math::XYZTLorentzVector LorentzVector
math::XYZPointD Point
point in the space
int iEvent
Definition: GenABIO.cc:243
math::XYZPoint Point
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 const Point & vertex() const =0
vertex position
virtual TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Candidate &tp) const
virtual int charge() const =0
electric charge
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
Definition: Point3D.h:8
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const
virtual void initEvent(edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssocToSet) const
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const reco::Candidate &tp) const
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
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector