CMS 3D CMS Logo

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