Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
15
public
:
16
17
ElectronMCTruthFinder
();
18
19
virtual
~ElectronMCTruthFinder
();
20
21
22
std::vector<ElectronMCTruth>
find
(std::vector<SimTrack> simTracks, std::vector<SimVertex> simVertices);
23
24
private
:
25
26
void
fill
(std::vector<SimTrack>& theSimTracks, std::vector<SimVertex>& theSimVertices);
27
28
std::map<unsigned, unsigned>
geantToIndex_
;
29
PhotonMCTruthFinder
*
thePhotonMCTruthFinder_
;
30
};
31
32
#endif
ElectronMCTruthFinder::geantToIndex_
std::map< unsigned, unsigned > geantToIndex_
Definition:
ElectronMCTruthFinder.h:28
SimTrack.h
ElectronMCTruthFinder::fill
void fill(std::vector< SimTrack > &theSimTracks, std::vector< SimVertex > &theSimVertices)
Definition:
ElectronMCTruthFinder.cc:232
ElectronMCTruthFinder::ElectronMCTruthFinder
ElectronMCTruthFinder()
Definition:
ElectronMCTruthFinder.cc:6
ElectronMCTruthFinder::~ElectronMCTruthFinder
virtual ~ElectronMCTruthFinder()
Definition:
ElectronMCTruthFinder.cc:11
ElectronMCTruthFinder
Definition:
ElectronMCTruthFinder.h:13
SimVertex.h
ElectronMCTruthFinder::find
std::vector< ElectronMCTruth > find(std::vector< SimTrack > simTracks, std::vector< SimVertex > simVertices)
Definition:
ElectronMCTruthFinder.cc:17
ElectronMCTruthFinder::thePhotonMCTruthFinder_
PhotonMCTruthFinder * thePhotonMCTruthFinder_
Definition:
ElectronMCTruthFinder.h:29
PhotonMCTruthFinder
Definition:
PhotonMCTruthFinder.h:24
SimTrackContainer.h
PhotonMCTruth.h
ElectronMCTruth.h
SimVertexContainer.h
Generated for CMSSW Reference Manual by
1.8.5