test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CkfTrajectoryBuilder.h
Go to the documentation of this file.
1 #ifndef CkfTrajectoryBuilder_H
2 #define CkfTrajectoryBuilder_H
3 
4 #include <vector>
5 
6 class Propagator;
9 class TrajectorySeed;
11 class TrajectoryFilter;
12 
17 
21 
23 
27 
28 #include <map>
29 #include <boost/unordered_map.hpp>
30 
32 class TrajectoryFilter;
33 
35 
36 public:
37 
38  typedef std::vector<Trajectory> TrajectoryContainer;
39  typedef std::vector<TempTrajectory> TempTrajectoryContainer;
40 
43 
45 
49  virtual void trajectories(const TrajectorySeed& seed, TrajectoryContainer &ret) const;
50 
51  // new interface returning the start Trajectory...
54  const TrajectoryFilter*) const;
55 
56 
57  void rebuildTrajectories(TempTrajectory const& startingTraj, const TrajectorySeed&,
58  TrajectoryContainer& result) const {}
59 
61  // virtual void setEvent(const edm::Event& event) const;
62 
63 
64 
65  protected:
66  int theMaxCand;
72 
73 
74  protected:
75  void setEvent_(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
76 
77  virtual void findCompatibleMeasurements(const TrajectorySeed&seed, const TempTrajectory& traj, std::vector<TrajectoryMeasurement> & result) const;
78 
80  void limitedCandidates(const boost::shared_ptr<const TrajectorySeed> & sharedSeed, TempTrajectoryContainer &candidates, TrajectoryContainer& result) const;
81 
82  void updateTrajectory( TempTrajectory& traj, TM && tm) const;
83 
84  /*
85  //not mature for integration.
86  bool theSharedSeedCheck;
87  std::string theUniqueName;
88  void rememberSeedAndTrajectories(const TrajectorySeed& seed,TrajectoryContainer &result) const;
89  bool seedAlreadyUsed(const TrajectorySeed& seed,TempTrajectoryContainer &candidates) const;
90  bool sharedSeed(const TrajectorySeed& seed1,const TrajectorySeed& seed2) const;
91  // mutable TempTrajectoryContainer theCachedTrajectories;
92  typedef boost::unordered_multimap<uint32_t,TempTrajectory> SharedTrajectory;
93  mutable SharedTrajectory theCachedTrajectories;
94  */
95 };
96 
97 #endif
tuple ret
prodAgent to be discontinued
std::vector< Trajectory > TrajectoryContainer
CkfTrajectoryBuilder(const edm::ParameterSet &conf, edm::ConsumesCollector &iC)
void rebuildTrajectories(TempTrajectory const &startingTraj, const TrajectorySeed &, TrajectoryContainer &result) const
TempTrajectory buildTrajectories(const TrajectorySeed &, TrajectoryContainer &ret, const TrajectoryFilter *) const
std::vector< TempTrajectory > TempTrajectoryContainer
tuple result
Definition: mps_fire.py:84
int iEvent
Definition: GenABIO.cc:230
virtual TrajectoryContainer trajectories(const TrajectorySeed &seed) const
trajectories building starting from a seed
std::vector< TempTrajectory > TempTrajectoryContainer
virtual void findCompatibleMeasurements(const TrajectorySeed &seed, const TempTrajectory &traj, std::vector< TrajectoryMeasurement > &result) const
void updateTrajectory(TempTrajectory &traj, TM &&tm) const
void setEvent_(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
int theMaxCand
set Event for the internal MeasurementTracker data member
std::vector< Trajectory > TrajectoryContainer
void limitedCandidates(const TrajectorySeed &seed, TempTrajectory &startingTraj, TrajectoryContainer &result) const