#include <HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h>
Public Types | |
typedef SeedingLayerSetsHits::SeedingLayer | Layer |
typedef CombinedHitPairGenerator::LayerCacheType | LayerCacheType |
typedef SeedingLayerSetsHits::SeedingLayerSet | Layers |
Public Member Functions | |
void | bubbleSortVsR (int n, double *ax, double *ay, double *aey) |
virtual HitQuadrupletGeneratorFromLayerPairForPhotonConversion * | clone () const |
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) |
virtual void | hitPairs (const TrackingRegion ®, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es) |
HitQuadrupletGeneratorFromLayerPairForPhotonConversion (unsigned int inner, unsigned int outer, LayerCacheType *layerCache, unsigned int nSize=30000, unsigned int max=0) | |
Layer | innerLayer () const |
Layer | outerLayer () const |
void | setSeedingLayers (Layers layers) override |
double | verySimpleFit (int size, double *ax, double *ay, double *e2y, double &p0, double &e2p0, double &p1) |
virtual | ~HitQuadrupletGeneratorFromLayerPairForPhotonConversion () |
Public Member Functions inherited from HitPairGenerator | |
virtual void | clear () |
virtual HitDoublets | doublets (const TrackingRegion ®, const edm::Event &ev, const edm::EventSetup &es) |
HitPairGenerator (unsigned int size=7500) | |
virtual void | hitPairs (const TrackingRegion ®, OrderedHitPairs &prs, const edm::EventSetup &es) |
virtual const OrderedHitPairs & | run (const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es) |
virtual | ~HitPairGenerator () |
Public Member Functions inherited from OrderedHitsGenerator | |
OrderedHitsGenerator () | |
virtual | ~OrderedHitsGenerator () |
Private Attributes | |
std::stringstream * | ss |
const unsigned int | theInnerLayer |
LayerCacheType & | theLayerCache |
const unsigned int | theOuterLayer |
Layers | theSeedingLayers |
Additional Inherited Members | |
Public Attributes inherited from OrderedHitsGenerator | |
unsigned int | theMaxElement |
Definition at line 13 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
typedef SeedingLayerSetsHits::SeedingLayer HitQuadrupletGeneratorFromLayerPairForPhotonConversion::Layer |
Definition at line 19 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
typedef CombinedHitPairGenerator::LayerCacheType HitQuadrupletGeneratorFromLayerPairForPhotonConversion::LayerCacheType |
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 | nSize = 30000 , |
||
unsigned int | max = 0 |
||
) |
Definition at line 35 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References max(), ss, and OrderedHitsGenerator::theMaxElement.
Referenced by clone().
|
inlinevirtual |
Definition at line 27 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
void HitQuadrupletGeneratorFromLayerPairForPhotonConversion::bubbleSortVsR | ( | int | n, |
double * | ax, | ||
double * | ay, | ||
double * | aey | ||
) |
Definition at line 382 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
Referenced by failCheckSlopeTest().
|
inlinevirtual |
Implements HitPairGenerator.
Definition at line 34 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
References HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
bool HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckRZCompatibility | ( | const RecHitsSortedInPhi::Hit & | hit, |
const DetLayer & | layer, | ||
const HitRZCompatibility * | checkRZ, | ||
const TrackingRegion & | region | ||
) |
Definition at line 224 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References Reference_intrackfit_cff::barrel, f, PixelRecoRange< T >::intersection(), DetLayer::location(), PixelRecoRange< T >::min(), nSigmaRZ, TrackingRegion::origin(), HitRZCompatibility::range(), funct::sqr(), mathSSE::sqrt(), ss, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by hitPairs().
bool HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckSegmentZCompatibility | ( | double & | rInn, |
double & | zInnMin, | ||
double & | zInnMax, | ||
double & | rInt, | ||
double & | zIntMin, | ||
double & | zIntMax, | ||
double & | rOut, | ||
double & | zOutMin, | ||
double & | zOutMax | ||
) |
Definition at line 407 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References getZAtR().
Referenced by failCheckSlopeTest().
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 263 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References bubbleSortVsR(), failCheckSegmentZCompatibility(), getEffectiveErrorOnZ(), TrackingRegion::origin(), TrackingRegion::originZBound(), PV3DBase< T, PVType, FrameType >::perp(), alignCSCRings::r, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by hitPairs().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getEffectiveErrorOnZ | ( | const RecHitsSortedInPhi::Hit & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 362 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References TrackingRegion::origin(), PV3DBase< T, PVType, FrameType >::perp(), funct::sqr(), mathSSE::sqrt(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by failCheckSlopeTest().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getSqrEffectiveErrorOnZ | ( | const RecHitsSortedInPhi::Hit & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 351 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References TrackingRegion::origin(), PV3DBase< T, PVType, FrameType >::perp(), funct::sqr(), and PV3DBase< T, PVType, FrameType >::z().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getZAtR | ( | double & | rInn, |
double & | zInn, | ||
double & | r, | ||
double & | rOut, | ||
double & | zOut | ||
) |
Definition at line 435 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
Referenced by failCheckSegmentZCompatibility().
|
virtual |
Implements HitPairGenerator.
Definition at line 48 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References RecHitsSortedInPhi::all(), TrackingRegion::checkRZ(), gather_cfg::cout, reco::deltaPhi(), SeedingLayerSetsHits::SeedingLayer::detLayer(), RecHitsSortedInPhi::empty(), failCheckRZCompatibility(), failCheckSlopeTest(), RecHitsSortedInPhi::hits(), innerLayer(), CommPDSkim_cfg::maxDeltaPhi, SeedingLayerSetsHits::SeedingLayer::name(), outerLayer(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), OrderedHitPairs::size(), ss, theLayerCache, OrderedHitsGenerator::theMaxElement, theOuterLayer, and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Definition at line 38 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
References theInnerLayer, and theSeedingLayers.
Referenced by hitPairs().
|
inline |
Definition at line 39 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
References theOuterLayer, and theSeedingLayers.
Referenced by hitPairs().
|
inlineoverridevirtual |
Implements HitPairGenerator.
Definition at line 29 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
References LayerTriplets::layers(), and theSeedingLayers.
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::verySimpleFit | ( | int | size, |
double * | ax, | ||
double * | ay, | ||
double * | e2y, | ||
double & | p0, | ||
double & | e2p0, | ||
double & | p1 | ||
) |
Definition at line 344 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
|
private |
Definition at line 61 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by failCheckRZCompatibility(), hitPairs(), and HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
|
private |
Definition at line 59 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by innerLayer().
|
private |
Definition at line 56 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 58 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs(), and outerLayer().
|
private |
Definition at line 57 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by innerLayer(), outerLayer(), and setSeedingLayers().