#include <HitPairGeneratorFromLayerPairForPhotonConversion.h>
Public Types | |
typedef ctfseeding::SeedingLayer | Layer |
typedef CombinedHitPairGenerator::LayerCacheType | LayerCacheType |
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 (const Layer &inner, const Layer &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) |
const Layer & | innerLayer () const |
const Layer & | outerLayer () const |
virtual | ~HitPairGeneratorFromLayerPairForPhotonConversion () |
Public Member Functions inherited from HitPairGenerator | |
virtual void | clear () |
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 |
Layer | theInnerLayer |
LayerCacheType & | theLayerCache |
Layer | theOuterLayer |
Additional Inherited Members | |
Public Attributes inherited from OrderedHitsGenerator | |
unsigned int | theMaxElement |
Definition at line 14 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Definition at line 19 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
typedef CombinedHitPairGenerator::LayerCacheType HitPairGeneratorFromLayerPairForPhotonConversion::LayerCacheType |
Definition at line 18 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
HitPairGeneratorFromLayerPairForPhotonConversion::HitPairGeneratorFromLayerPairForPhotonConversion | ( | const Layer & | inner, |
const Layer & | outer, | ||
LayerCacheType * | layerCache, | ||
unsigned int | nSize = 30000 , |
||
unsigned int | max = 0 |
||
) |
Definition at line 37 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 219 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 321 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 35 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
References HitPairGeneratorFromLayerPairForPhotonConversion().
|
private |
Definition at line 358 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References abs, alignCSCRings::e, and f.
Referenced by checkRZCompatibilityWithSeedTrack().
float HitPairGeneratorFromLayerPairForPhotonConversion::getLayerRadius | ( | const DetLayer & | layer | ) |
Definition at line 194 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References GeomDetEnumerators::barrel, BoundSurface::bounds(), DetLayer::location(), Cylinder::radius(), BarrelDetLayer::specificSurface(), GeometricSearchDet::surface(), and Bounds::thickness().
Referenced by checkBoundaries(), and getPhiRange().
float HitPairGeneratorFromLayerPairForPhotonConversion::getLayerZ | ( | const DetLayer & | layer | ) |
Definition at line 208 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References BoundSurface::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 278 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 289 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 50 of file HitPairGeneratorFromLayerPairForPhotonConversion.cc.
References Reference_intrackfit_cff::barrel, checkBoundaries(), TrackingRegion::checkRZ(), checkRZCompatibilityWithSeedTrack(), ConversionRegion::convPoint(), ConversionRegion::cotTheta(), gather_cfg::cout, ctfseeding::SeedingLayer::detLayer(), RecHitsSortedInPhi::empty(), f, getPhiRange(), RecHitsSortedInPhi::hits(), PixelRecoRange< T >::intersection(), DetLayer::location(), PixelRecoRange< T >::min(), ctfseeding::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, OrderedHitsGenerator::theMaxElement, theOuterLayer, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inlinevirtual |
Implements HitPairGenerator.
Definition at line 32 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
|
inline |
Definition at line 39 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
References theInnerLayer.
|
inline |
Definition at line 40 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
References theOuterLayer.
|
private |
Definition at line 59 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by HitPairGeneratorFromLayerPairForPhotonConversion(), and hitPairs().
|
private |
Definition at line 57 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs(), and innerLayer().
|
private |
Definition at line 55 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs().
|
private |
Definition at line 56 of file HitPairGeneratorFromLayerPairForPhotonConversion.h.
Referenced by hitPairs(), and outerLayer().