CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenParticle.cc
Go to the documentation of this file.
2 #include <iostream>
3 using namespace reco;
4 
6  const Point & vtx, int pdgId, int status, bool integerCharge ) :
7  CompositeRefCandidateT<GenParticleRefVector>( q, p4, vtx, pdgId, status, integerCharge ) {
8 }
9 
11  const Point & vtx, int pdgId, int status, bool integerCharge ) :
12  CompositeRefCandidateT<GenParticleRefVector>( q, p4, vtx, pdgId, status, integerCharge ) {
13 }
14 
16 
17 bool GenParticle::overlap( const Candidate & c ) const {
18  return & c == this;
19 }
20 
22  return new GenParticle( * this );
23 }
int Charge
electric charge type
Definition: Candidate.h:39
bool overlap(const Candidate &) const
checp overlap with another candidate
Definition: GenParticle.cc:17
virtual ~GenParticle()
destructor
Definition: GenParticle.cc:15
GenParticle()
default constructor
Definition: GenParticle.h:23
double p4[4]
Definition: TauolaWrapper.h:92
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:41
math::XYZPoint Point
point in the space
Definition: Candidate.h:45
tuple status
Definition: ntuplemaker.py:245
GenParticle * clone() const
return a clone
Definition: GenParticle.cc:21
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:43