CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h
Go to the documentation of this file.
1 #ifndef HitQuadrupletGeneratorFromLayerPairForPhotonConversion_h
2 #define HitQuadrupletGeneratorFromLayerPairForPhotonConversion_h
3 
7 
9 
10 class DetLayer;
11 class TrackingRegion;
12 
14 
15 public:
16 
20 
22  unsigned int outer,
23  LayerCacheType* layerCache,
24  unsigned int nSize=30000,
25  unsigned int max=0);
26 
28 
30 
31  virtual void hitPairs( const TrackingRegion& reg, OrderedHitPairs & prs,
32  const edm::Event & ev, const edm::EventSetup& es);
33 
36  }
37 
40 
41  bool failCheckRZCompatibility(const RecHitsSortedInPhi::Hit & hit, const DetLayer& layer, const HitRZCompatibility *checkRZ, const TrackingRegion & region);
42  //void checkPhiRange(double phi1, double phi2);
43 
44  bool failCheckSlopeTest(const RecHitsSortedInPhi::Hit & ohit, const RecHitsSortedInPhi::Hit & nohit, const RecHitsSortedInPhi::Hit & ihit, const RecHitsSortedInPhi::Hit & nihit, const TrackingRegion & region);
45  void bubbleSortVsR(int n, double* ax, double* ay, double* aey);
46  bool failCheckSegmentZCompatibility(double &rInn, double &zInnMin, double &zInnMax,
47  double &rInt, double &zIntMin, double &zIntMax,
48  double &rOut, double &zOutMin, 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);
51  double getSqrEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit & hit, const TrackingRegion & region);
52  double getEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit & hit, const TrackingRegion & region);
53 
54 private:
55 
58  const unsigned int theOuterLayer;
59  const unsigned int theInnerLayer;
60 
61  std::stringstream *ss;
62 
63 };
64 
65 #endif
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
Definition: LayerTriplets.cc:4
virtual HitQuadrupletGeneratorFromLayerPairForPhotonConversion * clone() const
HitQuadrupletGeneratorFromLayerPairForPhotonConversion(unsigned int inner, unsigned int outer, LayerCacheType *layerCache, unsigned int nSize=30000, unsigned int max=0)
bool ev
virtual void hitPairs(const TrackingRegion &reg, OrderedHitPairs &prs, 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)
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)
tuple size
Write out results.
double getSqrEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit &hit, const TrackingRegion &region)