CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/TrackingTools/TrajectoryCleaning/src/TrajectoryCleaner.cc

Go to the documentation of this file.
00001 
00002 #include "TrackingTools/TrajectoryCleaning/interface/TrajectoryCleaner.h"
00003 
00004 #include "FWCore/Utilities/interface/typelookup.h"
00005 
00006 void TrajectoryCleaner::clean( TrajectoryContainer& tc) const
00007 {
00008   TrajectoryPointerContainer thePointerContainer;
00009   thePointerContainer.reserve(tc.size());
00010   for (TrajectoryCleaner::TrajectoryIterator it = tc.begin(); it != tc.end(); it++) {
00011     thePointerContainer.push_back( &(*it) );
00012   }
00013 
00014   clean(thePointerContainer);
00015 }
00016 
00017 TYPELOOKUP_DATA_REG(TrajectoryCleaner);