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
CosmicSeedCreator::~CosmicSeedCreator
~CosmicSeedCreator() override
Definition: CosmicSeedCreator.h:14
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition: TrajectorySeedCollection.h:6
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
ESHandle.h
SeedingHitSet
Definition: SeedingHitSet.h:6
CosmicSeedCreator::filter
const SeedComparitor * filter
Definition: CosmicSeedCreator.h:25
CosmicSeedCreator::CosmicSeedCreator
CosmicSeedCreator(const edm::ParameterSet &extra)
Definition: CosmicSeedCreator.h:12
CosmicSeedCreator::bfield
edm::ESHandle< MagneticField > bfield
Definition: CosmicSeedCreator.h:26
ElectronSeedTrackRefFix_cfi.seedCollection
seedCollection
Definition: ElectronSeedTrackRefFix_cfi.py:9
SeedComparitor
Definition: SeedComparitor.h:25
SeedCreator
Definition: SeedCreator.h:15
edm::ESHandle< MagneticField >
CosmicSeedCreator::init
void init(const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter) override
Definition: CosmicSeedCreator.cc:17
CosmicSeedCreator::maxseeds_
unsigned int maxseeds_
Definition: CosmicSeedCreator.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
SeedComparitor.h
CosmicSeedCreator::region
const TrackingRegion * region
Definition: CosmicSeedCreator.h:24
CosmicSeedCreator::makeSeed
void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) override
Definition: CosmicSeedCreator.cc:24
SeedCreator.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
TrackingRegion
Definition: TrackingRegion.h:41
ParameterSet.h
CosmicSeedCreator
Definition: CosmicSeedCreator.h:10