Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoEgamma
EgammaMCTools
interface
PhotonMCTruthFinder.h
Go to the documentation of this file.
1
#ifndef PhotonMCTruthFinder_h
2
#define PhotonMCTruthFinder_h
3
#include "
SimDataFormats/Track/interface/SimTrack.h
"
4
#include "
SimDataFormats/Track/interface/SimTrackContainer.h
"
5
#include "
SimDataFormats/Vertex/interface/SimVertex.h
"
6
#include "
SimDataFormats/Vertex/interface/SimVertexContainer.h
"
7
8
9
#include <vector>
10
#include <map>
11
#include <iostream>
12
23
class
PhotonMCTruth
;
24
class
PhotonMCTruthFinder
{
25
public
:
26
27
PhotonMCTruthFinder
();
28
virtual
~PhotonMCTruthFinder
() {
std::cout
<<
" PhotonMCTruthFinder DTOR"
<< std::endl;}
29
30
31
std::vector<PhotonMCTruth>
find
( std::vector<SimTrack> simTracks, std::vector<SimVertex> simVertices);
32
33
34
35
private
:
36
37
38
39
void
fill
( std::vector<SimTrack>& theSimTracks, std::vector<SimVertex>& theSimVertices);
40
std::map<unsigned, unsigned>
geantToIndex_
;
41
42
43
44
45
};
46
47
48
#endif
49
PhotonMCTruthFinder::PhotonMCTruthFinder
PhotonMCTruthFinder()
Definition:
PhotonMCTruthFinder.cc:14
SimTrack.h
PhotonMCTruthFinder::fill
void fill(std::vector< SimTrack > &theSimTracks, std::vector< SimVertex > &theSimVertices)
Definition:
PhotonMCTruthFinder.cc:413
PhotonMCTruth
Definition:
PhotonMCTruth.h:24
PhotonMCTruthFinder::geantToIndex_
std::map< unsigned, unsigned > geantToIndex_
Definition:
PhotonMCTruthFinder.h:40
SimVertex.h
PhotonMCTruthFinder::find
std::vector< PhotonMCTruth > find(std::vector< SimTrack > simTracks, std::vector< SimVertex > simVertices)
Definition:
PhotonMCTruthFinder.cc:20
PhotonMCTruthFinder
Definition:
PhotonMCTruthFinder.h:24
SimTrackContainer.h
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:121
PhotonMCTruthFinder::~PhotonMCTruthFinder
virtual ~PhotonMCTruthFinder()
Definition:
PhotonMCTruthFinder.h:28
SimVertexContainer.h
Generated for CMSSW Reference Manual by
1.8.5