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; class ParameterSetDescription;}
16 class TrackingRegion;
18 
20 
21 public:
23 
24  explicit HitTripletGeneratorFromPairAndLayers(unsigned int maxElement=0);
27 
29 
30  void init( std::unique_ptr<HitPairGeneratorFromLayerPair>&& pairs, LayerCacheType* layerCache);
31 
33 
34  virtual void hitTriplets( const TrackingRegion& region, OrderedHitTriplets & trs,
35  const edm::Event & ev, const edm::EventSetup& es,
36  const SeedingLayerSetsHits::SeedingLayerSet& pairLayers,
37  const std::vector<SeedingLayerSetsHits::SeedingLayer>& thirdLayers) = 0;
38 
39  virtual void hitTriplets(
40  const TrackingRegion& region,
42  const edm::EventSetup & es,
43  const HitDoublets & doublets,
44  const RecHitsSortedInPhi ** thirdHitMap,
45  const std::vector<const DetLayer *> & thirdLayerDetLayer,
46  const int nThirdLayers)=0;
47 
48 protected:
49  std::unique_ptr<HitPairGeneratorFromLayerPair> thePairGenerator;
51  const unsigned int theMaxElement;
52 };
53 #endif
54 
55 
bool ev
Definition: Event.h:16
tuple result
Definition: mps_fire.py:84
static void fillDescriptions(edm::ParameterSetDescription &desc)
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, const SeedingLayerSetsHits::SeedingLayerSet &pairLayers, const std::vector< SeedingLayerSetsHits::SeedingLayer > &thirdLayers)=0