CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/RecoTracker/TkHitPairs/src/HitPairGenerator.cc

Go to the documentation of this file.
00001 #include "RecoTracker/TkHitPairs/interface/HitPairGenerator.h"
00002 
00003 HitPairGenerator::HitPairGenerator(unsigned int nSize) : m_capacity(nSize)
00004 {
00005   thePairs.reserve(nSize);
00006 }
00007 
00008 const OrderedHitPairs & HitPairGenerator::run(
00009     const TrackingRegion& region, const edm::Event & ev, const edm::EventSetup& es)
00010 {
00011   thePairs.clear();
00012   hitPairs(region, thePairs, ev, es);
00013   return thePairs;
00014 }