8 LogTrace(
"MuonCSCDigis") <<
"getting CrossingFrame<PSimHit> collection ";
16 hitItr !=
simHits.end(); ++hitItr)
18 theMap[hitItr->detUnitId()].push_back(*hitItr);
24 std::map<int, edm::PSimHitContainer>::const_iterator mapItr
28 return mapItr->second;
40 result.reserve(
theMap.size());
41 for(std::map<int, edm::PSimHitContainer>::const_iterator mapItr =
theMap.begin(),
46 result.push_back(mapItr->first);
edm::PSimHitContainer theEmptyContainer
void fill(const edm::Event &e)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const edm::PSimHitContainer & hits(int detId) const
edm::EDGetTokenT< CrossingFrame< PSimHit > > sh_token
std::vector< int > detsWithHits() const
std::map< int, edm::PSimHitContainer > theMap
T const * product() const
std::vector< PSimHit > PSimHitContainer