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 
TrajectoryCleaner::TempTrajectoryContainer
std::vector< TempTrajectory > TempTrajectoryContainer
Definition: TrajectoryCleaner.h:22
TrajectoryCleaner::TrajectoryContainer
std::vector< Trajectory > TrajectoryContainer
Definition: TrajectoryCleaner.h:17
TrajectoryCleaner.h
typelookup.h
cms::cuda::assert
assert(be >=bs)
TrajectoryCleaner::TrajectoryPointerContainer
std::vector< Trajectory * > TrajectoryPointerContainer
Definition: TrajectoryCleaner.h:18
TrajectoryCleaner::clean
virtual void clean(TempTrajectoryContainer &) const
Definition: TrajectoryCleaner.cc:5
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
TYPELOOKUP_DATA_REG
#define TYPELOOKUP_DATA_REG(_dataclass_)
Definition: typelookup.h:102
TrajectoryCleaner::TrajectoryIterator
TrajectoryContainer::iterator TrajectoryIterator
Definition: TrajectoryCleaner.h:19
TrajectoryCleaner
Definition: TrajectoryCleaner.h:14