#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 MultipleScatteringParametrisationMaker &msmaker) |
ThirdHitPrediction (const TrackingRegion ®ion, GlobalPoint inner, GlobalPoint outer, const MagneticField &magfield, const TransientTrackingRecHitBuilder &ttrhBuilder, double nSigMultipleScattering, double maxAngleRatio) | |
~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 35 of file ThirdHitPrediction.h.
typedef TkTrackingRegionsMargin<float> ThirdHitPrediction::Margin |
Definition at line 38 of file ThirdHitPrediction.h.
typedef PixelRecoRange<float> ThirdHitPrediction::Range |
Definition at line 37 of file ThirdHitPrediction.h.
ThirdHitPrediction::ThirdHitPrediction | ( | const TrackingRegion & | region, |
GlobalPoint | inner, | ||
GlobalPoint | outer, | ||
const MagneticField & | magfield, | ||
const TransientTrackingRecHitBuilder & | ttrhBuilder, | ||
double | nSigMultipleScattering, | ||
double | maxAngleRatio | ||
) |
Definition at line 18 of file ThirdHitPrediction.cc.
References fftjetpileupestimator_calo_uncalib_cfi::c0, diffTwoXMLs::g1, diffTwoXMLs::g2, SurfaceOrientation::inner, runTheMatrix::keep, volumeBasedMagneticField_160812_cfi::magfield, AllPixelTracks_cfi::maxAngleRatio, HLTSiStripMonitoring_cff::nSigma, AllPixelTracks_cfi::nSigMultipleScattering, SurfaceOrientation::outer, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, HLT_2022v15_cff::region, and eostools::rm().
ThirdHitPrediction::~ThirdHitPrediction | ( | ) |
Definition at line 52 of file ThirdHitPrediction.cc.
|
private |
Definition at line 167 of file ThirdHitPrediction.cc.
References c, mag2(), LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, and chargedHadronTrackResolutionFilter_cfi::p3.
|
private |
Definition at line 162 of file ThirdHitPrediction.cc.
|
private |
Definition at line 284 of file ThirdHitPrediction.cc.
References runTheMatrix::keep.
|
private |
Definition at line 190 of file ThirdHitPrediction.cc.
References angle(), c, funct::cos(), dumpMFGeometry_cfg::delta, diffTwoXMLs::g1, diffTwoXMLs::g2, mps_fire::i, runTheMatrix::keep, mag(), LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, particleFlowDisplacedVertex_cfi::ratio, funct::sin(), sqr(), and mathSSE::sqrt().
|
private |
Definition at line 238 of file ThirdHitPrediction.cc.
References angle(), c, funct::cos(), diffTwoXMLs::g1, diffTwoXMLs::g2, mps_fire::i, runTheMatrix::keep, mag2(), LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, particleFlowDisplacedVertex_cfi::ratio, funct::sin(), and x.
|
private |
Definition at line 91 of file ThirdHitPrediction.cc.
References a, b, c, runTheMatrix::keep, M_PI, SiStripPI::max, and SiStripPI::min.
|
private |
Definition at line 70 of file ThirdHitPrediction.cc.
|
private |
Definition at line 140 of file ThirdHitPrediction.cc.
References SiStripPI::max, SiStripPI::min, sqr(), and x.
|
private |
Definition at line 80 of file ThirdHitPrediction.cc.
References a, c, fftjetpileupestimator_calo_uncalib_cfi::c0, mag2(), SiStripOfflineCRack_cfg::p2, and sqr().
|
private |
void ThirdHitPrediction::getRanges | ( | const DetLayer * | layer, |
float | phi[], | ||
float | rz[] | ||
) |
Definition at line 299 of file ThirdHitPrediction.cc.
References M_PI, SiStripPI::max, and SiStripPI::min.
Referenced by PixelTripletLowPtGenerator::hitTriplets().
void ThirdHitPrediction::getRanges | ( | float | rORz, |
float | phi[], | ||
float | rz[] | ||
) |
Definition at line 337 of file ThirdHitPrediction.cc.
|
private |
Definition at line 426 of file ThirdHitPrediction.cc.
References GeomDetEnumerators::barrel, Surface::bounds(), GeomDetEnumerators::endcap, GeometricSearchDet::position(), CosmicsPD_Skims::radius, BarrelDetLayer::specificSurface(), BarrelDetLayer::surface(), ForwardDetLayer::surface(), Bounds::thickness(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 55 of file ThirdHitPrediction.cc.
References c, mag2(), LaserDQM_cfg::p1, alignCSCRings::s, and sqr().
|
private |
Definition at line 63 of file ThirdHitPrediction.cc.
References mag2(), AlCaHLTBitMon_ParallelJobs::p, LaserDQM_cfg::p1, and alignCSCRings::s.
bool ThirdHitPrediction::isCompatibleWithMultipleScattering | ( | GlobalPoint | g3, |
const std::vector< const TrackingRecHit *> & | h, | ||
std::vector< GlobalVector > & | localDirs, | ||
const MultipleScatteringParametrisationMaker & | msmaker | ||
) |
Definition at line 340 of file ThirdHitPrediction.cc.
References HLT_2022v15_cff::beta, c, PixelRecoUtilities::curvature(), DeadROC_duringRun::dir, diffTwoXMLs::g1, diffTwoXMLs::g2, h, m_pi, mag2(), SiStripPI::max, HLTSiStripMonitoring_cff::nSigma, AlCaHLTBitMon_ParallelJobs::p, LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, chargedHadronTrackResolutionFilter_cfi::p3, MultipleScatteringParametrisationMaker::parametrisation(), DiDispStaMuonMonitor_cfi::pt, sigma_z, slope, sqr(), mathSSE::sqrt(), findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PixelTripletLowPtGenerator::hitTriplets().
|
private |
|
private |
|
private |
Definition at line 95 of file ThirdHitPrediction.h.
|
private |
Definition at line 92 of file ThirdHitPrediction.h.
|
private |
Definition at line 94 of file ThirdHitPrediction.h.
|
private |
Definition at line 94 of file ThirdHitPrediction.h.
|
private |
Definition at line 93 of file ThirdHitPrediction.h.
|
private |
Definition at line 93 of file ThirdHitPrediction.h.
|
private |
Definition at line 97 of file ThirdHitPrediction.h.
|
private |
Definition at line 100 of file ThirdHitPrediction.h.
|
private |
Definition at line 99 of file ThirdHitPrediction.h.
|
private |
Definition at line 94 of file ThirdHitPrediction.h.
|
private |
Definition at line 94 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 82 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.
|
private |
Definition at line 85 of file ThirdHitPrediction.h.
|
private |
Definition at line 84 of file ThirdHitPrediction.h.
|
private |
Definition at line 89 of file ThirdHitPrediction.h.