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, OrderedHitPairs &prs, const Layers &layers);
27 
29  const DetLayer &layer,
30  const HitRZCompatibility *checkRZ,
31  const TrackingRegion &region);
32  //void checkPhiRange(double phi1, double phi2);
33 
35  const RecHitsSortedInPhi::Hit &nohit,
36  const RecHitsSortedInPhi::Hit &ihit,
37  const RecHitsSortedInPhi::Hit &nihit,
38  const TrackingRegion &region);
39  void bubbleSortVsR(int n, double *ax, double *ay, double *aey);
40  bool failCheckSegmentZCompatibility(double &rInn,
41  double &zInnMin,
42  double &zInnMax,
43  double &rInt,
44  double &zIntMin,
45  double &zIntMax,
46  double &rOut,
47  double &zOutMin,
48  double &zOutMax);
49  double getZAtR(double &rInn, double &zInn, double &r, double &rOut, double &zOut);
50  double verySimpleFit(int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1);
53 
54 private:
56  const unsigned int theOuterLayer;
57  const unsigned int theInnerLayer;
58  const unsigned int theMaxElement;
59 
60  std::stringstream *ss;
61 };
62 
63 #endif
size
Write out results.
void hitPairs(const TrackingRegion &reg, OrderedHitPairs &prs, const Layers &layers)
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
bool failCheckSegmentZCompatibility(double &rInn, double &zInnMin, double &zInnMax, double &rInt, double &zIntMin, double &zIntMax, double &rOut, double &zOutMin, double &zOutMax)
HitQuadrupletGeneratorFromLayerPairForPhotonConversion(unsigned int inner, unsigned int outer, LayerCacheType *layerCache, unsigned int max=0)
bool failCheckSlopeTest(const RecHitsSortedInPhi::Hit &ohit, const RecHitsSortedInPhi::Hit &nohit, const RecHitsSortedInPhi::Hit &ihit, const RecHitsSortedInPhi::Hit &nihit, const TrackingRegion &region)
BaseTrackerRecHit const * Hit
double getEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit &hit, const TrackingRegion &region)
double verySimpleFit(int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1)
double getZAtR(double &rInn, double &zInn, double &r, double &rOut, double &zOut)
bool failCheckRZCompatibility(const RecHitsSortedInPhi::Hit &hit, const DetLayer &layer, const HitRZCompatibility *checkRZ, const TrackingRegion &region)
double getSqrEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit &hit, const TrackingRegion &region)