CMS 3D CMS Logo

PSimHitSelector.h
Go to the documentation of this file.
1 #ifndef TrackingAnalysis_PSimHitSelector_h
2 #define TrackingAnalysis_PSimHitSelector_h
3 
4 #include <map>
5 #include <string>
6 #include <vector>
7 
12 
14 
17 public:
18  typedef std::vector<PSimHit> PSimHitCollection;
19 
21  /* Creates a MuonPSimHitSelector with association given by pset.
22 
23  /param[in] pset with the configuration values
24  */
27 
29  virtual ~PSimHitSelector() = default;
30 
32  virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const;
33 
34 protected:
35  typedef std::map<std::string, std::vector<std::string>> PSimHitCollectionMap;
36 
38 };
39 
40 #endif
virtual ~PSimHitSelector()=default
Virtual destructor.
std::string mixLabel_
PSimHitSelector(edm::ParameterSet const &, edm::ConsumesCollector &)
Constructor by pset.
std::map< std::string, std::vector< std::string > > PSimHitCollectionMap
PSimHitSelector class.
std::vector< PSimHit > PSimHitCollection
PSimHitCollectionMap pSimHitCollectionMap_
virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const
Select the psimhit add them to a PSimHitCollection.