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 public:
17 
19  const edm::EventSetup &iSetup,
20  const TrackingParticleRef &tpr) const override;
22  const edm::EventSetup &iSetup,
23  const TrackingParticleRef &tpr) const override;
24 
26  const edm::EventSetup &iSetup,
27  const Charge ch,
28  const Point &vertex,
29  const LorentzVector &lv) const override {
30  return TrackingParticle::Vector();
31  }
32 
34  const edm::EventSetup &iSetup,
35  const Charge ch,
36  const Point &vertex,
37  const LorentzVector &lv) const override {
38  return TrackingParticle::Point();
39  }
40 
42  simHitsTPAssoc = simHitsTPAssocToSet;
43  }
44 
45  std::unique_ptr<ParametersDefinerForTP> clone() const override {
46  return std::unique_ptr<CosmicParametersDefinerForTP>(new CosmicParametersDefinerForTP(*this));
47  }
48 
49 private:
51 };
52 
53 #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:224
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
int Charge
electric charge type
std::unique_ptr< ParametersDefinerForTP > clone() const override
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:55
void initEvent(edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssocToSet) override
math::XYZVectorD Vector
point in the space
edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssoc