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
CosmicParametersDefinerForTP::simHitsTPAssoc
edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssoc
Definition: CosmicParametersDefinerForTP.h:50
CosmicParametersDefinerForTP::momentum
TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const override
Definition: CosmicParametersDefinerForTP.cc:23
TrackingParticle::Vector
math::XYZVectorD Vector
point in the space
Definition: TrackingParticle.h:37
CosmicParametersDefinerForTP::CosmicParametersDefinerForTP
CosmicParametersDefinerForTP()
Definition: CosmicParametersDefinerForTP.h:15
edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList >
edm::Ref< TrackingParticleCollection >
CosmicParametersDefinerForTP
Definition: CosmicParametersDefinerForTP.h:13
ParametersDefinerForTP::Charge
int Charge
electric charge type
Definition: ParametersDefinerForTP.h:23
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
CosmicParametersDefinerForTP::momentum
TrackingParticle::Vector momentum(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vertex, const LorentzVector &lv) const override
Definition: CosmicParametersDefinerForTP.h:25
CosmicParametersDefinerForTP::vertex
TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const Charge ch, const Point &vertex, const LorentzVector &lv) const override
Definition: CosmicParametersDefinerForTP.h:33
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup
Definition: EventSetup.h:58
ParametersDefinerForTP.h
CosmicParametersDefinerForTP::~CosmicParametersDefinerForTP
~CosmicParametersDefinerForTP() override
Definition: CosmicParametersDefinerForTP.h:16
TrackingParticle.h
CosmicParametersDefinerForTP::initEvent
void initEvent(edm::Handle< SimHitTPAssociationProducer::SimHitTPAssociationList > simHitsTPAssocToSet) override
Definition: CosmicParametersDefinerForTP.h:41
ParametersDefinerForTP::LorentzVector
math::XYZTLorentzVectorD LorentzVector
Lorentz vector.
Definition: ParametersDefinerForTP.h:27
CosmicParametersDefinerForTP::clone
std::unique_ptr< ParametersDefinerForTP > clone() const override
Definition: CosmicParametersDefinerForTP.h:45
edm::Event
Definition: Event.h:73
TrackingParticle::Point
math::XYZPointD Point
point in the space
Definition: TrackingParticle.h:36
CosmicParametersDefinerForTP::vertex
TrackingParticle::Point vertex(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrackingParticleRef &tpr) const override
Definition: CosmicParametersDefinerForTP.cc:131
ParametersDefinerForTP
Definition: ParametersDefinerForTP.h:19