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 }