#include <HitPairGeneratorFromLayerPairForPhotonConversion.h>
Public Types | |
typedef SeedingLayerSetsHits::SeedingLayer | Layer |
typedef CombinedHitPairGenerator::LayerCacheType | 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) |
virtual HitPairGeneratorFromLayerPairForPhotonConversion * | clone () const |
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) |
virtual void | hitPairs (const TrackingRegion ®, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es) |
Layer | innerLayer () const |
Layer | outerLayer () const |
void | setSeedingLayers (Layers layers) override |
virtual | ~HitPairGeneratorFromLayerPairForPhotonConversion () |
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 Member Functions | |
double | getCot (double dz, double dr) |
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 HitPairGeneratorFromLayerPairForPhotonConversion.h.
Definition at line 19 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
typedef CombinedHitPairGenerator::LayerCacheType HitPairGeneratorFromLayerPairForPhotonConversion::LayerCacheType |
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 35 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References max(), ss, and OrderedHitsGenerator::theMaxElement.
Referenced by clone().
|
inlinevirtual |
Definition at line 27 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
bool HitPairGeneratorFromLayerPairForPhotonConversion::checkBoundaries | ( | const DetLayer & | layer, |
const ConversionRegion & | convRegion, | ||
float | maxSearchR, | ||
float | maxSearchZ | ||
) |
Definition at line 222 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, 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 324 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, ConversionRegion::convPoint(), ConversionRegion::cotTheta(), ConversionRegion::errTheta(), f, getCot(), PixelRecoRange< T >::intersection(), DetLayer::location(), PixelRecoRange< T >::min(), nSigmaRZ, ConversionRegion::pvtxPoint(), funct::sqr(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by hitPairs().
|
inlinevirtual |
Implements HitPairGenerator.
Definition at line 37 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
References HitPairGeneratorFromLayerPairForPhotonConversion().
|
private |
Definition at line 361 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References funct::abs(), alignCSCRings::e, and f.
Referenced by checkRZCompatibilityWithSeedTrack().
float HitPairGeneratorFromLayerPairForPhotonConversion::getLayerRadius | ( | const DetLayer & | layer | ) |
Definition at line 197 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 211 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 281 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 292 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(), PixelRecoRange< T >::min(), 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, OrderedHitsGenerator::theMaxElement, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inlinevirtual |
Implements HitPairGenerator.
Definition at line 34 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
|
inline |
Definition at line 41 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
References theInnerLayer, and theSeedingLayers.
Referenced by hitPairs().
|
inline |
Definition at line 42 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
References theOuterLayer, and theSeedingLayers.
Referenced by hitPairs().
|
inlineoverridevirtual |
Implements HitPairGenerator.
Definition at line 29 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
References LayerTriplets::layers(), and theSeedingLayers.
|
private |
Definition at line 62 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by HitPairGeneratorFromLayerPairForPhotonConversion(), and hitPairs().
|
private |
Definition at line 60 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by innerLayer().
|
private |
Definition at line 57 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 59 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by outerLayer().
|
private |
Definition at line 58 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by innerLayer(), outerLayer(), and setSeedingLayers().