CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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); }
const edm::EventSetup & c
list status
Definition: mps_update.py:107
GenParticle()
default constructor
Definition: GenParticle.h:24
~GenParticle() override
destructor
math::XYZTLorentzVector LorentzVector
GenParticle * clone() const override
return a clone
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
bool overlap(const Candidate &) const override
checp overlap with another candidate