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
}
reco::Candidate::Charge
int Charge
electric charge type
Definition:
Candidate.h:39
reco::GenParticle::overlap
bool overlap(const Candidate &) const
checp overlap with another candidate
Definition:
GenParticle.cc:17
GenParticle.h
reco::Candidate
Definition:
Candidate.h:32
lumiQueryAPI.q
tuple q
Definition:
lumiQueryAPI.py:1839
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
reco::GenParticle::~GenParticle
virtual ~GenParticle()
destructor
Definition:
GenParticle.cc:15
reco::GenParticle::GenParticle
GenParticle()
default constructor
Definition:
GenParticle.h:23
p4
double p4[4]
Definition:
TauolaWrapper.h:92
reco::CompositeRefCandidateT
Definition:
CompositeRefCandidateT.h:19
edm::RefVector< GenParticleCollection >
trackerHits.c
tuple c
Definition:
trackerHits.py:26
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Candidate.h:41
reco::GenParticle
Definition:
GenParticle.h:20
reco::Candidate::Point
math::XYZPoint Point
point in the space
Definition:
Candidate.h:45
benchmark_cfg.pdgId
tuple pdgId
Definition:
benchmark_cfg.py:18
ntuplemaker.status
tuple status
Definition:
ntuplemaker.py:245
reco::GenParticle::clone
GenParticle * clone() const
return a clone
Definition:
GenParticle.cc:21
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition:
Candidate.h:43
Generated for CMSSW Reference Manual by
1.8.5