CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoEgamma/EgammaMCTools/interface/PhotonMCTruthFinder.h

Go to the documentation of this file.
00001 #ifndef PhotonMCTruthFinder_h
00002 #define PhotonMCTruthFinder_h
00003 #include "SimDataFormats/Track/interface/SimTrack.h"
00004 #include "SimDataFormats/Track/interface/SimTrackContainer.h"
00005 #include "SimDataFormats/Vertex/interface/SimVertex.h"
00006 #include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
00007 
00008 
00009 #include <vector>
00010 #include <map>
00011 #include <iostream>
00012 
00023 class PhotonMCTruth;
00024 class PhotonMCTruthFinder {
00025 public:
00026 
00027  PhotonMCTruthFinder(); 
00028  virtual ~PhotonMCTruthFinder() {  std::cout << " PhotonMCTruthFinder DTOR" << std::endl;}
00029 
00030  
00031  std::vector<PhotonMCTruth> find( std::vector<SimTrack> simTracks, std::vector<SimVertex> simVertices);  
00032 
00033      
00034 
00035  private:
00036 
00037 
00038  
00039  void fill( std::vector<SimTrack>& theSimTracks, std::vector<SimVertex>& theSimVertices);  
00040  std::map<unsigned, unsigned> geantToIndex_;
00041 
00042 
00043  
00044 
00045 };
00046 
00047 
00048 #endif
00049