#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 Layers &layers, const edm::Event &ev, const edm::EventSetup &es) |
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 |
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 225 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, DOFs::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 327 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::convPoint(), ConversionRegion::cotTheta(), allConversions_cfi::dz, 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 getPhiRange(), and hitPairs().
|
private |
Definition at line 364 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References funct::abs(), runTauDisplay::dr, MillePedeFileConverter_cfg::e, and f.
Referenced by checkRZCompatibilityWithSeedTrack().
float HitPairGeneratorFromLayerPairForPhotonConversion::getLayerRadius | ( | const DetLayer & | layer | ) |
Definition at line 200 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 214 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 284 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::cotTheta(), GeomDetEnumerators::endcap, getLayerRadius(), getLayerZ(), DetLayer::location(), dttmaxenums::R, and DOFs::Z.
Referenced by hitPairs().
bool HitPairGeneratorFromLayerPairForPhotonConversion::getPhiRange | ( | float & | Phimin, |
float & | Phimax, | ||
const float & | layerR, | ||
const ConversionRegion & | convRegion, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 295 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References PixelRecoUtilities::bendingRadius(), ConversionRegion::charge(), checkRZCompatibilityWithSeedTrack(), ConversionRegion::convPoint(), reco::deltaPhi(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), dataAnalyzerFineBiningParameters_cff::Phimin, ptmin, funct::sqr(), and mathSSE::sqrt().
void HitPairGeneratorFromLayerPairForPhotonConversion::hitPairs | ( | const ConversionRegion & | convRegion, |
const TrackingRegion & | reg, | ||
OrderedHitPairs & | prs, | ||
const Layers & | layers, | ||
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(), PixelRecoRange< T >::intersection(), DetLayer::location(), SeedingLayerSetsHits::SeedingLayer::name(), nSigmaRZ, TrackingRegion::origin(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), HitRZCompatibility::range(), OrderedHitPairs::size(), funct::sqr(), mathSSE::sqrt(), ss, theInnerLayer, theLayerCache, theMaxElement, theOuterLayer, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 51 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by checkBoundaries(), checkRZCompatibilityWithSeedTrack(), and hitPairs().
|
private |
Definition at line 48 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 46 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 49 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 47 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().