CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SeedFromConsecutiveHitsCreator.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
2 #define RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
3 
7 
9 
11 public:
12 
14  thePropagatorLabel(cfg.getParameter<std::string>("propagator")),
15  theBOFFMomentum(cfg.existsAs<double>("SeedMomentumForBOFF") ? cfg.getParameter<double>("SeedMomentumForBOFF") : 5.0)
16  {}
17 
19  const std::string & propagator = "PropagatorWithMaterial", double seedMomentumForBOFF = -5.0)
20  : thePropagatorLabel(propagator), theBOFFMomentum(seedMomentumForBOFF) { }
21 
22  //dtor
24 
25  virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection & seedCollection,
26  const SeedingHitSet & ordered,
27  const TrackingRegion & region,
28  const edm::EventSetup& es,
29  const SeedComparitor *filter);
30 protected:
31 
32  virtual bool checkHit(
33  const TrajectoryStateOnSurface &tsos,
35  const edm::EventSetup& es,
36  const SeedComparitor *filter) const;
37 
39  const SeedingHitSet & hits,
40  const TrackingRegion & region,
41  const edm::EventSetup& es,
42  const SeedComparitor *filter,
43  bool &passesFilter) const;
44 
46  const TrackingRegion& region,
47  float sinTheta) const;
48 
49  virtual const TrajectorySeed * buildSeed(
50  TrajectorySeedCollection & seedCollection,
51  const SeedingHitSet & hits,
52  const FreeTrajectoryState & fts,
53  const edm::EventSetup& es,
54  const SeedComparitor *filter) const;
55 
58  const TrajectoryStateOnSurface &state) const;
59 
60 protected:
61  std::string thePropagatorLabel;
63 
64 };
65 #endif
virtual TransientTrackingRecHit::RecHitPointer refitHit(const TransientTrackingRecHit::ConstRecHitPointer &hit, const TrajectoryStateOnSurface &state) const
SeedFromConsecutiveHitsCreator(const std::string &propagator="PropagatorWithMaterial", double seedMomentumForBOFF=-5.0)
virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &ordered, const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter)
virtual const TrajectorySeed * buildSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts, const edm::EventSetup &es, const SeedComparitor *filter) const
virtual CurvilinearTrajectoryError initialError(const TrackingRegion &region, float sinTheta) const
std::vector< TrajectorySeed > TrajectorySeedCollection
SeedFromConsecutiveHitsCreator(const edm::ParameterSet &cfg)
char state
Definition: procUtils.cc:75
virtual bool checkHit(const TrajectoryStateOnSurface &tsos, const TransientTrackingRecHit::ConstRecHitPointer &hit, const edm::EventSetup &es, const SeedComparitor *filter) const
virtual GlobalTrajectoryParameters initialKinematic(const SeedingHitSet &hits, const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter, bool &passesFilter) const