Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:53

0001 #ifndef RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHitsEDProducer_H
0002 #define RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHitsEDProducer_H
0003 #include "FWCore/Utilities/interface/Visibility.h"
0004 
0005 #include "FWCore/Framework/interface/stream/EDProducer.h"
0006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0007 #include "RecoTracker/SpecialSeedGenerators/interface/ClusterChecker.h"
0008 
0009 namespace edm {
0010   class Event;
0011   class EventSetup;
0012 }  // namespace edm
0013 
0014 class SeedGeneratorFromRegionHits;
0015 class TrackingRegionProducer;
0016 
0017 class dso_hidden SeedGeneratorFromRegionHitsEDProducer : public edm::stream::EDProducer<> {
0018 public:
0019   SeedGeneratorFromRegionHitsEDProducer(const edm::ParameterSet& cfg);
0020   ~SeedGeneratorFromRegionHitsEDProducer() override;
0021 
0022   void produce(edm::Event& ev, const edm::EventSetup& es) override;
0023 
0024 private:
0025   std::unique_ptr<SeedGeneratorFromRegionHits> theGenerator;
0026   std::unique_ptr<TrackingRegionProducer> theRegionProducer;
0027   ClusterChecker theClusterCheck;
0028 
0029   std::string moduleName;
0030 
0031   bool theSilentOnClusterCheck;
0032 };
0033 
0034 #endif