#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 24 of file ThirdHitPrediction.cc.
References diffTwoXMLs::g1, diffTwoXMLs::g2, edm::EventSetup::get(), SurfaceOrientation::inner, keep, HLT_ES_cff::magfield, HLT_FULL_cff::maxRatio, HLT_FULL_cff::nSigma, TrackingRegion::origin(), TrackingRegion::originRBound(), SurfaceOrientation::outer, p1, p2, TrackingRegion::ptMin(), submit::rm, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
ThirdHitPrediction::~ThirdHitPrediction | ( | ) |
Definition at line 63 of file ThirdHitPrediction.cc.
|
private |
Definition at line 192 of file ThirdHitPrediction.cc.
References EnergyCorrector::c, mag2(), p1, and p2.
|
private |
Definition at line 185 of file ThirdHitPrediction.cc.
References PV2DBase< T, PVType, FrameType >::x(), and PV2DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 323 of file ThirdHitPrediction.cc.
|
private |
Definition at line 214 of file ThirdHitPrediction.cc.
References angle(), EnergyCorrector::c, funct::cos(), delta, diffTwoXMLs::g1, diffTwoXMLs::g2, i, mag(), p1, p2, p3, PV2DBase< T, PVType, FrameType >::phi(), funct::sin(), funct::sqr(), and mathSSE::sqrt().
|
private |
Definition at line 270 of file ThirdHitPrediction.cc.
References angle(), EnergyCorrector::c, funct::cos(), diffTwoXMLs::g1, diffTwoXMLs::g2, i, PV2DBase< T, PVType, FrameType >::mag(), mag2(), HLT_FULL_cff::maxRatio, p1, p2, p3, PV2DBase< T, PVType, FrameType >::phi(), and funct::sin().
|
private |
Definition at line 111 of file ThirdHitPrediction.cc.
References EnergyCorrector::c, M_PI, bookConverter::max, and min().
|
private |
|
private |
Definition at line 164 of file ThirdHitPrediction.cc.
References bookConverter::max, min(), and funct::sqr().
|
private |
Definition at line 97 of file ThirdHitPrediction.cc.
References a, EnergyCorrector::c, mag2(), p2, phi(), and funct::sqr().
|
private |
void ThirdHitPrediction::getRanges | ( | const DetLayer * | layer, |
float | phi[], | ||
float | rz[] | ||
) |
Definition at line 336 of file ThirdHitPrediction.cc.
References M_PI, bookConverter::max, and min().
Referenced by PixelTripletLowPtGenerator::hitTriplets().
void ThirdHitPrediction::getRanges | ( | float | rORz, |
float | phi[], | ||
float | rz[] | ||
) |
Definition at line 375 of file ThirdHitPrediction.cc.
|
private |
Definition at line 470 of file ThirdHitPrediction.cc.
References GeomDetEnumerators::barrel, Surface::bounds(), GeomDetEnumerators::endcap, DetLayer::location(), GeometricSearchDet::position(), CosmicsPD_Skims::radius, BarrelDetLayer::specificSurface(), ForwardDetLayer::surface(), BarrelDetLayer::surface(), Bounds::thickness(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 68 of file ThirdHitPrediction.cc.
References mag2(), p1, alignCSCRings::s, and funct::sqr().
|
private |
Definition at line 77 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 382 of file ThirdHitPrediction.cc.
References beta, EnergyCorrector::c, PixelRecoUtilities::curvature(), dir, diffTwoXMLs::g1, diffTwoXMLs::g2, m_pi, mag2(), bookConverter::max, AnalysisDataFormats_SUSYBSMObjects::msp, HLT_FULL_cff::nSigma, AlCaHLTBitMon_ParallelJobs::p, p1, p2, p3, EnergyCorrector::pt, slope, funct::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 PixelTripletLowPtGenerator::hitTriplets().
|
private |
|
private |
Definition at line 203 of file ThirdHitPrediction.cc.
References 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.