CMS 3D CMS Logo

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  TrackingParticle::Vector momentum(const edm::Event& iEvent, const edm::EventSetup& iSetup, const TrackingParticleRef& tpr) const override;
20  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
math::XYZTLorentzVectorD LorentzVector
Lorentz vector.
TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vertex, const LorentzVector &lv) const override
math::XYZPointD Point
point in the space
TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vertex, const LorentzVector &lv) const override
int iEvent
Definition: GenABIO.cc:230
TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const override
TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const override
math::XYZPointD Point
point in the space
int Charge
electric charge type
std::unique_ptr< ParametersDefinerForTP > clone() const override
void initEvent(edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssocToSet) override
math::XYZVectorD Vector
point in the space
edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssoc