Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:14

0001 #ifndef ElectronMCTruthFinder_h
0002 #define ElectronMCTruthFinder_h
0003 
0004 #include "SimDataFormats/Track/interface/SimTrack.h"
0005 #include "SimDataFormats/Track/interface/SimTrackContainer.h"
0006 #include "SimDataFormats/Vertex/interface/SimVertex.h"
0007 #include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
0008 
0009 #include "RecoEgamma/EgammaMCTools/interface/ElectronMCTruth.h"
0010 #include "RecoEgamma/EgammaMCTools/interface/PhotonMCTruth.h"
0011 
0012 class PhotonMCTruthFinder;
0013 class ElectronMCTruthFinder {
0014 public:
0015   ElectronMCTruthFinder();
0016 
0017   virtual ~ElectronMCTruthFinder();
0018 
0019   std::vector<ElectronMCTruth> find(const std::vector<SimTrack>& simTracks, const std::vector<SimVertex>& simVertices);
0020 
0021 private:
0022   void fill(const std::vector<SimTrack>& theSimTracks, const std::vector<SimVertex>& theSimVertices);
0023 
0024   std::map<unsigned, unsigned> geantToIndex_;
0025   PhotonMCTruthFinder* thePhotonMCTruthFinder_;
0026 };
0027 
0028 #endif