CMS 3D CMS Logo

CosmicSeedCreator.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkSeedGenerator_CosmicSeedCreator_H
2 #define RecoTracker_TkSeedGenerator_CosmicSeedCreator_H
3 
9 
10 class CosmicSeedCreator final : public SeedCreator {
11 public:
12  CosmicSeedCreator(const edm::ParameterSet &extra) { maxseeds_ = extra.getParameter<int>("maxseeds"); }
13 
14  ~CosmicSeedCreator() override {}
15 
16  // initialize the "event dependent state"
17  void init(const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter) override;
18 
19  // make job
20  // fill seedCollection with the "TrajectorySeed"
22 
23 private:
24  const TrackingRegion *region = nullptr;
25  const SeedComparitor *filter = nullptr;
27 
28  unsigned int maxseeds_;
29 };
30 #endif
T getParameter(std::string const &) const
CosmicSeedCreator(const edm::ParameterSet &extra)
edm::ESHandle< MagneticField > bfield
void init(const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter) override
const SeedComparitor * filter
std::vector< TrajectorySeed > TrajectorySeedCollection
const TrackingRegion * region
void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) override
unsigned int maxseeds_
~CosmicSeedCreator() override