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);
55  double getSqrEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit &hit, const TrackingRegion &region);
56  double getEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit &hit, const TrackingRegion &region);
57 
58 private:
59  LayerCacheType &theLayerCache;
60  const unsigned int theOuterLayer;
61  const unsigned int theInnerLayer;
62  const unsigned int theMaxElement;
63 
64  std::stringstream *ss;
65 };
66 
67 #endif
size
Write out results.
bool ev
void hitPairs(const TrackingRegion &reg, OrderedHitPairs &prs, const Layers &layers, const edm::Event &ev, const edm::EventSetup &es)
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 p1[4]
Definition: TauolaWrapper.h:89
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)