CMS 3D CMS Logo

GenParticle.cc
Go to the documentation of this file.
2 #include <iostream>
3 using namespace reco;
4 
5 GenParticle::GenParticle(Charge q, const LorentzVector& p4, const Point& vtx, int pdgId, int status, bool integerCharge)
6  : CompositeRefCandidateT<GenParticleRefVector>(q, p4, vtx, pdgId, status, integerCharge) {}
7 
9  Charge q, const PolarLorentzVector& p4, const Point& vtx, int pdgId, int status, bool integerCharge)
10  : CompositeRefCandidateT<GenParticleRefVector>(q, p4, vtx, pdgId, status, integerCharge) {}
11 
13 
14 bool GenParticle::overlap(const Candidate& c) const { return &c == this; }
15 
16 GenParticle* GenParticle::clone() const { return new GenParticle(*this); }
GenParticle()
default constructor
Definition: GenParticle.h:24
~GenParticle() override
destructor
math::XYZTLorentzVector LorentzVector
GenParticle * clone() const override
return a clone
fixed size matrix
Structure Point Contains parameters of Gaussian fits to DMRs.
bool overlap(const Candidate &) const override
checp overlap with another candidate