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  static void doublets(
32  const TrackingRegion& region,
33  const DetLayer & innerHitDetLayer,
34  const DetLayer & outerHitDetLayer,
35  const RecHitsSortedInPhi & innerHitsMap,
36  const RecHitsSortedInPhi & outerHitsMap,
37  const edm::EventSetup& iSetup,
38  const unsigned int theMaxElement,
40 
41  Layer innerLayer(const Layers& layers) const { return layers[theInnerLayer]; }
42  Layer outerLayer(const Layers& layers) const { return layers[theOuterLayer]; }
43 
44 private:
46  const unsigned int theOuterLayer;
47  const unsigned int theInnerLayer;
48  const unsigned int theMaxElement;
49 };
50 
51 #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
tuple result
Definition: mps_fire.py:84
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