CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/RecoPixelVertexing/PixelTriplets/src/HitTripletGenerator.cc

Go to the documentation of this file.
00001 #include "RecoPixelVertexing/PixelTriplets/interface/HitTripletGenerator.h"
00002 
00003 HitTripletGenerator::HitTripletGenerator(unsigned int nSize)
00004 {
00005   theTriplets.reserve(nSize);
00006 }
00007 
00008 const OrderedHitTriplets & HitTripletGenerator::run(
00009     const TrackingRegion& region, const edm::Event & ev, const edm::EventSetup& es)
00010 {
00011   theTriplets.clear();
00012   hitTriplets(region, theTriplets, ev, es);
00013   return theTriplets;
00014 }
00015 
00016 void HitTripletGenerator::clear() 
00017 {
00018   theTriplets.clear();
00019 }
00020