Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
,
6
const
Point
& vtx,
int
pdgId
,
int
status
,
bool
integerCharge ) :
7
CompositeRefCandidateT
<
GenParticleRefVector
>( q, p4, vtx, pdgId, status, integerCharge ) {
8
}
9
10
GenParticle::GenParticle
( Charge
q
,
const
PolarLorentzVector &
p4
,
11
const
Point
& vtx,
int
pdgId
,
int
status
,
bool
integerCharge ) :
12
CompositeRefCandidateT
<
GenParticleRefVector
>( q, p4, vtx, pdgId, status, integerCharge ) {
13
}
14
15
GenParticle::~GenParticle
() { }
16
17
bool
GenParticle::overlap
(
const
Candidate
&
c
)
const
{
18
return
& c ==
this
;
19
}
20
21
GenParticle
*
GenParticle::clone
()
const
{
22
return
new
GenParticle
( *
this
);
23
}
SingleMuPt40Fwdv2_cfi_GEN_SIM.pdgId
tuple pdgId
Definition:
SingleMuPt40Fwdv2_cfi_GEN_SIM.py:85
GenParticle.h
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:51
reco::Candidate
Definition:
Candidate.h:28
lumiQueryAPI.q
tuple q
Definition:
lumiQueryAPI.py:1839
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
EnergyCorrector.c
tuple c
Definition:
EnergyCorrector.py:43
reco::GenParticle::GenParticle
GenParticle()
default constructor
Definition:
GenParticle.h:24
reco::GenParticle::overlap
bool overlap(const Candidate &) const
checp overlap with another candidate
p4
double p4[4]
Definition:
TauolaWrapper.h:92
reco::CompositeRefCandidateT
Definition:
CompositeRefCandidateT.h:19
Point
math::XYZPoint Point
Definition:
TrackerDpgAnalysis.cc:107
reco::GenParticle::clone
GenParticle * clone() const
return a clone
edm::RefVector< GenParticleCollection >
reco::GenParticle
Definition:
GenParticle.h:21
reco::GenParticle::~GenParticle
virtual ~GenParticle()
destructor
mps_update.status
tuple status
Definition:
mps_update.py:57
Generated for CMSSW Reference Manual by
1.8.5