#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 14 of file PSimHitMap.h.
References detsWithHits(), MillePedeFileConverter_cfg::e, fill(), hits(), and sh_token.
std::vector< int > PSimHitMap::detsWithHits | ( | ) | const |
Definition at line 37 of file PSimHitMap.cc.
References mps_fire::result, and theMap.
Referenced by CSCRecHit2DValidation::analyze(), CSCSegmentValidation::fillLayerHitsPerChamber(), and PSimHitMap().
void PSimHitMap::fill | ( | const edm::Event & | e | ) |
Definition at line 4 of file PSimHitMap.cc.
References edm::Event::getByToken(), LogTrace, edm::Handle< T >::product(), sh_token, trackerHits::simHits, and theMap.
Referenced by CSCRecHitValidation::analyze(), CSCDigiValidation::analyze(), and PSimHitMap().
const edm::PSimHitContainer & PSimHitMap::hits | ( | int | detId | ) | const |
Definition at line 22 of file PSimHitMap.cc.
References theEmptyContainer, and theMap.
Referenced by CSCRecHit2DValidation::analyze(), CSCWireDigiValidation::analyze(), CSCSegmentValidation::fillLayerHitsPerChamber(), CSCSegmentValidation::keyHit(), and PSimHitMap().
|
private |
Definition at line 30 of file PSimHitMap.h.
Referenced by fill(), and PSimHitMap().
|
private |
Definition at line 28 of file PSimHitMap.h.
Referenced by hits().
|
private |
Definition at line 27 of file PSimHitMap.h.
Referenced by detsWithHits(), fill(), and hits().