#include <PSimHitMap.h>
Public Member Functions | |
std::vector< int > | detsWithHits () const |
void | fill (const edm::Event &e) |
const edm::PSimHitContainer & | hits (int detId) const |
PSimHitMap (const edm::InputTag &iT, edm::ConsumesCollector &&iC) | |
Private Attributes | |
edm::EDGetTokenT< CrossingFrame< PSimHit > > | sh_token |
edm::PSimHitContainer | theEmptyContainer |
std::map< int, edm::PSimHitContainer > | theMap |
Definition at line 11 of file PSimHitMap.h.
|
inline |
Definition at line 13 of file PSimHitMap.h.
References sh_token.
std::vector< int > PSimHitMap::detsWithHits | ( | ) | const |
Definition at line 29 of file PSimHitMap.cc.
References mps_fire::result, and theMap.
Referenced by CSCRecHit2DValidation::analyze(), and CSCSegmentValidation::fillLayerHitsPerChamber().
void PSimHitMap::fill | ( | const edm::Event & | e | ) |
Definition at line 5 of file PSimHitMap.cc.
References MillePedeFileConverter_cfg::e, LogTrace, edm::Handle< T >::product(), sh_token, FastTrackerRecHitCombiner_cfi::simHits, and theMap.
Referenced by CSCRecHitValidation::analyze(), and CSCDigiValidation::analyze().
const edm::PSimHitContainer & PSimHitMap::hits | ( | int | detId | ) | const |
Definition at line 20 of file PSimHitMap.cc.
References theEmptyContainer, and theMap.
Referenced by CSCRecHit2DValidation::analyze(), CSCWireDigiValidation::analyze(), CSCStripDigiValidation::analyze(), CSCSegmentValidation::fillLayerHitsPerChamber(), and CSCSegmentValidation::keyHit().
|
private |
Definition at line 27 of file PSimHitMap.h.
Referenced by fill(), and PSimHitMap().
|
private |
Definition at line 25 of file PSimHitMap.h.
Referenced by hits().
|
private |
Definition at line 24 of file PSimHitMap.h.
Referenced by detsWithHits(), fill(), and hits().