DataFormats
HepMCCandidate
src
GenParticle.cc
Go to the documentation of this file.
1
#include "
DataFormats/HepMCCandidate/interface/GenParticle.h
"
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
8
GenParticle::GenParticle
(
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
12
GenParticle::~GenParticle
() {}
13
14
bool
GenParticle::overlap
(
const
Candidate
&
c
)
const
{
return
&
c
==
this
; }
15
16
GenParticle
*
GenParticle::clone
()
const
{
return
new
GenParticle
(*
this
); }
extraflags_cff.vtx
vtx
Definition:
extraflags_cff.py:19
GenParticle
Definition:
GenParticle.py:1
GenParticle.h
reco::Candidate
Definition:
Candidate.h:27
EgammaValidation_cff.pdgId
pdgId
Definition:
EgammaValidation_cff.py:117
reco::GenParticle::GenParticle
GenParticle()
default constructor
Definition:
GenParticle.h:24
reco::GenParticle::~GenParticle
~GenParticle() override
destructor
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
reco::CompositeRefCandidateT
Definition:
CompositeRefCandidateT.h:19
mps_update.status
status
Definition:
mps_update.py:68
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:49
submitPVResolutionJobs.q
q
Definition:
submitPVResolutionJobs.py:84
PixelTestBeamValidation_cfi.Charge
Charge
Definition:
PixelTestBeamValidation_cfi.py:99
edm::RefVector< GenParticleCollection >
reco::GenParticle::clone
GenParticle * clone() const override
return a clone
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
PrepareDMRTrends.h:54
reco::GenParticle::overlap
bool overlap(const Candidate &) const override
checp overlap with another candidate
Generated for CMSSW Reference Manual by
1.8.14