#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 MagneticField &field) |
bool | getPhiRange (float &Phimin, float &Phimax, const float &layerR, const ConversionRegion &convRegion, const MagneticField &field) |
HitPairGeneratorFromLayerPairForPhotonConversion (edm::ConsumesCollector iC, 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 edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > | theFieldToken |
const unsigned int | theInnerLayer |
LayerCacheType & | theLayerCache |
const unsigned int | theMaxElement |
const unsigned int | theOuterLayer |
Definition at line 17 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Definition at line 22 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Definition at line 20 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
typedef SeedingLayerSetsHits::SeedingLayerSet HitPairGeneratorFromLayerPairForPhotonConversion::Layers |
Definition at line 21 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
HitPairGeneratorFromLayerPairForPhotonConversion::HitPairGeneratorFromLayerPairForPhotonConversion | ( | edm::ConsumesCollector | iC, |
unsigned int | inner, | ||
unsigned int | outer, | ||
LayerCacheType * | layerCache, | ||
unsigned int | nSize = 30000 , |
||
unsigned int | max = 0 |
||
) |
Definition at line 38 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
bool HitPairGeneratorFromLayerPairForPhotonConversion::checkBoundaries | ( | const DetLayer & | layer, |
const ConversionRegion & | convRegion, | ||
float | maxSearchR, | ||
float | maxSearchZ | ||
) |
Definition at line 231 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::convPoint(), gather_cfg::cout, GeomDetEnumerators::endcap, getLayerRadius(), getLayerZ(), phase1PixelTopology::layer, PV3DBase< T, PVType, FrameType >::perp(), dttmaxenums::R, ss, BeamSpotPI::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 336 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::convPoint(), ConversionRegion::cotTheta(), PVValHelper::dz, ConversionRegion::errTheta(), f, getCot(), PixelRecoRange< T >::intersection(), phase1PixelTopology::layer, nSigmaRZ, ConversionRegion::pvtxPoint(), funct::sqr(), mathSSE::sqrt(), ss, PV3DBase< T, PVType, FrameType >::x(), hit::x, PV3DBase< T, PVType, FrameType >::y(), hit::y, PV3DBase< T, PVType, FrameType >::z(), and hit::z.
Referenced by hitPairs().
|
private |
Definition at line 373 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References funct::abs(), l1ctLayer1_cff::dr, PVValHelper::dz, MillePedeFileConverter_cfg::e, and f.
Referenced by checkRZCompatibilityWithSeedTrack().
float HitPairGeneratorFromLayerPairForPhotonConversion::getLayerRadius | ( | const DetLayer & | layer | ) |
Definition at line 206 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, phase1PixelTopology::layer, and BarrelDetLayer::specificSurface().
Referenced by checkBoundaries(), and getPhiRange().
float HitPairGeneratorFromLayerPairForPhotonConversion::getLayerZ | ( | const DetLayer & | layer | ) |
Definition at line 220 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::endcap, and phase1PixelTopology::layer.
Referenced by checkBoundaries(), and getPhiRange().
bool HitPairGeneratorFromLayerPairForPhotonConversion::getPhiRange | ( | float & | Phimin, |
float & | Phimax, | ||
const DetLayer & | layer, | ||
const ConversionRegion & | convRegion, | ||
const MagneticField & | field | ||
) |
Definition at line 289 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::cotTheta(), GeomDetEnumerators::endcap, getLayerRadius(), getLayerZ(), phase1PixelTopology::layer, ElectronMcFakeValidator_cfi::Phimax, ElectronMcFakeValidator_cfi::Phimin, dttmaxenums::R, and BeamSpotPI::Z.
Referenced by hitPairs().
bool HitPairGeneratorFromLayerPairForPhotonConversion::getPhiRange | ( | float & | Phimin, |
float & | Phimax, | ||
const float & | layerR, | ||
const ConversionRegion & | convRegion, | ||
const MagneticField & | field | ||
) |
Definition at line 304 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References PixelRecoUtilities::bendingRadius(), ConversionRegion::charge(), ConversionRegion::convPoint(), reco::deltaPhi(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), ElectronMcFakeValidator_cfi::Phimax, ElectronMcFakeValidator_cfi::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 51 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References Reference_intrackfit_cff::barrel, checkBoundaries(), checkRZCompatibilityWithSeedTrack(), ConversionRegion::convPoint(), ConversionRegion::cotTheta(), gather_cfg::cout, SeedingLayerSetsHits::SeedingLayer::detLayer(), RecHitsSortedInPhi::empty(), f, edm::EventSetup::getData(), getPhiRange(), RecHitsSortedInPhi::hits(), PixelRecoRange< T >::intersection(), hgcalTopologyTester_cfi::layers, DetLayer::location(), SeedingLayerSetsHits::SeedingLayer::name(), nSigmaRZ, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), HLT_2022v14_cff::region, mps_fire::result, funct::sqr(), mathSSE::sqrt(), ss, theFieldToken, theInnerLayer, theLayerCache, theMaxElement, theOuterLayer, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 67 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by checkBoundaries(), checkRZCompatibilityWithSeedTrack(), and hitPairs().
|
private |
Definition at line 65 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 63 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 61 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.
Referenced by hitPairs().