#include <HitPairGeneratorFromLayerPairForPhotonConversion.h>
Public Types | |
typedef SeedingLayerSetsHits::SeedingLayer | Layer |
typedef LayerHitMapCache | LayerCacheType |
typedef SeedingLayerSetsHits::SeedingLayerSet | Layers |
Public Member Functions | |
bool | checkBoundaries (const DetLayer &layer, const ConversionRegion &convRegion, float maxSearchR, float maxSearchZ) |
bool | checkRZCompatibilityWithSeedTrack (const RecHitsSortedInPhi::Hit &hit, const DetLayer &layer, const ConversionRegion &convRegion) |
float | getLayerRadius (const DetLayer &layer) |
float | getLayerZ (const DetLayer &layer) |
bool | getPhiRange (float &Phimin, float &Phimax, const DetLayer &layer, const ConversionRegion &convRegion, const edm::EventSetup &es) |
bool | getPhiRange (float &Phimin, float &Phimax, const float &layerR, const ConversionRegion &convRegion, const edm::EventSetup &es) |
HitPairGeneratorFromLayerPairForPhotonConversion (unsigned int inner, unsigned int outer, LayerCacheType *layerCache, unsigned int nSize=30000, unsigned int max=0) | |
void | hitPairs (const ConversionRegion &convRegion, const TrackingRegion ®, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es) |
Layer | innerLayer () const |
Layer | outerLayer () const |
void | setSeedingLayers (Layers layers) |
Private Member Functions | |
double | getCot (double dz, double dr) |
Private Attributes | |
std::stringstream | ss |
const unsigned int | theInnerLayer |
LayerCacheType & | theLayerCache |
const unsigned int | theMaxElement |
const unsigned int | theOuterLayer |
Layers | theSeedingLayers |
Definition at line 13 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Definition at line 19 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Definition at line 17 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
typedef SeedingLayerSetsHits::SeedingLayerSet HitPairGeneratorFromLayerPairForPhotonConversion::Layers |
Definition at line 18 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
HitPairGeneratorFromLayerPairForPhotonConversion::HitPairGeneratorFromLayerPairForPhotonConversion | ( | unsigned int | inner, |
unsigned int | outer, | ||
LayerCacheType * | layerCache, | ||
unsigned int | nSize = 30000 , |
||
unsigned int | max = 0 |
||
) |
Definition at line 37 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
bool HitPairGeneratorFromLayerPairForPhotonConversion::checkBoundaries | ( | const DetLayer & | layer, |
const ConversionRegion & | convRegion, | ||
float | maxSearchR, | ||
float | maxSearchZ | ||
) |
Definition at line 224 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::convPoint(), gather_cfg::cout, GeomDetEnumerators::endcap, getLayerRadius(), getLayerZ(), DetLayer::location(), PV3DBase< T, PVType, FrameType >::perp(), dttmaxenums::R, ss, Gflash::Z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by hitPairs().
bool HitPairGeneratorFromLayerPairForPhotonConversion::checkRZCompatibilityWithSeedTrack | ( | const RecHitsSortedInPhi::Hit & | hit, |
const DetLayer & | layer, | ||
const ConversionRegion & | convRegion | ||
) |
Definition at line 326 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::convPoint(), ConversionRegion::cotTheta(), ConversionRegion::errTheta(), f, getCot(), PixelRecoRange< T >::intersection(), DetLayer::location(), nSigmaRZ, ConversionRegion::pvtxPoint(), funct::sqr(), mathSSE::sqrt(), ss, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by hitPairs().
|
private |
Definition at line 363 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References funct::abs(), alignCSCRings::e, and f.
Referenced by checkRZCompatibilityWithSeedTrack().
float HitPairGeneratorFromLayerPairForPhotonConversion::getLayerRadius | ( | const DetLayer & | layer | ) |
Definition at line 199 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, Surface::bounds(), DetLayer::location(), BarrelDetLayer::specificSurface(), GeometricSearchDet::surface(), and Bounds::thickness().
Referenced by checkBoundaries(), and getPhiRange().
float HitPairGeneratorFromLayerPairForPhotonConversion::getLayerZ | ( | const DetLayer & | layer | ) |
Definition at line 213 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References Surface::bounds(), GeomDetEnumerators::endcap, DetLayer::location(), GeometricSearchDet::position(), GeometricSearchDet::surface(), Bounds::thickness(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by checkBoundaries(), and getPhiRange().
bool HitPairGeneratorFromLayerPairForPhotonConversion::getPhiRange | ( | float & | Phimin, |
float & | Phimax, | ||
const DetLayer & | layer, | ||
const ConversionRegion & | convRegion, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 283 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::cotTheta(), GeomDetEnumerators::endcap, getLayerRadius(), getLayerZ(), DetLayer::location(), dttmaxenums::R, and Gflash::Z.
Referenced by hitPairs().
bool HitPairGeneratorFromLayerPairForPhotonConversion::getPhiRange | ( | float & | Phimin, |
float & | Phimax, | ||
const float & | layerR, | ||
const ConversionRegion & | convRegion, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 294 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References PixelRecoUtilities::bendingRadius(), ConversionRegion::charge(), ConversionRegion::convPoint(), reco::deltaPhi(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), RecoTau_DiTaus_pt_20-420_cfg::Phimin, ptmin, funct::sqr(), and mathSSE::sqrt().
void HitPairGeneratorFromLayerPairForPhotonConversion::hitPairs | ( | const ConversionRegion & | convRegion, |
const TrackingRegion & | reg, | ||
OrderedHitPairs & | prs, | ||
const edm::Event & | ev, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 48 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References Reference_intrackfit_cff::barrel, checkBoundaries(), TrackingRegion::checkRZ(), checkRZCompatibilityWithSeedTrack(), ConversionRegion::convPoint(), ConversionRegion::cotTheta(), gather_cfg::cout, SeedingLayerSetsHits::SeedingLayer::detLayer(), RecHitsSortedInPhi::empty(), f, getPhiRange(), RecHitsSortedInPhi::hits(), innerLayer(), PixelRecoRange< T >::intersection(), DetLayer::location(), SeedingLayerSetsHits::SeedingLayer::name(), nSigmaRZ, TrackingRegion::origin(), outerLayer(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), HitRZCompatibility::range(), OrderedHitPairs::size(), funct::sqr(), mathSSE::sqrt(), ss, theLayerCache, theMaxElement, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Definition at line 44 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
inline |
Definition at line 45 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
inline |
Definition at line 29 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
References LayerTriplets::layers().
|
private |
Definition at line 66 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by checkBoundaries(), checkRZCompatibilityWithSeedTrack(), and hitPairs().
|
private |
Definition at line 63 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
|
private |
Definition at line 60 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 64 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 62 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
|
private |
Definition at line 61 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.