CMS 3D CMS Logo

Functions
RPCCosmicSeedrecHitFinder.cc File Reference
#include "RecoMuon/MuonSeedGenerator/src/RPCCosmicSeedrecHitFinder.h"
#include <DataFormats/TrackingRecHit/interface/TrackingRecHit.h>
#include <DataFormats/RPCRecHit/interface/RPCRecHit.h>
#include <FWCore/Framework/interface/ESHandle.h>
#include <Geometry/RPCGeometry/interface/RPCGeometry.h>
#include <Geometry/Records/interface/MuonGeometryRecord.h>

Go to the source code of this file.

Functions

MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator find (MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator firstIter, MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator lastIter, const MuonTransientTrackingRecHit::MuonRecHitPointer &recHitRef)
 

Function Documentation

MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator find ( MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator  firstIter,
MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator  lastIter,
const MuonTransientTrackingRecHit::MuonRecHitPointer recHitRef 
)

Definition at line 16 of file RPCCosmicSeedrecHitFinder.cc.

Referenced by RPCCosmicSeedrecHitFinder::isouterLayer().

19  {
20  MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator index = lastIter;
21  for (MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator iter = firstIter; iter != lastIter; iter++)
22  if ((*iter) == recHitRef)
23  index = iter;
24  return index;
25 }