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 
31 class TrajectoryFilter;
32 
34 public:
35  typedef std::vector<Trajectory> TrajectoryContainer;
36  typedef std::vector<TempTrajectory> TempTrajectoryContainer;
37 
39  CkfTrajectoryBuilder(const edm::ParameterSet& conf, std::unique_ptr<TrajectoryFilter> filter);
40 
41  ~CkfTrajectoryBuilder() override {}
42 
44  TrajectoryContainer trajectories(const TrajectorySeed& seed) const override;
46  void trajectories(const TrajectorySeed& seed, TrajectoryContainer& ret) const override;
47 
48  // new interface returning the start Trajectory...
51  unsigned int& nCandPerSeed,
52  const TrajectoryFilter*) const override;
53 
54  void rebuildTrajectories(TempTrajectory const& startingTraj,
55  const TrajectorySeed&,
56  TrajectoryContainer& result) const override {}
57 
59  // virtual void setEvent(const edm::Event& event) const;
60 
61 protected:
62  int theMaxCand;
68 
69 protected:
70  void setEvent_(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
71 
73  const TempTrajectory& traj,
74  std::vector<TrajectoryMeasurement>& result) const;
75 
76  unsigned int limitedCandidates(const TrajectorySeed& seed,
77  TempTrajectory& startingTraj,
79  unsigned int limitedCandidates(const std::shared_ptr<const TrajectorySeed>& sharedSeed,
82 
83  void updateTrajectory(TempTrajectory& traj, TM&& tm) const;
84 
85  /*
86  //not mature for integration.
87  bool theSharedSeedCheck;
88  std::string theUniqueName;
89  void rememberSeedAndTrajectories(const TrajectorySeed& seed,TrajectoryContainer &result) const;
90  bool seedAlreadyUsed(const TrajectorySeed& seed,TempTrajectoryContainer &candidates) const;
91  bool sharedSeed(const TrajectorySeed& seed1,const TrajectorySeed& seed2) const;
92  // mutable TempTrajectoryContainer theCachedTrajectories;
93  typedef boost::unordered_multimap<uint32_t,TempTrajectory> SharedTrajectory;
94  mutable SharedTrajectory theCachedTrajectories;
95  */
96 };
97 
98 #endif
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:543
MeasurementEstimator
Definition: MeasurementEstimator.h:19
TrajectoryFilter
Definition: TrajectoryFilter.h:28
CkfTrajectoryBuilder::TempTrajectoryContainer
std::vector< TempTrajectory > TempTrajectoryContainer
Definition: CkfTrajectoryBuilder.h:36
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:64
CkfTrajectoryBuilder::theIntermediateCleaning
bool theIntermediateCleaning
Definition: CkfTrajectoryBuilder.h:65
fileCollector.seed
seed
Definition: fileCollector.py:127
CkfTrajectoryBuilder::TrajectoryContainer
std::vector< Trajectory > TrajectoryContainer
Definition: CkfTrajectoryBuilder.h:35
Propagator
Definition: Propagator.h:44
CkfTrajectoryBuilder::theAlwaysUseInvalidHits
bool theAlwaysUseInvalidHits
Definition: CkfTrajectoryBuilder.h:67
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
CkfTrajectoryBuilder::~CkfTrajectoryBuilder
~CkfTrajectoryBuilder() override
Definition: CkfTrajectoryBuilder.h:41
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:47
Event.h
CkfTrajectoryBuilder
Definition: CkfTrajectoryBuilder.h:33
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup
Definition: EventSetup.h:58
TrajectorySeedCollection.h
CkfTrajectoryBuilder::rebuildTrajectories
void rebuildTrajectories(TempTrajectory const &startingTraj, const TrajectorySeed &, TrajectoryContainer &result) const override
Definition: CkfTrajectoryBuilder.h:54
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_FULL_cff.candidates
candidates
Definition: HLT_FULL_cff.py:55017
BaseCkfTrajectoryBuilder.h
TrajectorySeed
Definition: TrajectorySeed.h:18
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:62
mps_fire.result
result
Definition: mps_fire.py:311
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:45