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
PizeroMCTruthFinder()
Definition:
PizeroMCTruthFinder.cc:7
PizeroMCTruthFinder::theElectronMCTruthFinder_
ElectronMCTruthFinder * theElectronMCTruthFinder_
Definition:
PizeroMCTruthFinder.h:28
PizeroMCTruthFinder::geantToIndex_
std::map< unsigned, unsigned > geantToIndex_
Definition:
PizeroMCTruthFinder.h:26
TrackCandidateProducer_cfi.simTracks
simTracks
Definition:
TrackCandidateProducer_cfi.py:15
PizeroMCTruthFinder
Definition:
PizeroMCTruthFinder.h:15
ElectronMCTruth.h
PhotonMCTruth.h
SimVertex.h
PhotonMCTruthFinder
Definition:
PhotonMCTruthFinder.h:20
PizeroMCTruth.h
PizeroMCTruthFinder::thePhotonMCTruthFinder_
PhotonMCTruthFinder * thePhotonMCTruthFinder_
Definition:
PizeroMCTruthFinder.h:27
PizeroMCTruthFinder::find
std::vector< PizeroMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
Definition:
PizeroMCTruthFinder.cc:18
PizeroMCTruthFinder::fill
void fill(const std::vector< SimTrack > &theSimTracks, const std::vector< SimVertex > &theSimVertices)
Definition:
PizeroMCTruthFinder.cc:160
HGCalValidator_cfi.simVertices
simVertices
Definition:
HGCalValidator_cfi.py:57
SimTrack.h
SimTrackContainer.h
SimVertexContainer.h
PizeroMCTruthFinder::~PizeroMCTruthFinder
virtual ~PizeroMCTruthFinder()
Definition:
PizeroMCTruthFinder.cc:12
ElectronMCTruthFinder
Definition:
ElectronMCTruthFinder.h:13
Generated for CMSSW Reference Manual by
1.8.16