1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include <iostream>
using namespace reco;
GenParticle::GenParticle(Charge q, const LorentzVector& p4, const Point& vtx, int pdgId, int status, bool integerCharge)
: CompositeRefCandidateT<GenParticleRefVector>(q, p4, vtx, pdgId, status, integerCharge) {}
GenParticle::GenParticle(
Charge q, const PolarLorentzVector& p4, const Point& vtx, int pdgId, int status, bool integerCharge)
: CompositeRefCandidateT<GenParticleRefVector>(q, p4, vtx, pdgId, status, integerCharge) {}
GenParticle::~GenParticle() {}
bool GenParticle::overlap(const Candidate& c) const { return &c == this; }
GenParticle* GenParticle::clone() const { return new GenParticle(*this); }
|