CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PhotonMCTruthFinder.h
Go to the documentation of this file.
1 #ifndef PhotonMCTruthFinder_h
2 #define PhotonMCTruthFinder_h
7 
8 
9 #include <vector>
10 #include <map>
11 #include <iostream>
12 
21 class PhotonMCTruth;
23 public:
24 
26  virtual ~PhotonMCTruthFinder() { }
27 
28 
29  std::vector<PhotonMCTruth> find( const std::vector<SimTrack>& simTracks, const std::vector<SimVertex>& simVertices);
30 
31  void clear() {geantToIndex_.clear();}
32 
33 
34  private:
35 
36 
37 
38  void fill( const std::vector<SimTrack>& theSimTracks, const std::vector<SimVertex>& theSimVertices);
39  std::map<unsigned, unsigned> geantToIndex_;
40 
41 
42 
43 
44 };
45 
46 
47 #endif
48 
void fill(const std::vector< SimTrack > &theSimTracks, const std::vector< SimVertex > &theSimVertices)
std::map< unsigned, unsigned > geantToIndex_
std::vector< PhotonMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)