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:43
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