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 
11 
12 class CosmicSeedCreator final : public SeedCreator {
13 
14  public:
16  {
17  maxseeds_ = extra.getParameter<int>("maxseeds");
18  }
19 
20  ~CosmicSeedCreator() override{}
21 
22  // initialize the "event dependent state"
23  void init(const TrackingRegion & region,
24  const edm::EventSetup& es,
25  const SeedComparitor *filter) override;
26 
27  // make job
28  // fill seedCollection with the "TrajectorySeed"
30  const SeedingHitSet & hits) override;
31 
32 
33 private:
34  const TrackingRegion * region = nullptr;
35  const SeedComparitor *filter = nullptr;
37 
38  unsigned int maxseeds_;
39 };
40 #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