CMS 3D CMS Logo

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 public:
16 
18  unsigned int outer,
19  LayerCacheType* layerCache,
20  unsigned int max = 0);
21 
23 
26  return doublets(reg, ev, es, layers, *theLayerCache);
27  }
29  const edm::Event& ev,
30  const edm::EventSetup& es,
31  const Layer& innerLayer,
32  const Layer& outerLayer) {
34  return doublets(reg, ev, es, innerLayer, outerLayer, *theLayerCache);
35  }
37  const edm::Event& ev,
38  const edm::EventSetup& es,
39  Layers layers,
40  LayerCacheType& layerCache) {
41  Layer innerLayerObj = innerLayer(layers);
42  Layer outerLayerObj = outerLayer(layers);
43  return doublets(reg, ev, es, innerLayerObj, outerLayerObj, layerCache);
44  }
46  const edm::Event& ev,
47  const edm::EventSetup& es,
48  const Layer& innerLayer,
49  const Layer& outerLayer,
50  LayerCacheType& layerCache);
51 
52  void hitPairs(
53  const TrackingRegion& reg, OrderedHitPairs& prs, const edm::Event& ev, const edm::EventSetup& es, Layers layers);
54  static void doublets(const TrackingRegion& region,
55  const DetLayer& innerHitDetLayer,
56  const DetLayer& outerHitDetLayer,
57  const RecHitsSortedInPhi& innerHitsMap,
58  const RecHitsSortedInPhi& outerHitsMap,
59  const edm::EventSetup& iSetup,
60  const unsigned int theMaxElement,
62 
63  Layer innerLayer(const Layers& layers) const { return layers[theInnerLayer]; }
64  Layer outerLayer(const Layers& layers) const { return layers[theOuterLayer]; }
65 
66 private:
68  const unsigned int theOuterLayer;
69  const unsigned int theInnerLayer;
70  const unsigned int theMaxElement;
71 };
72 
73 #endif
OrderedHitPairs
Definition: OrderedHitPairs.h:8
HitPairGeneratorFromLayerPair::innerLayer
Layer innerLayer(const Layers &layers) const
Definition: HitPairGeneratorFromLayerPair.h:63
DetLayer
Definition: DetLayer.h:21
HitPairGeneratorFromLayerPair::outerLayer
Layer outerLayer(const Layers &layers) const
Definition: HitPairGeneratorFromLayerPair.h:64
HitPairGeneratorFromLayerPair::theOuterLayer
const unsigned int theOuterLayer
Definition: HitPairGeneratorFromLayerPair.h:68
cms::cuda::assert
assert(be >=bs)
HitPairGeneratorFromLayerPair::LayerCacheType
LayerHitMapCache LayerCacheType
Definition: HitPairGeneratorFromLayerPair.h:13
HitPairGeneratorFromLayerPair
Definition: HitPairGeneratorFromLayerPair.h:11
LayerHitMapCache.h
LayerHitMapCache
Definition: LayerHitMapCache.h:14
SeedingLayerSetsHits.h
HitPairGeneratorFromLayerPair::Layer
SeedingLayerSetsHits::SeedingLayer Layer
Definition: HitPairGeneratorFromLayerPair.h:15
HitPairGeneratorFromLayerPair::hitPairs
void hitPairs(const TrackingRegion &reg, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es, Layers layers)
Definition: HitPairGeneratorFromLayerPair.cc:72
SurfaceOrientation::inner
Definition: Surface.h:19
OrderedHitPairs.h
HitPairGeneratorFromLayerPair::theLayerCache
LayerCacheType * theLayerCache
Definition: HitPairGeneratorFromLayerPair.h:67
RecHitsSortedInPhi
Definition: RecHitsSortedInPhi.h:17
HitDoublets
Definition: RecHitsSortedInPhi.h:124
HitPairGeneratorFromLayerPair::HitPairGeneratorFromLayerPair
HitPairGeneratorFromLayerPair(unsigned int inner, unsigned int outer, LayerCacheType *layerCache, unsigned int max=0)
Definition: HitPairGeneratorFromLayerPair.cc:34
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88286
HitPairGeneratorFromLayerPair::Layers
SeedingLayerSetsHits::SeedingLayerSet Layers
Definition: HitPairGeneratorFromLayerPair.h:14
HitPairGeneratorFromLayerPair::theInnerLayer
const unsigned int theInnerLayer
Definition: HitPairGeneratorFromLayerPair.h:69
edm::EventSetup
Definition: EventSetup.h:58
SeedingLayerSetsHits::SeedingLayer
Definition: SeedingLayerSetsHits.h:37
HitPairGeneratorFromLayerPair::~HitPairGeneratorFromLayerPair
~HitPairGeneratorFromLayerPair()
Definition: HitPairGeneratorFromLayerPair.cc:40
ev
bool ev
Definition: Hydjet2Hadronizer.cc:97
SeedingLayerSetsHits::SeedingLayerSet
Definition: SeedingLayerSetsHits.h:65
HitPairGeneratorFromLayerPair::theMaxElement
const unsigned int theMaxElement
Definition: HitPairGeneratorFromLayerPair.h:70
HitPairGeneratorFromLayerPair::doublets
HitDoublets doublets(const TrackingRegion &reg, const edm::Event &ev, const edm::EventSetup &es, Layers layers)
Definition: HitPairGeneratorFromLayerPair.h:24
TrackingRegion
Definition: TrackingRegion.h:41
mps_fire.result
result
Definition: mps_fire.py:311
SurfaceOrientation::outer
Definition: Surface.h:19
edm::Event
Definition: Event.h:73
HitPairGeneratorFromLayerPair::doublets
HitDoublets doublets(const TrackingRegion &reg, const edm::Event &ev, const edm::EventSetup &es, const Layer &innerLayer, const Layer &outerLayer)
Definition: HitPairGeneratorFromLayerPair.h:28
HitPairGeneratorFromLayerPair::doublets
HitDoublets doublets(const TrackingRegion &reg, const edm::Event &ev, const edm::EventSetup &es, Layers layers, LayerCacheType &layerCache)
Definition: HitPairGeneratorFromLayerPair.h:36
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8