Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:39

0001 
0002 #include "TrackingTools/TrajectoryCleaning/interface/TrajectoryCleaner.h"
0003 #include <cassert>
0004 
0005 void TrajectoryCleaner::clean(TempTrajectoryContainer&) const {
0006   edm::LogError("TrajectoryCleaner") << "not implemented for TempTrajectory";
0007   assert(false);
0008 }
0009 
0010 void TrajectoryCleaner::clean(TrajectoryContainer& tc) const {
0011   TrajectoryPointerContainer thePointerContainer;
0012   thePointerContainer.reserve(tc.size());
0013   for (TrajectoryCleaner::TrajectoryIterator it = tc.begin(); it != tc.end(); it++) {
0014     thePointerContainer.push_back(&(*it));
0015   }
0016 
0017   clean(thePointerContainer);
0018 }
0019 
0020 #include "FWCore/Utilities/interface/typelookup.h"
0021 TYPELOOKUP_DATA_REG(TrajectoryCleaner);