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  virtual ~CosmicSeedCreator(){}
21 
22  // initialize the "event dependent state"
23  virtual void init(const TrackingRegion & region,
24  const edm::EventSetup& es,
25  const SeedComparitor *filter);
26 
27  // make job
28  // fill seedCollection with the "TrajectorySeed"
29  virtual void makeSeed(TrajectorySeedCollection & seedCollection,
30  const SeedingHitSet & hits);
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
virtual ~CosmicSeedCreator()
const SeedComparitor * filter
std::vector< TrajectorySeed > TrajectorySeedCollection
virtual void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits)
const TrackingRegion * region
unsigned int maxseeds_
virtual void init(const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter)