CMS 3D CMS Logo

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 public:
36  typedef std::vector<Trajectory> TrajectoryContainer;
37  typedef std::vector<TempTrajectory> TempTrajectoryContainer;
38 
40  CkfTrajectoryBuilder(const edm::ParameterSet& conf, std::unique_ptr<TrajectoryFilter> filter);
41 
42  ~CkfTrajectoryBuilder() override {}
43 
45  TrajectoryContainer trajectories(const TrajectorySeed& seed) const override;
47  void trajectories(const TrajectorySeed& seed, TrajectoryContainer& ret) const override;
48 
49  // new interface returning the start Trajectory...
52  unsigned int& nCandPerSeed,
53  const TrajectoryFilter*) const override;
54 
55  void rebuildTrajectories(TempTrajectory const& startingTraj,
56  const TrajectorySeed&,
57  TrajectoryContainer& result) const override {}
58 
60  // virtual void setEvent(const edm::Event& event) const;
61 
62 protected:
63  int theMaxCand;
69 
70 protected:
71  void setEvent_(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
72 
74  const TempTrajectory& traj,
75  std::vector<TrajectoryMeasurement>& result) const;
76 
77  unsigned int limitedCandidates(const TrajectorySeed& seed,
78  TempTrajectory& startingTraj,
80  unsigned int limitedCandidates(const std::shared_ptr<const TrajectorySeed>& sharedSeed,
83 
84  void updateTrajectory(TempTrajectory& traj, TM&& tm) const;
85 
86  /*
87  //not mature for integration.
88  bool theSharedSeedCheck;
89  std::string theUniqueName;
90  void rememberSeedAndTrajectories(const TrajectorySeed& seed,TrajectoryContainer &result) const;
91  bool seedAlreadyUsed(const TrajectorySeed& seed,TempTrajectoryContainer &candidates) const;
92  bool sharedSeed(const TrajectorySeed& seed1,const TrajectorySeed& seed2) const;
93  // mutable TempTrajectoryContainer theCachedTrajectories;
94  typedef boost::unordered_multimap<uint32_t,TempTrajectory> SharedTrajectory;
95  mutable SharedTrajectory theCachedTrajectories;
96  */
97 };
98 
99 #endif
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:355
MeasurementEstimator
Definition: MeasurementEstimator.h:19
TrajectoryFilter
Definition: TrajectoryFilter.h:28
CkfTrajectoryBuilder::TempTrajectoryContainer
std::vector< TempTrajectory > TempTrajectoryContainer
Definition: CkfTrajectoryBuilder.h:37
BaseCkfTrajectoryBuilder
Definition: BaseCkfTrajectoryBuilder.h:53
TrackCandidateCollection.h
ESHandle.h
TempTrajectory
Definition: TempTrajectory.h:40
BaseCkfTrajectoryBuilder::TrajectoryContainer
std::vector< Trajectory > TrajectoryContainer
Definition: BaseCkfTrajectoryBuilder.h:62
CkfTrajectoryBuilder::buildTrajectories
TempTrajectory buildTrajectories(const TrajectorySeed &, TrajectoryContainer &ret, unsigned int &nCandPerSeed, const TrajectoryFilter *) const override
Definition: CkfTrajectoryBuilder.cc:143
TrajectoryMeasurement.h
CkfTrajectoryBuilder::theLostHitPenalty
float theLostHitPenalty
Definition: CkfTrajectoryBuilder.h:65
CkfTrajectoryBuilder::theIntermediateCleaning
bool theIntermediateCleaning
Definition: CkfTrajectoryBuilder.h:66
CkfTrajectoryBuilder::TrajectoryContainer
std::vector< Trajectory > TrajectoryContainer
Definition: CkfTrajectoryBuilder.h:36
Propagator
Definition: Propagator.h:44
CkfTrajectoryBuilder::theAlwaysUseInvalidHits
bool theAlwaysUseInvalidHits
Definition: CkfTrajectoryBuilder.h:68
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
CkfTrajectoryBuilder::~CkfTrajectoryBuilder
~CkfTrajectoryBuilder() override
Definition: CkfTrajectoryBuilder.h:42
CkfTrajectoryBuilder::CkfTrajectoryBuilder
CkfTrajectoryBuilder(const edm::ParameterSet &conf, edm::ConsumesCollector &iC)
Definition: CkfTrajectoryBuilder.cc:29
TrajectorySeed.h
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
BaseCkfTrajectoryBuilder::TempTrajectoryContainer
std::vector< TempTrajectory > TempTrajectoryContainer
Definition: BaseCkfTrajectoryBuilder.h:63
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
CkfTrajectoryBuilder
Definition: CkfTrajectoryBuilder.h:34
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup
Definition: EventSetup.h:57
TrajectorySeedCollection.h
CkfTrajectoryBuilder::rebuildTrajectories
void rebuildTrajectories(TempTrajectory const &startingTraj, const TrajectorySeed &, TrajectoryContainer &result) const override
Definition: CkfTrajectoryBuilder.h:55
CkfTrajectoryBuilder::updateTrajectory
void updateTrajectory(TempTrajectory &traj, TM &&tm) const
Definition: CkfTrajectoryBuilder.cc:301
CkfTrajectoryBuilder::setEvent_
void setEvent_(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: CkfTrajectoryBuilder.cc:56
Trajectory.h
CkfTrajectoryBuilder::limitedCandidates
unsigned int limitedCandidates(const TrajectorySeed &seed, TempTrajectory &startingTraj, TrajectoryContainer &result) const
Definition: CkfTrajectoryBuilder.cc:169
HLT_2018_cff.candidates
candidates
Definition: HLT_2018_cff.py:53513
BaseCkfTrajectoryBuilder.h
TrajectorySeed
Definition: TrajectorySeed.h:17
EventSetup.h
CkfTrajectoryBuilder::findCompatibleMeasurements
virtual void findCompatibleMeasurements(const TrajectorySeed &seed, const TempTrajectory &traj, std::vector< TrajectoryMeasurement > &result) const
Definition: CkfTrajectoryBuilder.cc:312
CkfTrajectoryBuilder::theMaxCand
int theMaxCand
set Event for the internal MeasurementTracker data member
Definition: CkfTrajectoryBuilder.h:63
mps_fire.result
result
Definition: mps_fire.py:303
TrajectoryStateUpdator
Definition: TrajectoryStateUpdator.h:14
ParameterSet.h
edm::Event
Definition: Event.h:73
TransientTrackingRecHitBuilder
Definition: TransientTrackingRecHitBuilder.h:6
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25
CkfTrajectoryBuilder::trajectories
TrajectoryContainer trajectories(const TrajectorySeed &seed) const override
trajectories building starting from a seed
Definition: CkfTrajectoryBuilder.cc:58
TempTrajectory.h
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
SurveyInfoScenario_cff.seed
seed
Definition: SurveyInfoScenario_cff.py:295