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
reco::GenParticle::overlap
bool overlap(const Candidate &) const override
checp overlap with another candidate
GenParticle
Definition:
GenParticle.py:1
GenParticle.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
reco::Candidate
Definition:
Candidate.h:28
reco::GenParticle::clone
GenParticle * clone() const override
return a clone
mps_update.status
status
Definition:
mps_update.py:68
reco::GenParticle::GenParticle
GenParticle()
default constructor
Definition:
GenParticle.h:24
reco::GenParticle::~GenParticle
~GenParticle() override
destructor
p4
double p4[4]
Definition:
TauolaWrapper.h:92
reco::CompositeRefCandidateT
Definition:
CompositeRefCandidateT.h:19
Point
math::XYZPoint Point
Definition:
TrackerDpgAnalysis.cc:107
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition:
HLTMuonMatchAndPlot.h:52
common_cff.pdgId
pdgId
Definition:
common_cff.py:54
edm::RefVector< GenParticleCollection >
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
badGlobalMuonTaggersAOD_cff.vtx
vtx
Definition:
badGlobalMuonTaggersAOD_cff.py:5
lumiQueryAPI.q
q
Definition:
lumiQueryAPI.py:1842
Generated for CMSSW Reference Manual by
1.8.11