src
RecoEgamma
EgammaMCTools
interface
PizeroMCTruthFinder.h
Go to the documentation of this file.
1
#ifndef PizeroMCTruthFinder_h
2
#define PizeroMCTruthFinder_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/PizeroMCTruth.h
"
10
#include "
RecoEgamma/EgammaMCTools/interface/PhotonMCTruth.h
"
11
#include "
RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h
"
12
13
class
PhotonMCTruthFinder
;
14
class
ElectronMCTruthFinder
;
15
class
PizeroMCTruthFinder
{
16
public
:
17
PizeroMCTruthFinder
();
18
19
virtual
~PizeroMCTruthFinder
();
20
21
std::vector<PizeroMCTruth>
find
(
const
std::vector<SimTrack>&
simTracks
,
const
std::vector<SimVertex>&
simVertices
);
22
23
private
:
24
void
fill
(
const
std::vector<SimTrack>& theSimTracks,
const
std::vector<SimVertex>& theSimVertices);
25
26
std::map<unsigned, unsigned>
geantToIndex_
;
27
PhotonMCTruthFinder
*
thePhotonMCTruthFinder_
;
28
ElectronMCTruthFinder
*
theElectronMCTruthFinder_
;
29
};
30
31
#endif
PizeroMCTruthFinder::~PizeroMCTruthFinder
virtual ~PizeroMCTruthFinder()
Definition:
PizeroMCTruthFinder.cc:12
SimTrack.h
PizeroMCTruthFinder::thePhotonMCTruthFinder_
PhotonMCTruthFinder * thePhotonMCTruthFinder_
Definition:
PizeroMCTruthFinder.h:27
PizeroMCTruthFinder::theElectronMCTruthFinder_
ElectronMCTruthFinder * theElectronMCTruthFinder_
Definition:
PizeroMCTruthFinder.h:28
ElectronMCTruthFinder
Definition:
ElectronMCTruthFinder.h:13
TrackCandidateProducer_cfi.simTracks
simTracks
Definition:
TrackCandidateProducer_cfi.py:15
PizeroMCTruthFinder::geantToIndex_
std::map< unsigned, unsigned > geantToIndex_
Definition:
PizeroMCTruthFinder.h:26
SimVertex.h
PizeroMCTruthFinder::find
std::vector< PizeroMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
Definition:
PizeroMCTruthFinder.cc:18
PizeroMCTruthFinder::PizeroMCTruthFinder
PizeroMCTruthFinder()
Definition:
PizeroMCTruthFinder.cc:7
PizeroMCTruthFinder
Definition:
PizeroMCTruthFinder.h:15
PhotonMCTruthFinder
Definition:
PhotonMCTruthFinder.h:20
SimTrackContainer.h
PizeroMCTruth.h
PhotonMCTruth.h
PizeroMCTruthFinder::fill
void fill(const std::vector< SimTrack > &theSimTracks, const std::vector< SimVertex > &theSimVertices)
Definition:
PizeroMCTruthFinder.cc:160
ElectronMCTruth.h
HGCalValidator_cfi.simVertices
simVertices
Definition:
HGCalValidator_cfi.py:66
SimVertexContainer.h
Generated for CMSSW Reference Manual by
1.8.14