#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 17 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Definition at line 15 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
typedef SeedingLayerSetsHits::SeedingLayerSet HitQuadrupletGeneratorFromLayerPairForPhotonConversion::Layers |
Definition at line 16 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
HitQuadrupletGeneratorFromLayerPairForPhotonConversion::HitQuadrupletGeneratorFromLayerPairForPhotonConversion | ( | unsigned int | inner, |
unsigned int | outer, | ||
LayerCacheType * | layerCache, | ||
unsigned int | max = 0 |
||
) |
Definition at line 36 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References ss.
|
inline |
Definition at line 24 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
void HitQuadrupletGeneratorFromLayerPairForPhotonConversion::bubbleSortVsR | ( | int | n, |
double * | ax, | ||
double * | ay, | ||
double * | aey | ||
) |
Definition at line 365 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References mps_fire::i, dqmiolumiharvest::j, and dqmiodumpmetadata::n.
Referenced by failCheckSlopeTest().
bool HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckRZCompatibility | ( | const RecHitsSortedInPhi::Hit & | hit, |
const DetLayer & | layer, | ||
const HitRZCompatibility * | checkRZ, | ||
const TrackingRegion & | region | ||
) |
Definition at line 209 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References Reference_intrackfit_cff::barrel, f, PixelRecoRange< T >::intersection(), DetLayer::location(), PixelRecoRange< T >::min(), nSigmaRZ, HitRZCompatibility::range(), HLT_2018_cff::region, sqr(), mathSSE::sqrt(), ss, hit::x, hit::y, and hit::z.
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 389 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 247 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References bubbleSortVsR(), failCheckSegmentZCompatibility(), getEffectiveErrorOnZ(), alignCSCRings::r, HLT_2018_cff::region, and z.
Referenced by hitPairs().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getEffectiveErrorOnZ | ( | const RecHitsSortedInPhi::Hit & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 344 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References HLT_2018_cff::region, sqr(), mathSSE::sqrt(), and hit::z.
Referenced by failCheckSlopeTest().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getSqrEffectiveErrorOnZ | ( | const RecHitsSortedInPhi::Hit & | hit, |
const TrackingRegion & | region | ||
) |
Definition at line 333 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References HLT_2018_cff::region, sqr(), and hit::z.
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::getZAtR | ( | double & | rInn, |
double & | zInn, | ||
double & | r, | ||
double & | rOut, | ||
double & | zOut | ||
) |
Definition at line 423 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References alignCSCRings::r.
Referenced by failCheckSegmentZCompatibility().
void HitQuadrupletGeneratorFromLayerPairForPhotonConversion::hitPairs | ( | const TrackingRegion & | reg, |
OrderedHitPairs & | prs, | ||
const Layers & | layers, | ||
const edm::Event & | ev, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 42 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
References RecHitsSortedInPhi::all(), PV3DBase< T, PVType, FrameType >::barePhi(), gather_cfg::cout, reco::deltaPhi(), SeedingLayerSetsHits::SeedingLayer::detLayer(), RecHitsSortedInPhi::empty(), failCheckRZCompatibility(), failCheckSlopeTest(), RecHitsSortedInPhi::hits(), hgcalTopologyTester_cfi::layers, CommPDSkim_cfg::maxDeltaPhi, SeedingLayerSetsHits::SeedingLayer::name(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), HLT_2018_cff::region, mps_fire::result, ss, theInnerLayer, theLayerCache, theMaxElement, theOuterLayer, and PV3DBase< T, PVType, FrameType >::z().
double HitQuadrupletGeneratorFromLayerPairForPhotonConversion::verySimpleFit | ( | int | size, |
double * | ax, | ||
double * | ay, | ||
double * | e2y, | ||
double & | p0, | ||
double & | e2p0, | ||
double & | p1 | ||
) |
Definition at line 327 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.cc.
|
private |
Definition at line 64 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by failCheckRZCompatibility(), hitPairs(), and HitQuadrupletGeneratorFromLayerPairForPhotonConversion().
|
private |
Definition at line 61 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 59 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 62 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 60 of file HitQuadrupletGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().