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
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
ElectronMCTruthFinder::geantToIndex_
std::map< unsigned, unsigned > geantToIndex_
Definition:
ElectronMCTruthFinder.h:24
SimTrack.h
ElectronMCTruthFinder::fill
void fill(const std::vector< SimTrack > &theSimTracks, const std::vector< SimVertex > &theSimVertices)
Definition:
ElectronMCTruthFinder.cc:172
ElectronMCTruthFinder::ElectronMCTruthFinder
ElectronMCTruthFinder()
Definition:
ElectronMCTruthFinder.cc:5
ElectronMCTruthFinder::~ElectronMCTruthFinder
virtual ~ElectronMCTruthFinder()
Definition:
ElectronMCTruthFinder.cc:7
ElectronMCTruthFinder
Definition:
ElectronMCTruthFinder.h:13
TrackCandidateProducer_cfi.simTracks
simTracks
Definition:
TrackCandidateProducer_cfi.py:15
SimVertex.h
ElectronMCTruthFinder::thePhotonMCTruthFinder_
PhotonMCTruthFinder * thePhotonMCTruthFinder_
Definition:
ElectronMCTruthFinder.h:25
PhotonMCTruthFinder
Definition:
PhotonMCTruthFinder.h:20
SimTrackContainer.h
PhotonMCTruth.h
ElectronMCTruthFinder::find
std::vector< ElectronMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
Definition:
ElectronMCTruthFinder.cc:9
ElectronMCTruth.h
HGCalValidator_cfi.simVertices
simVertices
Definition:
HGCalValidator_cfi.py:66
SimVertexContainer.h
Generated for CMSSW Reference Manual by
1.8.14