125 std::vector<RPCHit4D> hits;
131 start = candidate.
muonRef()->combinedMuon()->recHitsBegin();
132 stop = candidate.
muonRef()->combinedMuon()->recHitsEnd();
134 start = candidate.
muonRef()->standAloneMuon()->recHitsBegin();
135 stop = candidate.
muonRef()->standAloneMuon()->recHitsEnd();
149 if ( (*recHit)->geographicalId().det() !=
DetId::Muon )
continue;
150 if (!(*recHit)->isValid())
continue;
154 typedef std::pair<RPCRecHitCollection::const_iterator, RPCRecHitCollection::const_iterator> rangeRecHits;
155 rangeRecHits recHitCollection = rpcHits->get(rollId);
160 for(recHitC = recHitCollection.first; recHitC != recHitCollection.second ; recHitC++) {
161 clusterS=(*recHitC).clusterSize();
167 if(clusterS>4)
continue;
169 LocalPoint recHitPos=(*recHit)->localPosition();
170 const RPCRoll* rollasociated = rpcGeo->roll(rollId);
174 ThisHit.
bx = ((
RPCRecHit*)(&(**recHit)))->BunchX();
175 ThisHit.
gp = RPCSurface.toGlobal(recHitPos);
176 ThisHit.
id = (
RPCDetId)(*recHit)->geographicalId().rawId();
177 hits.push_back(ThisHit);
182 bool increasing =
true;
183 bool outOfTime =
false;
184 for(std::vector<RPCHit4D>::iterator
point = hits.begin();
point < hits.end(); ++
point) {
185 outOfTime |= (
point->bx!=0);
186 increasing &= (
point->bx>=lastbx);
tuple start
Check for commandline option errors.
bool isNonnull() const
Checks for non-null.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const Plane & surface() const
The nominal surface of the GeomDet.
reco::MuonRef muonRef() const
edm::EDGetTokenT< RPCRecHitCollection > rpcRecHitsToken
void setRpc(const RPCBetaMeasurement &data)
void algo(const std::vector< susybsm::RPCHit4D > &HSCPRPCRecHits)
tuple size
Write out results.
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
TrackingRecHitCollection::base::const_iterator trackingRecHit_iterator
iterator over a vector of reference to TrackingRecHit in the same collection