File indexing completed on 2024-04-06 12:04:20
0001 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
0002 #include <iostream>
0003 using namespace reco;
0004
0005 GenParticle::GenParticle(Charge q, const LorentzVector& p4, const Point& vtx, int pdgId, int status, bool integerCharge)
0006 : CompositeRefCandidateT<GenParticleRefVector>(q, p4, vtx, pdgId, status, integerCharge) {}
0007
0008 GenParticle::GenParticle(
0009 Charge q, const PolarLorentzVector& p4, const Point& vtx, int pdgId, int status, bool integerCharge)
0010 : CompositeRefCandidateT<GenParticleRefVector>(q, p4, vtx, pdgId, status, integerCharge) {}
0011
0012 GenParticle::~GenParticle() {}
0013
0014 bool GenParticle::overlap(const Candidate& c) const { return &c == this; }
0015
0016 GenParticle* GenParticle::clone() const { return new GenParticle(*this); }