CMS 3D CMS Logo

PhotonMCTruthFinder.h
Go to the documentation of this file.
1 #ifndef PhotonMCTruthFinder_h
2 #define PhotonMCTruthFinder_h
7 
8 #include <vector>
9 #include <map>
10 #include <iostream>
11 
19 class PhotonMCTruth;
21 public:
23  virtual ~PhotonMCTruthFinder() {}
24 
25  std::vector<PhotonMCTruth> find(const std::vector<SimTrack>& simTracks, const std::vector<SimVertex>& simVertices);
26 
27  void clear() { geantToIndex_.clear(); }
28 
29 private:
30  void fill(const std::vector<SimTrack>& theSimTracks, const std::vector<SimVertex>& theSimVertices);
31  std::map<unsigned, unsigned> geantToIndex_;
32 };
33 
34 #endif
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)