CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/RecoTracker/TkSeedGenerator/interface/SeedGeneratorFromRegionHits.h

Go to the documentation of this file.
00001 #ifndef RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHits_H
00002 #define RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHits_H
00003 
00004 #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h"
00005 #include <string>
00006 
00007 class TrackingRegion;
00008 class OrderedHitsGenerator;
00009 class SeedComparitor;
00010 class SeedCreator;
00011  
00012 namespace edm { class Event; class EventSetup; }
00013 
00014 class SeedGeneratorFromRegionHits {
00015 public:
00016 
00017   SeedGeneratorFromRegionHits(
00018       OrderedHitsGenerator * aGenerator, 
00019       SeedComparitor * aComparitor = 0,
00020       SeedCreator * aSeedCreator = 0
00021     );
00022 
00023 
00024   //dtor
00025   ~SeedGeneratorFromRegionHits();
00026 
00027   // make job
00028   void run(TrajectorySeedCollection & seedCollection, const TrackingRegion & region, 
00029       const edm::Event& ev, const edm::EventSetup& es);
00030  
00031 private:
00032   OrderedHitsGenerator * theHitsGenerator;
00033   SeedComparitor * theComparitor;
00034   SeedCreator * theSeedCreator;
00035 };
00036 #endif