Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
RecoEgamma
EgammaMCTools
interface
ElectronMCTruthFinder.h
Go to the documentation of this file.
1
#ifndef ElectronMCTruthFinder_h
2
#define ElectronMCTruthFinder_h
3
4
#include "
SimDataFormats/Track/interface/SimTrack.h
"
5
#include "
SimDataFormats/Track/interface/SimTrackContainer.h
"
6
#include "
SimDataFormats/Vertex/interface/SimVertex.h
"
7
#include "
SimDataFormats/Vertex/interface/SimVertexContainer.h
"
8
9
#include "
RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h
"
10
#include "
RecoEgamma/EgammaMCTools/interface/PhotonMCTruth.h
"
11
12
class
PhotonMCTruthFinder
;
13
class
ElectronMCTruthFinder
{
14
public
:
15
ElectronMCTruthFinder
();
16
17
virtual
~ElectronMCTruthFinder
();
18
19
std::vector<ElectronMCTruth>
find
(
const
std::vector<SimTrack>&
simTracks
,
const
std::vector<SimVertex>&
simVertices
);
20
21
private
:
22
void
fill
(
const
std::vector<SimTrack>& theSimTracks,
const
std::vector<SimVertex>& theSimVertices);
23
24
std::map<unsigned, unsigned>
geantToIndex_
;
25
PhotonMCTruthFinder
*
thePhotonMCTruthFinder_
;
26
};
27
28
#endif
TrackCandidateProducer_cfi.simTracks
simTracks
Definition:
TrackCandidateProducer_cfi.py:15
ElectronMCTruthFinder::fill
void fill(const std::vector< SimTrack > &theSimTracks, const std::vector< SimVertex > &theSimVertices)
Definition:
ElectronMCTruthFinder.cc:195
ElectronMCTruthFinder::~ElectronMCTruthFinder
virtual ~ElectronMCTruthFinder()
Definition:
ElectronMCTruthFinder.cc:7
ElectronMCTruth.h
PhotonMCTruth.h
SimVertex.h
PhotonMCTruthFinder
Definition:
PhotonMCTruthFinder.h:20
ElectronMCTruthFinder::find
std::vector< ElectronMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
Definition:
ElectronMCTruthFinder.cc:9
ElectronMCTruthFinder::thePhotonMCTruthFinder_
PhotonMCTruthFinder * thePhotonMCTruthFinder_
Definition:
ElectronMCTruthFinder.h:25
HGCalValidator_cfi.simVertices
simVertices
Definition:
HGCalValidator_cfi.py:57
SimTrack.h
ElectronMCTruthFinder::ElectronMCTruthFinder
ElectronMCTruthFinder()
Definition:
ElectronMCTruthFinder.cc:5
ElectronMCTruthFinder::geantToIndex_
std::map< unsigned, unsigned > geantToIndex_
Definition:
ElectronMCTruthFinder.h:24
SimTrackContainer.h
SimVertexContainer.h
ElectronMCTruthFinder
Definition:
ElectronMCTruthFinder.h:13
Generated for CMSSW Reference Manual by
1.8.16