test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CosmicParametersDefinerForTP.h
Go to the documentation of this file.
1 #ifndef TrackAssociation_CosmicParametersDefinerForTP_h
2 #define TrackAssociation_CosmicParametersDefinerForTP_h
3 
12 
14 
15  public:
18 
19  virtual TrackingParticle::Vector momentum(const edm::Event& iEvent, const edm::EventSetup& iSetup, const TrackingParticleRef& tpr) const override;
20  virtual TrackingParticle::Point vertex(const edm::Event& iEvent, const edm::EventSetup& iSetup, const TrackingParticleRef& tpr) const override;
21 
23  const Charge ch, const Point & vertex, const LorentzVector& lv) const override {
24  return TrackingParticle::Vector();
25  }
26 
28  const Charge ch, const Point & vertex, const LorentzVector& lv) const override {
29  return TrackingParticle::Point();
30  }
31 
33  simHitsTPAssoc = simHitsTPAssocToSet;
34  }
35 
36  std::unique_ptr<ParametersDefinerForTP> clone() const override { return std::unique_ptr<CosmicParametersDefinerForTP>( new CosmicParametersDefinerForTP(*this)); }
37  private:
39 };
40 
41 
42 #endif
virtual TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vertex, const LorentzVector &lv) const override
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vertex, const LorentzVector &lv) const override
math::XYZTLorentzVectorD LorentzVector
Lorentz vector.
virtual TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const override
math::XYZPointD Point
point in the space
int iEvent
Definition: GenABIO.cc:230
math::XYZPointD Point
point in the space
int Charge
electric charge type
virtual TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const override
void initEvent(edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssocToSet) override
math::XYZVectorD Vector
point in the space
edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssoc
std::unique_ptr< ParametersDefinerForTP > clone() const override