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 public:
10 
12  thePropagatorLabel(cfg.getParameter<std::string>("propagator")),
13  theBOFFMomentum(cfg.existsAs<double>("SeedMomentumForBOFF") ? cfg.getParameter<double>("SeedMomentumForBOFF") : 5.0)
14  {}
15 
17  const std::string & propagator = "PropagatorWithMaterial", double seedMomentumForBOFF = -5.0)
18  : thePropagatorLabel(propagator), theBOFFMomentum(seedMomentumForBOFF) { }
19 
20  //dtor
22 
23  virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection & seedCollection,
24  const SeedingHitSet & ordered,
25  const TrackingRegion & region,
26  const edm::EventSetup& es);
27 protected:
28 
29  virtual bool checkHit(
32  const edm::EventSetup& es) const { return true; }
33 
35  const SeedingHitSet & hits,
36  const TrackingRegion & region,
37  const edm::EventSetup& es) const;
38 
40  const TrackingRegion& region,
41  float sinTheta) const;
42 
43  virtual const TrajectorySeed * buildSeed(
44  TrajectorySeedCollection & seedCollection,
45  const SeedingHitSet & hits,
46  const FreeTrajectoryState & fts,
47  const edm::EventSetup& es) const;
48 
51  const TrajectoryStateOnSurface &state) const;
52 
53 protected:
54  std::string thePropagatorLabel;
56 
57 };
58 #endif
virtual bool checkHit(const TrajectoryStateOnSurface &, const TransientTrackingRecHit::ConstRecHitPointer &hit, const edm::EventSetup &es) const
virtual const TrajectorySeed * buildSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts, const edm::EventSetup &es) const
virtual TransientTrackingRecHit::RecHitPointer refitHit(const TransientTrackingRecHit::ConstRecHitPointer &hit, const TrajectoryStateOnSurface &state) const
SeedFromConsecutiveHitsCreator(const std::string &propagator="PropagatorWithMaterial", double seedMomentumForBOFF=-5.0)
virtual GlobalTrajectoryParameters initialKinematic(const SeedingHitSet &hits, const TrackingRegion &region, const edm::EventSetup &es) const
virtual CurvilinearTrajectoryError initialError(const TrackingRegion &region, float sinTheta) const
virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &ordered, const TrackingRegion &region, const edm::EventSetup &es)
std::vector< TrajectorySeed > TrajectorySeedCollection
SeedFromConsecutiveHitsCreator(const edm::ParameterSet &cfg)
char state
Definition: procUtils.cc:75