src
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
); }
GenParticle
Definition:
GenParticle.py:1
GenParticle.h
reco::Candidate
Definition:
Candidate.h:27
L1BJetProducer_cff.vtx
vtx
Definition:
L1BJetProducer_cff.py:10
EgammaValidation_cff.pdgId
pdgId
Definition:
EgammaValidation_cff.py:117
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:35
reco::GenParticle::GenParticle
GenParticle()
default constructor
Definition:
GenParticle.h:24
reco::GenParticle::~GenParticle
~GenParticle() override
destructor
reco::CompositeRefCandidateT
Definition:
CompositeRefCandidateT.h:19
mps_update.status
status
Definition:
mps_update.py:68
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:47
submitPVResolutionJobs.q
q
Definition:
submitPVResolutionJobs.py:83
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