#include <HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h>
Public Types | |
typedef SeedingLayerSetsHits::SeedingLayer | Layer |
typedef LayerHitMapCache | LayerCacheType |
typedef SeedingLayerSetsHits::SeedingLayerSet | Layers |
Public Member Functions | |
void | bubbleSortVsR (int n, double *ax, double *ay, double *aey) |
bool | failCheckRZCompatibility (const RecHitsSortedInPhi::Hit &hit, const DetLayer &layer, const HitRZCompatibility *checkRZ, const TrackingRegion ®ion) |
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 ®ion) |
double | getEffectiveErrorOnZ (const RecHitsSortedInPhi::Hit &hit, const TrackingRegion ®ion) |
double | getSqrEffectiveErrorOnZ (const RecHitsSortedInPhi::Hit &hit, const TrackingRegion ®ion) |
double | getZAtR (double &rInn, double &zInn, double &r, double &rOut, double &zOut) |
void | hitPairs (const TrackingRegion ®, OrderedHitPairs &prs, const Layers &layers, const edm::Event &ev, const edm::EventSetup &es) |
HitQuadrupletGeneratorFromLayerPairForPhotonConversion (unsigned int inner, unsigned int outer, LayerCacheType *layerCache, unsigned int max=0) | |
double | verySimpleFit (int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1) |
~HitQuadrupletGeneratorFromLayerPairForPhotonConversion () | |
Private Attributes | |
std::stringstream * | ss |
const unsigned int | theInnerLayer |
LayerCacheType & | theLayerCache |
const unsigned int | theMaxElement |
const unsigned int | theOuterLayer |
Definition at line 13 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
typedef SeedingLayerSetsHits::SeedingLayer HitQuadrupletGeneratorFromLayerPairForPhotonConversion::Layer |
Definition at line 19 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Definition at line 17 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
typedef SeedingLayerSetsHits::SeedingLayerSet HitQuadrupletGeneratorFromLayerPairForPhotonConversion::Layers |
Definition at line 18 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::HitQuadrupletGeneratorFromLayerPairForPhotonConversion | ( | unsigned int | inner, |
unsigned int | outer, | ||
LayerCacheType * | layerCache, | ||
unsigned int | max = 0 |
||
) |
Definition at line 35 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References ss.
|
inline |
Definition at line 26 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
References create_public_lumi_plots::ax, bubbleSortVsR(), ev, failCheckRZCompatibility(), failCheckSegmentZCompatibility(), failCheckSlopeTest(), getEffectiveErrorOnZ(), getSqrEffectiveErrorOnZ(), getZAtR(), hitPairs(), LayerTriplets::layers(), gen::n, p1, alignCSCRings::r, findQualityFiles::size, and verySimpleFit().
void HitQuadrupletGeneratorFromLayerPairForPhotonConversion::bubbleSortVsR | ( | int | n, |
double * | ax, | ||
double * | ay, | ||
double * | aey | ||
) |
Definition at line 381 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References failCheckSegmentZCompatibility(), and mps_fire::i.
Referenced by failCheckSlopeTest(), and ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
bool HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckRZCompatibility | ( | const RecHitsSortedInPhi::Hit & | hit, |
const DetLayer & | layer, | ||
const HitRZCompatibility * | checkRZ, | ||
const TrackingRegion & | region | ||
) |
Definition at line 223 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References Reference_intrackfit_cff::barrel, f, failCheckSlopeTest(), PixelRecoRange< T >::intersection(), DetLayer::location(), PixelRecoRange< T >::min(), nSigmaRZ, TrackingRegion::origin(), HitRZCompatibility::range(), sqr(), mathSSE::sqrt(), ss, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by hitPairs(), and ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
bool HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckSegmentZCompatibility | ( | double & | rInn, |
double & | zInnMin, | ||
double & | zInnMax, | ||
double & | rInt, | ||
double & | zIntMin, | ||
double & | zIntMax, | ||
double & | rOut, | ||
double & | zOutMin, | ||
double & | zOutMax | ||
) |
Definition at line 406 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References getZAtR().
Referenced by bubbleSortVsR(), failCheckSlopeTest(), and ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
bool HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckSlopeTest | ( | const RecHitsSortedInPhi::Hit & | ohit, |
const RecHitsSortedInPhi::Hit & | nohit, | ||
const RecHitsSortedInPhi::Hit & | ihit, | ||
const RecHitsSortedInPhi::Hit & | nihit, | ||
const TrackingRegion & | region | ||
) |
Definition at line 262 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References bubbleSortVsR(), failCheckSegmentZCompatibility(), getEffectiveErrorOnZ(), TrackingRegion::origin(), TrackingRegion::originZBound(), PV3DBase< T, PVType, FrameType >::perp(), alignCSCRings::r, z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by failCheckRZCompatibility(), hitPairs(), and ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getEffectiveErrorOnZ | ( | const RecHitsSortedInPhi::Hit & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 361 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References TrackingRegion::origin(), PV3DBase< T, PVType, FrameType >::perp(), sqr(), mathSSE::sqrt(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by failCheckSlopeTest(), and ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getSqrEffectiveErrorOnZ | ( | const RecHitsSortedInPhi::Hit & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 350 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References TrackingRegion::origin(), PV3DBase< T, PVType, FrameType >::perp(), sqr(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getZAtR | ( | double & | rInn, |
double & | zInn, | ||
double & | r, | ||
double & | rOut, | ||
double & | zOut | ||
) |
Definition at line 434 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
Referenced by failCheckSegmentZCompatibility(), and ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
void HitQuadrupletGeneratorFromLayerPairForPhotonConversion::hitPairs | ( | const TrackingRegion & | reg, |
OrderedHitPairs & | prs, | ||
const Layers & | layers, | ||
const edm::Event & | ev, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 46 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References RecHitsSortedInPhi::all(), PV3DBase< T, PVType, FrameType >::barePhi(), TrackingRegion::checkRZ(), gather_cfg::cout, reco::deltaPhi(), SeedingLayerSetsHits::SeedingLayer::detLayer(), RecHitsSortedInPhi::empty(), failCheckRZCompatibility(), failCheckSlopeTest(), RecHitsSortedInPhi::hits(), fastPrimaryVertexProducer_cfi::maxDeltaPhi, SeedingLayerSetsHits::SeedingLayer::name(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), OrderedHitPairs::size(), ss, theInnerLayer, theLayerCache, theMaxElement, theOuterLayer, and PV3DBase< T, PVType, FrameType >::z().
Referenced by ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::verySimpleFit | ( | int | size, |
double * | ax, | ||
double * | ay, | ||
double * | e2y, | ||
double & | p0, | ||
double & | e2p0, | ||
double & | p1 | ||
) |
Definition at line 343 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
Referenced by ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
|
private |
Definition at line 52 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by failCheckRZCompatibility(), hitPairs(), and HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
|
private |
Definition at line 49 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 47 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 50 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 48 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().