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
); }
reco::GenParticle::clone
GenParticle * clone() const override
return a clone
mps_update.status
status
Definition:
mps_update.py:69
edm::RefVector< GenParticleCollection >
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
GenParticle
Definition:
GenParticle.py:1
GenParticle.h
reco::GenParticle::~GenParticle
~GenParticle() override
destructor
reco::CompositeRefCandidateT
Definition:
CompositeRefCandidateT.h:19
reco::GenParticle::overlap
bool overlap(const Candidate &) const override
checp overlap with another candidate
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
DMRtrends.cc:57
p4
double p4[4]
Definition:
TauolaWrapper.h:92
EgammaValidation_cff.pdgId
pdgId
Definition:
EgammaValidation_cff.py:118
submitPVResolutionJobs.q
q
Definition:
submitPVResolutionJobs.py:84
reco::Candidate
Definition:
Candidate.h:27
extraflags_cff.vtx
vtx
Definition:
extraflags_cff.py:18
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:49
PixelTestBeamValidation_cfi.Charge
Charge
Definition:
PixelTestBeamValidation_cfi.py:91
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:46
reco::GenParticle::GenParticle
GenParticle()
default constructor
Definition:
GenParticle.h:24
Generated for CMSSW Reference Manual by
1.8.16