CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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/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 15 of file RPCCosmicSeedrecHitFinder.cc.

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