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) {
void push_back(const T &t)
LocalVector momentumAtEntry() const
The momentum of the track that produced the hit, at entry point.
DetectorHitMap theDetectorHitMap
std::set< std::pair< int, int > > strips
float timeOfFlight() const
EncodedEventId eventId() const
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)
unsigned short processType() const
tuple config
parse the configuration file
float energyLoss() const
The energy deposit in the PSimHit, in ???.
unsigned int trackId() const
Local3DPoint entryPoint() const
Entry point in the local Det frame.
RPCDigiSimLinks theRpcDigiSimLinks
unsigned int detUnitId() const