CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SeedFromConsecutiveHitsCreator.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
2 #define RecoTracker_TkSeedGenerator_SeedFromConsecutiveHitsCreator_H
4 
16 
19 
22 
24 
26 public:
28 
30 
32  static const char *fillDescriptionsLabel() { return "ConsecutiveHits"; }
33 
34  // initialize the "event dependent state"
35  void init(const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter) final;
36 
37  // make job
38  // fill seedCollection with the "TrajectorySeed"
39  void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) final;
40 
41 private:
42  virtual bool initialKinematic(GlobalTrajectoryParameters &kine, const SeedingHitSet &hits) const;
43 
45 
46  CurvilinearTrajectoryError initialError(float sin2Theta) const dso_hidden;
47 
48  void buildSeed(TrajectorySeedCollection &seedCollection,
49  const SeedingHitSet &hits,
50  const FreeTrajectoryState &fts) const dso_hidden;
51 
54 
55 protected:
60 
61  const TrackingRegion *region = nullptr;
62  const SeedComparitor *filter = nullptr;
66  float nomField;
67  bool isBOFF = false;
71 
73 
78 };
79 #endif
virtual void init(const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter)=0
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits)=0
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > transientTrackingRecHitBuilderESToken_
BaseTrackerRecHit const * ConstRecHitPointer
Definition: SeedingHitSet.h:10
std::vector< TrajectorySeed > TrajectorySeedCollection
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldESToken_
#define dso_hidden
Definition: Visibility.h:12
const edm::ESGetToken< Propagator, TrackingComponentsRecord > propagatorESToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryESToken_