TrackingTools
TrajectoryCleaning
src
TrajectoryCleaner.cc
Go to the documentation of this file.
1
2
#include "
TrackingTools/TrajectoryCleaning/interface/TrajectoryCleaner.h
"
3
#include <cassert>
4
5
void
TrajectoryCleaner::clean
(
TempTrajectoryContainer
&)
const
{
6
edm::LogError
(
"TrajectoryCleaner"
) <<
"not implemented for TempTrajectory"
;
7
assert
(
false
);
8
}
9
10
void
TrajectoryCleaner::clean
(
TrajectoryContainer
& tc)
const
{
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
20
#include "
FWCore/Utilities/interface/typelookup.h
"
21
TYPELOOKUP_DATA_REG
(
TrajectoryCleaner
);
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
Generated for CMSSW Reference Manual by
1.8.16