CMS 3D CMS Logo

TrajectoryBuilder.h
Go to the documentation of this file.
1 #ifndef TrackingTools_PatternTools_TrajectoryBuilder_h
2 #define TrackingTools_PatternTools_TrajectoryBuilder_h
3 
8 
9 class TrajectorySeed;
10 
19 public:
20  typedef std::vector<Trajectory> TrajectoryContainer;
21  typedef TrajectoryContainer::iterator TrajectoryIterator;
22 
23  virtual ~TrajectoryBuilder(){};
24 
25  virtual TrajectoryContainer trajectories(const TrajectorySeed&) const = 0;
26 
27  virtual void trajectories(const TrajectorySeed& seed, TrajectoryContainer& out) const {
29  out = std::move(ret);
30  }
31 
36  LogDebug("TrajectoryBuilding") << "WARNING: you are using a trajectory builder which is not overloading the "
37  "rebuildSeedingRegion method because there is not an implementation yet: output "
38  "TrajectoryContainer is equal to inputTrajectoryContainer";
39  }
40 
41  virtual void setEvent(const edm::Event& event) const = 0;
42  virtual void unset() const {};
43 };
44 
45 #endif
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:543
MessageLogger.h
TrajectoryMeasurement.h
fileCollector.seed
seed
Definition: fileCollector.py:127
TrajectoryBuilder::trajectories
virtual void trajectories(const TrajectorySeed &seed, TrajectoryContainer &out) const
Definition: TrajectoryBuilder.h:27
TrajectoryBuilder::~TrajectoryBuilder
virtual ~TrajectoryBuilder()
Definition: TrajectoryBuilder.h:23
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
Event.h
TrajectoryBuilder::TrajectoryContainer
std::vector< Trajectory > TrajectoryContainer
Definition: TrajectoryBuilder.h:20
Trajectory.h
eostools.move
def move(src, dest)
Definition: eostools.py:511
TrajectoryBuilder::trajectories
virtual TrajectoryContainer trajectories(const TrajectorySeed &) const =0
TrajectoryBuilder::setEvent
virtual void setEvent(const edm::Event &event) const =0
TrajectoryBuilder
Definition: TrajectoryBuilder.h:18
TrajectorySeed
Definition: TrajectorySeed.h:18
TrajectoryBuilder::rebuildSeedingRegion
virtual void rebuildSeedingRegion(const TrajectorySeed &, TrajectoryContainer &result) const
Definition: TrajectoryBuilder.h:35
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
mps_fire.result
result
Definition: mps_fire.py:311
TrajectoryBuilder::unset
virtual void unset() const
Definition: TrajectoryBuilder.h:42
TrajectoryBuilder::TrajectoryIterator
TrajectoryContainer::iterator TrajectoryIterator
Definition: TrajectoryBuilder.h:21
event
Definition: event.py:1
edm::Event
Definition: Event.h:73