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
PhotonMCTruthFinder.h
Go to the documentation of this file.
1
#ifndef PhotonMCTruthFinder_h
2
#define PhotonMCTruthFinder_h
3
#include "
SimDataFormats/Track/interface/SimTrack.h
"
4
#include "
SimDataFormats/Track/interface/SimTrackContainer.h
"
5
#include "
SimDataFormats/Vertex/interface/SimVertex.h
"
6
#include "
SimDataFormats/Vertex/interface/SimVertexContainer.h
"
7
8
#include <vector>
9
#include <map>
10
#include <iostream>
11
19
class
PhotonMCTruth
;
20
class
PhotonMCTruthFinder
{
21
public
:
22
PhotonMCTruthFinder
();
23
virtual
~PhotonMCTruthFinder
() {}
24
25
std::vector<PhotonMCTruth>
find
(
const
std::vector<SimTrack>&
simTracks
,
const
std::vector<SimVertex>&
simVertices
);
26
27
void
clear
() {
geantToIndex_
.clear(); }
28
29
private
:
30
void
fill
(
const
std::vector<SimTrack>& theSimTracks,
const
std::vector<SimVertex>& theSimVertices);
31
std::map<unsigned, unsigned>
geantToIndex_
;
32
};
33
34
#endif
PhotonMCTruthFinder::PhotonMCTruthFinder
PhotonMCTruthFinder()
Definition:
PhotonMCTruthFinder.cc:13
TrackCandidateProducer_cfi.simTracks
simTracks
Definition:
TrackCandidateProducer_cfi.py:15
PhotonMCTruthFinder::find
std::vector< PhotonMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
Definition:
PhotonMCTruthFinder.cc:17
PhotonMCTruthFinder::clear
void clear()
Definition:
PhotonMCTruthFinder.h:27
PhotonMCTruthFinder::~PhotonMCTruthFinder
virtual ~PhotonMCTruthFinder()
Definition:
PhotonMCTruthFinder.h:23
SimVertex.h
PhotonMCTruth
Definition:
PhotonMCTruth.h:20
PhotonMCTruthFinder
Definition:
PhotonMCTruthFinder.h:20
PhotonMCTruthFinder::fill
void fill(const std::vector< SimTrack > &theSimTracks, const std::vector< SimVertex > &theSimVertices)
Definition:
PhotonMCTruthFinder.cc:381
HGCalValidator_cfi.simVertices
simVertices
Definition:
HGCalValidator_cfi.py:57
SimTrack.h
SimTrackContainer.h
SimVertexContainer.h
PhotonMCTruthFinder::geantToIndex_
std::map< unsigned, unsigned > geantToIndex_
Definition:
PhotonMCTruthFinder.h:31
Generated for CMSSW Reference Manual by
1.8.16