13 for (std::set<std::pair<int, int> >::iterator
i =
strips.begin();
i !=
strips.end();
i++) {
14 if (
i->second != -999) {
18 digis.insertDigi(
RPCDetId(rollDetId), rpcDigi);
25 if (it.bx() != -999) {
26 digis.insertDigi(
RPCDetId(rollDetId), it);
34 std::pair<unsigned int, int> digi(
strip,
bx);
35 std::pair<DetectorHitMap::iterator, DetectorHitMap::iterator> channelHitItr =
theDetectorHitMap.equal_range(digi);
37 for (DetectorHitMap::iterator hitItr = channelHitItr.first; hitItr != channelHitItr.second; ++hitItr) {
43 hit->momentumAtEntry(),
void push_back(const T &t)
DetectorHitMap theDetectorHitMap
std::set< std::pair< int, int > > strips
virtual void fillDigis(int rollDetId, RPCDigiCollection &digis)
RPCSim(const edm::ParameterSet &config)
std::set< RPCDigi > irpc_digis
virtual void addLinks(unsigned int strip, int bx)
RPCDigiSimLinks theRpcDigiSimLinks