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 
8 #include "ConversionRegion.h"
9 
10 class DetLayer;
11 class TrackingRegion;
12 
14 
15 public:
16 
20 
22  unsigned int outer,
23  LayerCacheType* layerCache,
24  unsigned int max=0);
25 
27 
28  void hitPairs( const TrackingRegion& reg, OrderedHitPairs & prs,
29  const Layers& layers,
30  const edm::Event & ev, const edm::EventSetup& es);
31 
32  bool failCheckRZCompatibility(const RecHitsSortedInPhi::Hit & hit, const DetLayer& layer, const HitRZCompatibility *checkRZ, const TrackingRegion & region);
33  //void checkPhiRange(double phi1, double phi2);
34 
36  void bubbleSortVsR(int n, double* ax, double* ay, double* aey);
37  bool failCheckSegmentZCompatibility(double &rInn, double &zInnMin, double &zInnMax,
38  double &rInt, double &zIntMin, double &zIntMax,
39  double &rOut, double &zOutMin, double &zOutMax);
40  double getZAtR(double &rInn, double &zInn, double &r, double &rOut, double &zOut);
41  double verySimpleFit(int size, double* ax, double* ay, double* e2y, double& p0, double& e2p0, double& p1);
44 
45 private:
46 
48  const unsigned int theOuterLayer;
49  const unsigned int theInnerLayer;
50  const unsigned int theMaxElement;
51 
52  std::stringstream *ss;
53 
54 };
55 
56 #endif
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
Definition: LayerTriplets.cc:4
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)
tuple size
Write out results.
double getSqrEffectiveErrorOnZ(const RecHitsSortedInPhi::Hit &hit, const TrackingRegion &region)