CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/SimGeneral/TrackingAnalysis/interface/PSimHitSelector.h

Go to the documentation of this file.
00001 #ifndef TrackingAnalysis_PSimHitSelector_h
00002 #define TrackingAnalysis_PSimHitSelector_h
00003 
00004 #include <map>
00005 #include <string>
00006 #include <vector>
00007 
00008 #include "FWCore/Framework/interface/Event.h"
00009 #include "FWCore/Framework/interface/EventSetup.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 
00012 #include "SimDataFormats/TrackingHit/interface/PSimHit.h"
00013 
00015 class PSimHitSelector
00016 {
00017 
00018 public:
00019 
00020     typedef std::vector<PSimHit> PSimHitCollection;
00021 
00023     /* Creates a MuonPSimHitSelector with association given by pset.
00024 
00025        /param[in] pset with the configuration values
00026     */
00027     PSimHitSelector(edm::ParameterSet const &);
00028 
00030     virtual ~PSimHitSelector() {}
00031 
00033     virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const;
00034 
00035 protected:
00036 
00037     typedef std::map<std::string, std::vector<std::string> > PSimHitCollectionMap;
00038 
00039     PSimHitCollectionMap pSimHitCollectionMap_;
00040 };
00041 
00042 #endif