Main Page
Namespaces
Classes
Package Documentation
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
}
GenParticle.GenParticle
GenParticle
Definition:
GenParticle.py:18
GenParticle
Definition:
GenParticle.py:1
GenParticle.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:52
reco::Candidate
Definition:
Candidate.h:28
mps_update.status
status
Definition:
mps_update.py:57
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
cosmictrackingParticleSelector_cfi.pdgId
pdgId
Definition:
cosmictrackingParticleSelector_cfi.py:6
edm::RefVector< GenParticleCollection >
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
lumiQueryAPI.q
q
Definition:
lumiQueryAPI.py:1839
reco::GenParticle::~GenParticle
virtual ~GenParticle()
destructor
Generated for CMSSW Reference Manual by
1.8.11