Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
); }
c
const edm::EventSetup & c
Definition:
SiStripLAProfileBooker.cc:66
PixelTestBeamValidation_cfi.Charge
tuple Charge
Definition:
PixelTestBeamValidation_cfi.py:99
GenParticle.h
reco::Candidate
Definition:
Candidate.h:27
mps_update.status
list status
Definition:
mps_update.py:107
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:111
reco::GenParticle::GenParticle
GenParticle()
default constructor
Definition:
GenParticle.h:24
reco::GenParticle::~GenParticle
~GenParticle() override
destructor
submitPVResolutionJobs.q
tuple q
Definition:
submitPVResolutionJobs.py:84
reco::CompositeRefCandidateT
Definition:
CompositeRefCandidateT.h:19
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:49
edm::RefVector< GenParticleCollection >
reco::GenParticle::clone
GenParticle * clone() const override
return a clone
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
DMRtrends.cc:57
reco::GenParticle
Definition:
GenParticle.h:21
reco::GenParticle::overlap
bool overlap(const Candidate &) const override
checp overlap with another candidate
Generated for CMSSW Reference Manual by
1.8.5