CMS 3D CMS Logo

TrajectoryCleaner.cc
Go to the documentation of this file.
1 
3 #include <cassert>
4 
6  edm::LogError("TrajectoryCleaner") << "not implemented for TempTrajectory";
7  assert(false);
8 }
9 
11  TrajectoryPointerContainer thePointerContainer;
12  thePointerContainer.reserve(tc.size());
13  for (TrajectoryCleaner::TrajectoryIterator it = tc.begin(); it != tc.end(); it++) {
14  thePointerContainer.push_back(&(*it));
15  }
16 
17  clean(thePointerContainer);
18 }
19 
std::vector< Trajectory > TrajectoryContainer
std::vector< TempTrajectory > TempTrajectoryContainer
virtual void clean(TempTrajectoryContainer &) const
Log< level::Error, false > LogError
assert(be >=bs)
std::vector< Trajectory * > TrajectoryPointerContainer
TrajectoryContainer::iterator TrajectoryIterator
#define TYPELOOKUP_DATA_REG(_dataclass_)
Definition: typelookup.h:102