#include <ThirdHitPrediction.h>
Public Types | |
typedef TkTrackingRegionsMargin< float > | Margin |
typedef PixelRecoRange< float > | Range |
Public Member Functions | |
void | getRanges (const DetLayer *layer, float phi[], float rz[]) |
void | getRanges (float rORz, float phi[], float rz[]) |
bool | isCompatibleWithMultipleScattering (GlobalPoint g3, const std::vector< const TrackingRecHit * > &h, std::vector< GlobalVector > &localDirs, const edm::EventSetup &es) |
ThirdHitPrediction (const TrackingRegion ®ion, GlobalPoint inner, GlobalPoint outer, const edm::EventSetup &es, double nSigMultipleScattering, double maxAngleRatio, std::string builderName) | |
~ThirdHitPrediction () | |
Private Member Functions | |
float | angleRatio (const Global2DVector &p3, const Global2DVector &c) |
float | areaParallelogram (const Global2DVector &a, const Global2DVector &b) |
void | calculateRanges (float rz3, float phi[2], float rz[2]) |
void | calculateRangesBarrel (float r3, float phi[2], float z[2], bool keep) |
void | calculateRangesForward (float z3, float phi[2], float r[2], bool keep) |
std::pair< float, float > | findArcIntersection (std::pair< float, float > a, std::pair< float, float > b, bool &keep) |
std::pair< float, float > | findMinimalCircles (float r) |
void | findRectangle (const float x[3], const float y[3], const float par[3], float phi[2], float z[2]) |
std::pair< float, float > | findTouchingCircles (float r) |
void | fitParabola (const float x[3], const float y[3], float par[3]) |
void | initLayer (const DetLayer *layer) |
void | invertCircle (Global2DVector &c, float &r) |
void | invertPoint (Global2DVector &p) |
void | printOut (char *text) |
void | spinCloser (float phi[3]) |
Private Attributes | |
std::pair< float, float > | arc_0m |
float | Bz |
Global2DVector | c0 |
Global2DVector | dif |
GlobalPoint | g1 |
GlobalPoint | g2 |
bool | keep |
double | maxRatio |
double | nSigma |
Global2DVector | p1 |
Global2DVector | p2 |
float | r0 |
float | rm |
bool | theBarrel |
Range | theDetRange |
bool | theForward |
const DetLayer * | theLayer |
PixelRecoLineRZ | theLine |
Margin | theTolerance |
const TransientTrackingRecHitBuilder * | theTTRecHitBuilder |
Definition at line 33 of file ThirdHitPrediction.h.
typedef TkTrackingRegionsMargin<float> ThirdHitPrediction::Margin |
Definition at line 36 of file ThirdHitPrediction.h.
typedef PixelRecoRange<float> ThirdHitPrediction::Range |
Definition at line 35 of file ThirdHitPrediction.h.
ThirdHitPrediction::ThirdHitPrediction | ( | const TrackingRegion & | region, |
GlobalPoint | inner, | ||
GlobalPoint | outer, | ||
const edm::EventSetup & | es, | ||
double | nSigMultipleScattering, | ||
double | maxAngleRatio, | ||
std::string | builderName | ||
) |
Definition at line 19 of file ThirdHitPrediction.cc.
References fftjetpileupestimator_calo_uncalib_cfi::c0, diffTwoXMLs::g1, diffTwoXMLs::g2, edm::EventSetup::get(), MagneticField::inInverseGeV(), SurfaceOrientation::inner, keep, AllPixelTracks_cfi::maxAngleRatio, gsfElectronCkfTrackCandidateMaker_cff::nSigma, AllPixelTracks_cfi::nSigMultipleScattering, TrackingRegion::origin(), TrackingRegion::originRBound(), SurfaceOrientation::outer, p1, p2, edm::ESHandle< T >::product(), TrackingRegion::ptMin(), submit::rm, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by sqr().
ThirdHitPrediction::~ThirdHitPrediction | ( | ) |
Definition at line 58 of file ThirdHitPrediction.cc.
|
private |
Definition at line 187 of file ThirdHitPrediction.cc.
References EnergyCorrector::c, mag2(), p1, and p2.
Referenced by areaParallelogram().
|
private |
Definition at line 180 of file ThirdHitPrediction.cc.
References angleRatio(), PV2DBase< T, PVType, FrameType >::x(), and PV2DBase< T, PVType, FrameType >::y().
Referenced by findRectangle().
|
private |
Definition at line 318 of file ThirdHitPrediction.cc.
References getRanges().
Referenced by calculateRangesForward().
|
private |
Definition at line 209 of file ThirdHitPrediction.cc.
References angle(), EnergyCorrector::c, calculateRangesForward(), funct::cos(), delta, diffTwoXMLs::g1, diffTwoXMLs::g2, mps_fire::i, mag(), p1, p2, p3, PV2DBase< T, PVType, FrameType >::phi(), particleFlowDisplacedVertex_cfi::ratio, funct::sin(), sqr(), and mathSSE::sqrt().
Referenced by spinCloser().
|
private |
Definition at line 265 of file ThirdHitPrediction.cc.
References angle(), EnergyCorrector::c, calculateRanges(), funct::cos(), diffTwoXMLs::g1, diffTwoXMLs::g2, mps_fire::i, PV2DBase< T, PVType, FrameType >::mag(), mag2(), p1, p2, p3, PV2DBase< T, PVType, FrameType >::phi(), particleFlowDisplacedVertex_cfi::ratio, and funct::sin().
Referenced by calculateRangesBarrel().
|
private |
Definition at line 106 of file ThirdHitPrediction.cc.
References EnergyCorrector::c, fitParabola(), M_PI, SiStripPI::max, and min().
Referenced by findTouchingCircles().
|
private |
Definition at line 80 of file ThirdHitPrediction.cc.
|
private |
Definition at line 159 of file ThirdHitPrediction.cc.
References areaParallelogram(), SiStripPI::max, min(), and sqr().
Referenced by fitParabola().
|
private |
Definition at line 92 of file ThirdHitPrediction.cc.
References a, EnergyCorrector::c, fftjetpileupestimator_calo_uncalib_cfi::c0, findArcIntersection(), mag2(), p2, and sqr().
|
private |
Definition at line 137 of file ThirdHitPrediction.cc.
References findRectangle(), indexGen::s2, and sqr().
Referenced by findArcIntersection().
void ThirdHitPrediction::getRanges | ( | const DetLayer * | layer, |
float | phi[], | ||
float | rz[] | ||
) |
Definition at line 331 of file ThirdHitPrediction.cc.
References M_PI, SiStripPI::max, and min().
Referenced by calculateRanges(), and PixelTripletLowPtGenerator::hitTriplets().
void ThirdHitPrediction::getRanges | ( | float | rORz, |
float | phi[], | ||
float | rz[] | ||
) |
Definition at line 370 of file ThirdHitPrediction.cc.
References isCompatibleWithMultipleScattering().
|
private |
Definition at line 465 of file ThirdHitPrediction.cc.
References GeomDetEnumerators::barrel, Surface::bounds(), GeomDetEnumerators::endcap, DetLayer::location(), GeometricSearchDet::position(), TCMET_cfi::radius, BarrelDetLayer::specificSurface(), ForwardDetLayer::surface(), BarrelDetLayer::surface(), Bounds::thickness(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 63 of file ThirdHitPrediction.cc.
References mag2(), p1, alignCSCRings::s, and sqr().
|
private |
Definition at line 72 of file ThirdHitPrediction.cc.
References mag2(), p1, and alignCSCRings::s.
bool ThirdHitPrediction::isCompatibleWithMultipleScattering | ( | GlobalPoint | g3, |
const std::vector< const TrackingRecHit * > & | h, | ||
std::vector< GlobalVector > & | localDirs, | ||
const edm::EventSetup & | es | ||
) |
Definition at line 377 of file ThirdHitPrediction.cc.
References pfBoostedDoubleSVAK8TagInfos_cfi::beta, EnergyCorrector::c, PixelRecoUtilities::curvature(), dir, diffTwoXMLs::g1, diffTwoXMLs::g2, m_pi, mag2(), SiStripPI::max, AnalysisDataFormats_SUSYBSMObjects::msp, gsfElectronCkfTrackCandidateMaker_cff::nSigma, AlCaHLTBitMon_ParallelJobs::p, p1, p2, p3, EnergyCorrector::pt, slope, sqr(), mathSSE::sqrt(), findQualityFiles::v, PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getRanges(), and PixelTripletLowPtGenerator::hitTriplets().
|
private |
|
private |
Definition at line 198 of file ThirdHitPrediction.cc.
References calculateRangesBarrel(), and M_PI.
|
private |
Definition at line 93 of file ThirdHitPrediction.h.
|
private |
Definition at line 90 of file ThirdHitPrediction.h.
|
private |
Definition at line 92 of file ThirdHitPrediction.h.
|
private |
Definition at line 92 of file ThirdHitPrediction.h.
|
private |
Definition at line 91 of file ThirdHitPrediction.h.
|
private |
Definition at line 91 of file ThirdHitPrediction.h.
|
private |
Definition at line 95 of file ThirdHitPrediction.h.
|
private |
Definition at line 98 of file ThirdHitPrediction.h.
|
private |
Definition at line 97 of file ThirdHitPrediction.h.
|
private |
Definition at line 92 of file ThirdHitPrediction.h.
|
private |
Definition at line 92 of file ThirdHitPrediction.h.
|
private |
Definition at line 90 of file ThirdHitPrediction.h.
|
private |
Definition at line 90 of file ThirdHitPrediction.h.
|
private |
Definition at line 80 of file ThirdHitPrediction.h.
|
private |
Definition at line 81 of file ThirdHitPrediction.h.
|
private |
Definition at line 80 of file ThirdHitPrediction.h.
|
private |
Definition at line 85 of file ThirdHitPrediction.h.
|
private |
Definition at line 83 of file ThirdHitPrediction.h.
|
private |
Definition at line 82 of file ThirdHitPrediction.h.
|
private |
Definition at line 87 of file ThirdHitPrediction.h.