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);