PSimHitSelector class. More...
#include <PSimHitSelector.h>
Public Types | |
typedef std::vector< PSimHit > | PSimHitCollection |
Public Member Functions | |
PSimHitSelector (edm::ParameterSet const &) | |
Constructor by pset. More... | |
virtual void | select (PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const |
Select the psimhit add them to a PSimHitCollection. More... | |
virtual | ~PSimHitSelector () |
Virtual destructor. More... | |
Protected Types | |
typedef std::map< std::string, std::vector< std::string > > | PSimHitCollectionMap |
Protected Attributes | |
PSimHitCollectionMap | pSimHitCollectionMap_ |
PSimHitSelector class.
Definition at line 15 of file PSimHitSelector.h.
typedef std::vector<PSimHit> PSimHitSelector::PSimHitCollection |
Definition at line 20 of file PSimHitSelector.h.
|
protected |
Definition at line 37 of file PSimHitSelector.h.
PSimHitSelector::PSimHitSelector | ( | edm::ParameterSet const & | config | ) |
Constructor by pset.
Definition at line 7 of file PSimHitSelector.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), i, and pSimHitCollectionMap_.
|
inlinevirtual |
|
virtual |
Select the psimhit add them to a PSimHitCollection.
Reimplemented in MuonPSimHitSelector, PixelPSimHitSelector, and TrackerPSimHitSelector.
Definition at line 26 of file PSimHitSelector.cc.
References MixCollection< T >::begin(), i, edm::Handle< T >::product(), and pSimHitCollectionMap_.
Referenced by TrackingTruthProducer::produce().
|
protected |
Definition at line 39 of file PSimHitSelector.h.
Referenced by PSimHitSelector(), TrackerPSimHitSelector::select(), PixelPSimHitSelector::select(), MuonPSimHitSelector::select(), and select().