CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HitTripletGeneratorFromPairAndLayers.h
Go to the documentation of this file.
1 #ifndef HitTripletGeneratorFromPairAndLayers_H
2 #define HitTripletGeneratorFromPairAndLayers_H
3 
11 #include <vector>
14 
15 namespace edm { class ParameterSet; class Event; class EventSetup; class ConsumesCollector; }
16 class TrackingRegion;
18 
20 
21 public:
23 
24  explicit HitTripletGeneratorFromPairAndLayers(unsigned int maxElement=0);
27 
28  void init( std::unique_ptr<HitPairGeneratorFromLayerPair>&& pairs, LayerCacheType* layerCache);
29 
31 
32  virtual void hitTriplets( const TrackingRegion& region, OrderedHitTriplets & trs,
33  const edm::Event & ev, const edm::EventSetup& es,
35  const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers) = 0;
36 protected:
37  std::unique_ptr<HitPairGeneratorFromLayerPair> thePairGenerator;
39  const unsigned int theMaxElement;
40 };
41 #endif
42 
43 
bool ev
Definition: Event.h:16
void init(std::unique_ptr< HitPairGeneratorFromLayerPair > &&pairs, LayerCacheType *layerCache)
std::unique_ptr< HitPairGeneratorFromLayerPair > thePairGenerator
const HitPairGeneratorFromLayerPair & pairGenerator() const
virtual void hitTriplets(const TrackingRegion &region, OrderedHitTriplets &trs, const edm::Event &ev, const edm::EventSetup &es, SeedingLayerSetsHits::SeedingLayerSet pairLayers, const std::vector< SeedingLayerSetsHits::SeedingLayer > &thirdLayers)=0