CMS 3D CMS Logo

HitPairGeneratorFromLayerPairForPhotonConversion.h
Go to the documentation of this file.
1 #ifndef HitPairGeneratorFromLayerPairForPhotonConversion_h
2 #define HitPairGeneratorFromLayerPairForPhotonConversion_h
3 
8 
9 #include "ConversionRegion.h"
10 
11 class DetLayer;
12 class TrackingRegion;
13 
14 class dso_hidden HitPairGeneratorFromLayerPairForPhotonConversion { // : public HitPairGenerator {
15 
16 public:
20 
22  unsigned int outer,
23  LayerCacheType* layerCache,
24  unsigned int nSize = 30000,
25  unsigned int max = 0);
26 
27  // virtual ~HitPairGeneratorFromLayerPairForPhotonConversion() { }
28 
29  void hitPairs(const ConversionRegion& convRegion,
30  const TrackingRegion& reg,
31  OrderedHitPairs& prs,
32  const Layers& layers,
33  const edm::Event& ev,
34  const edm::EventSetup& es);
35 
36  float getLayerRadius(const DetLayer& layer);
37  float getLayerZ(const DetLayer& layer);
38 
39  bool checkBoundaries(const DetLayer& layer, const ConversionRegion& convRegion, float maxSearchR, float maxSearchZ);
40  bool getPhiRange(float& Phimin,
41  float& Phimax,
42  const DetLayer& layer,
43  const ConversionRegion& convRegion,
44  const edm::EventSetup& es);
45  bool getPhiRange(
46  float& Phimin, float& Phimax, const float& layerR, const ConversionRegion& convRegion, const edm::EventSetup& es);
47  bool checkRZCompatibilityWithSeedTrack(const RecHitsSortedInPhi::Hit& hit,
48  const DetLayer& layer,
49  const ConversionRegion& convRegion);
50 
51 private:
52  double getCot(double dz, double dr);
53 
55  const unsigned int theOuterLayer;
56  const unsigned int theInnerLayer;
57  const unsigned int theMaxElement;
58 
59  std::stringstream ss;
60 };
61 
62 #endif
ConversionRegion
Definition: ConversionRegion.h:8
ConversionRegion.h
Visibility.h
OrderedHitPairs
Definition: OrderedHitPairs.h:8
HitPairGeneratorFromLayerPairForPhotonConversion::Layer
SeedingLayerSetsHits::SeedingLayer Layer
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:19
DetLayer
Definition: DetLayer.h:21
HitPairGeneratorFromLayerPairForPhotonConversion::theOuterLayer
const unsigned int theOuterLayer
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:55
HitPairGeneratorFromLayerPairForPhotonConversion::ss
std::stringstream ss
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:59
HitPairGeneratorFromLayerPairForPhotonConversion::theInnerLayer
const unsigned int theInnerLayer
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:56
HitPairGeneratorFromLayerPairForPhotonConversion
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:14
LayerHitMapCache.h
LayerHitMapCache
Definition: LayerHitMapCache.h:14
SurfaceOrientation::inner
Definition: Surface.h:19
HitPairGenerator.h
RecHitsSortedInPhi::Hit
BaseTrackerRecHit const * Hit
Definition: RecHitsSortedInPhi.h:19
dso_hidden
#define dso_hidden
Definition: Visibility.h:12
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
edm::EventSetup
Definition: EventSetup.h:58
HitPairGeneratorFromLayerPairForPhotonConversion::Layers
SeedingLayerSetsHits::SeedingLayerSet Layers
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:18
SeedingLayerSetsHits::SeedingLayer
Definition: SeedingLayerSetsHits.h:37
PVValHelper::dz
Definition: PVValidationHelpers.h:51
ev
bool ev
Definition: Hydjet2Hadronizer.cc:97
flavorHistoryFilter_cfi.dr
dr
Definition: flavorHistoryFilter_cfi.py:37
SeedingLayerSetsHits::SeedingLayerSet
Definition: SeedingLayerSetsHits.h:65
EventSetup.h
TrackingRegion
Definition: TrackingRegion.h:41
dataAnalyzerFineBiningParameters_cff.Phimax
Phimax
Definition: dataAnalyzerFineBiningParameters_cff.py:7
HitPairGeneratorFromLayerPairForPhotonConversion::LayerCacheType
LayerHitMapCache LayerCacheType
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:17
HitPairGeneratorFromLayerPairForPhotonConversion::theMaxElement
const unsigned int theMaxElement
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:57
SurfaceOrientation::outer
Definition: Surface.h:19
dataAnalyzerFineBiningParameters_cff.Phimin
Phimin
Definition: dataAnalyzerFineBiningParameters_cff.py:8
edm::Event
Definition: Event.h:73
HitPairGeneratorFromLayerPairForPhotonConversion::theLayerCache
LayerCacheType & theLayerCache
Definition: HitPairGeneratorFromLayerPairForPhotonConversion.h:54
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8
hit
Definition: SiStripHitEffFromCalibTree.cc:88
fireworks::getPhiRange
std::pair< double, double > getPhiRange(const std::vector< double > &phis, double phi)
Definition: BuilderUtils.cc:21