Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef SpecialSeedGenerators_GenericPairGenerator_h
0002 #define SpecialSeedGenerators_GenericPairGenerator_h
0003 //FWK
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "FWCore/Framework/interface/Event.h"
0006 #include "FWCore/Framework/interface/EventSetup.h"
0007 #include "FWCore/Utilities/interface/EDGetToken.h"
0008 
0009 #include "RecoTracker/TkTrackingRegions/interface/OrderedHitsGenerator.h"
0010 #include "RecoTracker/TkTrackingRegions/interface/TrackingRegion.h"
0011 #include "RecoTracker/TkHitPairs/interface/OrderedHitPairs.h"
0012 #include "RecoTracker/TkSeedingLayers/interface/OrderedSeedingHits.h"
0013 
0014 class SeedingLayerSetsHits;
0015 
0016 class GenericPairGenerator : public OrderedHitsGenerator {
0017 public:
0018   GenericPairGenerator(const edm::ParameterSet& conf, edm::ConsumesCollector& iC);
0019   ~GenericPairGenerator() override{};
0020   const OrderedSeedingHits& run(const TrackingRegion& region, const edm::Event& ev, const edm::EventSetup& es) override;
0021   void clear() override { hitPairs.clear(); }
0022 
0023 private:
0024   edm::EDGetTokenT<SeedingLayerSetsHits> theSeedingLayerToken;
0025   OrderedHitPairs hitPairs;
0026 };
0027 
0028 #endif