test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
11 
13 
16 {
17 
18 public:
19 
20  typedef std::vector<PSimHit> PSimHitCollection;
21 
23  /* Creates a MuonPSimHitSelector with association given by pset.
24 
25  /param[in] pset with the configuration values
26  */
29 
31  virtual ~PSimHitSelector() {}
32 
34  virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const;
35 
36 protected:
37 
38  typedef std::map<std::string, std::vector<std::string> > PSimHitCollectionMap;
39 
41 };
42 
43 #endif
PSimHitSelector(edm::ParameterSet const &)
Constructor by pset.
std::string mixLabel_
std::map< std::string, std::vector< std::string > > PSimHitCollectionMap
PSimHitSelector class.
std::vector< PSimHit > PSimHitCollection
PSimHitCollectionMap pSimHitCollectionMap_
virtual ~PSimHitSelector()
Virtual destructor.
virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const
Select the psimhit add them to a PSimHitCollection.