CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
tuple ret
prodAgent to be discontinued
virtual void rebuildSeedingRegion(const TrajectorySeed &, TrajectoryContainer &result) const
tuple result
Definition: mps_fire.py:311
std::vector< Trajectory > TrajectoryContainer
virtual void trajectories(const TrajectorySeed &seed, TrajectoryContainer &out) const
def move
Definition: eostools.py:511
virtual void unset() const
virtual TrajectoryContainer trajectories(const TrajectorySeed &) const =0
virtual ~TrajectoryBuilder()
virtual void setEvent(const edm::Event &event) const =0
TrajectoryContainer::iterator TrajectoryIterator
#define LogDebug(id)