test
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 
12 
14 
17 
18 
20 
22 public:
23 
25  : thePropagatorLabel (cfg.getParameter<std::string>("propagator"))
26  , theBOFFMomentum (cfg.getParameter<double>("SeedMomentumForBOFF"))
27  , theOriginTransverseErrorMultiplier(cfg.getParameter<double>("OriginTransverseErrorMultiplier"))
28  , theMinOneOverPtError (cfg.getParameter<double>("MinOneOverPtError"))
29  , TTRHBuilder (cfg.getParameter<std::string>("TTRHBuilder"))
30  , mfName_(cfg.getParameter<std::string>("magneticField"))
31  , forceKinematicWithRegionDirection_(cfg.getParameter<bool>("forceKinematicWithRegionDirection"))
32  {}
33 
34  //dtor
36 
37  // initialize the "event dependent state"
38  virtual void init(const TrackingRegion & region,
39  const edm::EventSetup& es,
40  const SeedComparitor *filter) final;
41 
42  // make job
43  // fill seedCollection with the "TrajectorySeed"
44  virtual void makeSeed(TrajectorySeedCollection & seedCollection,
45  const SeedingHitSet & hits) final;
46 
47 
48 private:
49 
50  virtual bool initialKinematic(GlobalTrajectoryParameters & kine,
51  const SeedingHitSet & hits) const;
52 
53 
54  bool checkHit(
55  const TrajectoryStateOnSurface &tsos,
57 
58 
59  CurvilinearTrajectoryError initialError(float sin2Theta) const dso_hidden;
60 
61  void buildSeed(TrajectorySeedCollection & seedCollection,
62  const SeedingHitSet & hits,
63  const FreeTrajectoryState & fts) const dso_hidden;
64 
67  const TrajectoryStateOnSurface & state) const dso_hidden;
68 
69 protected:
70 
75 
76  const TrackingRegion * region = nullptr;
77  const SeedComparitor *filter = nullptr;
81  float nomField;
82  bool isBOFF = false;
86 
88 
89 
90 };
91 #endif
virtual void init(const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter)=0
#define dso_hidden
tuple cfg
Definition: looper.py:293
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits)=0
edm::ESHandle< Propagator > propagatorHandle
BaseTrackerRecHit const * ConstRecHitPointer
Definition: SeedingHitSet.h:11
std::vector< TrajectorySeed > TrajectorySeedCollection
SeedFromConsecutiveHitsCreator(const edm::ParameterSet &cfg)
edm::ESHandle< TrackerGeometry > tracker
edm::ESHandle< MagneticField > bfield