CMS 3D CMS Logo

Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoMuon/MuonSeedGenerator/src/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 17 of file RPCCosmicSeedrecHitFinder.cc.

References getHLTprescales::index.

                                                                                                                                                                                                                                                                                {

    MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator index = lastIter;
    for(MuonTransientTrackingRecHit::MuonRecHitContainer::const_iterator iter = firstIter; iter != lastIter; iter++)
        if((*iter) == recHitRef)
            index = iter;
    return index;
}