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
extraflags_cff.vtx
vtx
Definition:
extraflags_cff.py:18
GenParticle
Definition:
GenParticle.py:1
GenParticle.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
reco::Candidate
Definition:
Candidate.h:28
reco::GenParticle::clone
GenParticle * clone() const override
return a clone
mps_update.status
status
Definition:
mps_update.py:69
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
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:44
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition:
DMRtrends.cc:55
lumiQueryAPI.q
q
Definition:
lumiQueryAPI.py:1843
Generated for CMSSW Reference Manual by
1.8.11