CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HitPairGeneratorFromLayerPair.h
Go to the documentation of this file.
1 #ifndef HitPairGeneratorFromLayerPair_h
2 #define HitPairGeneratorFromLayerPair_h
3 
7 
8 class DetLayer;
9 class TrackingRegion;
10 
12 
13 public:
14 
18 
20  unsigned int outer,
21  LayerCacheType* layerCache,
22  unsigned int max=0);
23 
25 
27  const edm::Event & ev, const edm::EventSetup& es, Layers layers);
28 
29  void hitPairs( const TrackingRegion& reg, OrderedHitPairs & prs,
30  const edm::Event & ev, const edm::EventSetup& es, Layers layers);
31 
32  Layer innerLayer(const Layers& layers) const { return layers[theInnerLayer]; }
33  Layer outerLayer(const Layers& layers) const { return layers[theOuterLayer]; }
34 
35 private:
37  const unsigned int theOuterLayer;
38  const unsigned int theInnerLayer;
39  const unsigned int theMaxElement;
40 };
41 
42 #endif
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
Definition: LayerTriplets.cc:4
void hitPairs(const TrackingRegion &reg, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es, Layers layers)
bool ev
Layer innerLayer(const Layers &layers) const
HitDoublets doublets(const TrackingRegion &reg, const edm::Event &ev, const edm::EventSetup &es, Layers layers)
SeedingLayerSetsHits::SeedingLayer Layer
HitPairGeneratorFromLayerPair(unsigned int inner, unsigned int outer, LayerCacheType *layerCache, unsigned int max=0)
Layer outerLayer(const Layers &layers) const
SeedingLayerSetsHits::SeedingLayerSet Layers