CMS 3D CMS Logo

HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h
Go to the documentation of this file.
1 #ifndef HitQuadrupletGeneratorFromLayerPairForPhotonConversion_h
2 #define HitQuadrupletGeneratorFromLayerPairForPhotonConversion_h
3 
7 
8 #include "ConversionRegion.h"
9 
10 class DetLayer;
11 class TrackingRegion;
12 
14 public:
18 
20  unsigned int outer,
21  LayerCacheType *layerCache,
22  unsigned int max = 0);
23 
25 
26  void hitPairs(const TrackingRegion &reg,
27  OrderedHitPairs &prs,
28  const Layers &layers,
29  const edm::Event &ev,
30  const edm::EventSetup &es);
31 
33  const DetLayer &layer,
34  const HitRZCompatibility *checkRZ,
35  const TrackingRegion &region);
36  //void checkPhiRange(double phi1, double phi2);
37 
39  const RecHitsSortedInPhi::Hit &nohit,
40  const RecHitsSortedInPhi::Hit &ihit,
41  const RecHitsSortedInPhi::Hit &nihit,
42  const TrackingRegion &region);
43  void bubbleSortVsR(int n, double *ax, double *ay, double *aey);
44  bool failCheckSegmentZCompatibility(double &rInn,
45  double &zInnMin,
46  double &zInnMax,
47  double &rInt,
48  double &zIntMin,
49  double &zIntMax,
50  double &rOut,
51  double &zOutMin,
52  double &zOutMax);
53  double getZAtR(double &rInn, double &zInn, double &r, double &rOut, double &zOut);
54  double verySimpleFit(int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1);
57 
58 private:
60  const unsigned int theOuterLayer;
61  const unsigned int theInnerLayer;
62  const unsigned int theMaxElement;
63 
64  std::stringstream *ss;
65 };
66 
67 #endif
ConversionRegion.h
OrderedHitPairs
Definition: OrderedHitPairs.h:8
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckSegmentZCompatibility
bool failCheckSegmentZCompatibility(double &rInn, double &zInnMin, double &zInnMax, double &rInt, double &zIntMin, double &zIntMax, double &rOut, double &zOutMin, double &zOutMax)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:389
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::ss
std::stringstream * ss
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:64
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
DetLayer
Definition: DetLayer.h:21
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::Layer
SeedingLayerSetsHits::SeedingLayer Layer
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:17
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getEffectiveErrorOnZ
double getEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit &hit, const TrackingRegion &region)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:344
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::hitPairs
void hitPairs(const TrackingRegion &reg, OrderedHitPairs &prs, const Layers &layers, const edm::Event &ev, const edm::EventSetup &es)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:42
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::theInnerLayer
const unsigned int theInnerLayer
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:61
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::theOuterLayer
const unsigned int theOuterLayer
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:60
LayerHitMapCache.h
LayerHitMapCache
Definition: LayerHitMapCache.h:14
SurfaceOrientation::inner
Definition: Surface.h:19
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::LayerCacheType
LayerHitMapCache LayerCacheType
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:15
RecHitsSortedInPhi::Hit
BaseTrackerRecHit const * Hit
Definition: RecHitsSortedInPhi.h:19
HitRZCompatibility
Definition: HitRZCompatibility.h:8
OrderedHitPairs.h
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckSlopeTest
bool failCheckSlopeTest(const RecHitsSortedInPhi::Hit &ohit, const RecHitsSortedInPhi::Hit &nohit, const RecHitsSortedInPhi::Hit &ihit, const RecHitsSortedInPhi::Hit &nihit, const TrackingRegion &region)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:247
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88271
p1
double p1[4]
Definition: TauolaWrapper.h:89
edm::EventSetup
Definition: EventSetup.h:58
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::~HitQuadrupletGeneratorFromLayerPairForPhotonConversion
~HitQuadrupletGeneratorFromLayerPairForPhotonConversion()
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:24
SeedingLayerSetsHits::SeedingLayer
Definition: SeedingLayerSetsHits.h:37
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getZAtR
double getZAtR(double &rInn, double &zInn, double &r, double &rOut, double &zOut)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:423
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckRZCompatibility
bool failCheckRZCompatibility(const RecHitsSortedInPhi::Hit &hit, const DetLayer &layer, const HitRZCompatibility *checkRZ, const TrackingRegion &region)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:209
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::Layers
SeedingLayerSetsHits::SeedingLayerSet Layers
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:16
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::HitQuadrupletGeneratorFromLayerPairForPhotonConversion
HitQuadrupletGeneratorFromLayerPairForPhotonConversion(unsigned int inner, unsigned int outer, LayerCacheType *layerCache, unsigned int max=0)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:36
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::theLayerCache
LayerCacheType & theLayerCache
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:59
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
SeedingLayerSetsHits::SeedingLayerSet
Definition: SeedingLayerSetsHits.h:65
EventSetup.h
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getSqrEffectiveErrorOnZ
double getSqrEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit &hit, const TrackingRegion &region)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:333
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::theMaxElement
const unsigned int theMaxElement
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:62
TrackingRegion
Definition: TrackingRegion.h:41
HitQuadrupletGeneratorFromLayerPairForPhotonConversion
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h:13
SurfaceOrientation::outer
Definition: Surface.h:19
edm::Event
Definition: Event.h:73
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::bubbleSortVsR
void bubbleSortVsR(int n, double *ax, double *ay, double *aey)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:365
hgcalTopologyTester_cfi.layers
layers
Definition: hgcalTopologyTester_cfi.py:8
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::verySimpleFit
double verySimpleFit(int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1)
Definition: HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc:327
hit
Definition: SiStripHitEffFromCalibTree.cc:88
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443