Classes | |
struct | FieldAt0 |
Functions | |
template<typename T > | |
T | bendingRadius (T pt, const edm::EventSetup &iSetup) |
template<typename T > | |
T | curvature (T InversePt, const edm::EventSetup &iSetup) |
float | fieldInInvGev (const edm::EventSetup &iSetup) |
template<typename T > | |
T | inversePt (T curvature, const edm::EventSetup &iSetup) |
double | longitudinalBendingCorrection (double radius, double pt, const edm::EventSetup &iSetup) |
Small utility funcions used during seed generation
T PixelRecoUtilities::bendingRadius | ( | T | pt, |
const edm::EventSetup & | iSetup | ||
) |
gives bending radius in magnetic field, pT in GeV, magnetic field taken at (0,0,0)
Definition at line 35 of file PixelRecoUtilities.h.
References fieldInInvGev().
Referenced by HitPairGeneratorFromLayerPairForPhotonConversion::getPhiRange(), InnerDeltaPhi::InnerDeltaPhi(), and longitudinalBendingCorrection().
{return pt*fieldInInvGev(iSetup);}
T PixelRecoUtilities::curvature | ( | T | InversePt, |
const edm::EventSetup & | iSetup | ||
) |
gives transverse curvature (=1/radius of curvature) in magnetic field, pT in GeV, magnetic field taken at (0,0,0)
Definition at line 41 of file PixelRecoUtilities.h.
References fieldInInvGev().
Referenced by ClusterShapeTrackFilter::getGlobalDirs(), PixelTripletNoTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), PixelTripletLargeTipGenerator::hitTriplets(), ThirdHitPrediction::isCompatibleWithMultipleScattering(), OutInConversionSeedFinder::makeTrackState(), PathToPlane2Order::operator()(), RectangularEtaPhiTrackingRegion::phiWindow(), L1MuonPixelTrackFitter::run(), TrackFitter::run(), PixelFitterByHelixProjections::run(), and GflashTrajectory::setCurvature().
{return InversePt/fieldInInvGev(iSetup);}
float PixelRecoUtilities::fieldInInvGev | ( | const edm::EventSetup & | iSetup | ) | [inline] |
Magnetic field intensity in units of cm/GeV. The value is cached in a static variable, so the actual MagneticField is accessed only once.
Definition at line 26 of file PixelRecoUtilities.h.
References PixelRecoUtilities::FieldAt0::fieldInInvGev.
Referenced by bendingRadius(), curvature(), pixelrecoutilities::LongitudinalBendingCorrection::init(), and inversePt().
{ static FieldAt0 fieldAt0(iSetup); return fieldAt0.fieldInInvGev; }
T PixelRecoUtilities::inversePt | ( | T | curvature, |
const edm::EventSetup & | iSetup | ||
) |
inverse pt from curvature
Definition at line 45 of file PixelRecoUtilities.h.
References fieldInInvGev().
Referenced by PixelTripletNoTipGenerator::hitTriplets(), PixelFitterByConformalMappingAndLine::run(), TrackFitter::run(), PixelFitterByHelixProjections::run(), and KFBasedPixelFitter::run().
{return curvature*fieldInInvGev(iSetup);}
double PixelRecoUtilities::longitudinalBendingCorrection | ( | double | radius, |
double | pt, | ||
const edm::EventSetup & | iSetup | ||
) | [inline] |
distance between stright line propagation and helix r_stright_line = radius+longitudinalBendingCorrection(radius,pt)
Definition at line 51 of file PixelRecoUtilities.h.
References bendingRadius().
Referenced by RectangularEtaPhiTrackingRegion::estimator().
{ double invCurv = bendingRadius(pt,iSetup); if ( invCurv == 0. ) return 0.; return radius/6. * radius*radius/(2.*invCurv * 2.*invCurv); }