File indexing completed on 2024-04-06 12:28:53
0001 #ifndef RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHits_H
0002 #define RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHits_H
0003
0004 #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h"
0005
0006 #include "RecoTracker/TkTrackingRegions/interface/OrderedHitsGenerator.h"
0007 #include "RecoTracker/TkSeedingLayers/interface/SeedComparitor.h"
0008 #include "RecoTracker/TkSeedGenerator/interface/SeedCreator.h"
0009
0010 #include <memory>
0011
0012 class TrackingRegion;
0013
0014 namespace edm {
0015 class Event;
0016 class EventSetup;
0017 }
0018
0019 class SeedGeneratorFromRegionHits {
0020 public:
0021 SeedGeneratorFromRegionHits(std::unique_ptr<OrderedHitsGenerator> aGenerator,
0022 std::unique_ptr<SeedComparitor> aComparitor = nullptr,
0023 std::unique_ptr<SeedCreator> aSeedCreator = nullptr);
0024
0025
0026 void run(TrajectorySeedCollection& seedCollection,
0027 const TrackingRegion& region,
0028 const edm::Event& ev,
0029 const edm::EventSetup& es);
0030
0031 private:
0032 std::unique_ptr<OrderedHitsGenerator> theHitsGenerator;
0033 std::unique_ptr<SeedComparitor> theComparitor;
0034 std::unique_ptr<SeedCreator> theSeedCreator;
0035 };
0036 #endif