ATLAS Offline Software
Functions
MuonR4::HoughHelpers::Phi Namespace Reference

Functions

double houghParamStrip (double tanPhi, const MuonR4::HoughHitType &dc)
 straight line parametrisation for strip detector measurements, in the x-direction More...
 
double houghWidthStrip (double tanPhi, const MuonR4::HoughHitType &dc, double targetReso)
 Uncertainty parametrisation for strip measurements. More...
 

Function Documentation

◆ houghParamStrip()

double MuonR4::HoughHelpers::Phi::houghParamStrip ( double  tanPhi,
const MuonR4::HoughHitType dc 
)

straight line parametrisation for strip detector measurements, in the x-direction

Parameters
tanPhithe input inclination angle
stripthe strip measurement (expressed as a space point)
Returns
the x offset needed to pass through the center of the strip space point for an inclination angle tanPhi

Definition at line 35 of file HoughHelperFunctions.cxx.

35  {
36  return strip->localPosition().x() - tanPhi * strip->localPosition().z();
37  }

◆ houghWidthStrip()

double MuonR4::HoughHelpers::Phi::houghWidthStrip ( double  tanPhi,
const MuonR4::HoughHitType dc,
double  targetReso 
)

Uncertainty parametrisation for strip measurements.

Parameters
tanPhithe input inclination angle (not used)
stripthe strip measurement (expressed as a space point)
Returns
the uncertainty on the x offset - based on the strip pitch

Definition at line 38 of file HoughHelperFunctions.cxx.

38  {
39  const double nomCov = 3.*std::sqrt(strip->covariance()[Acts::toUnderlying(AxisDefs::phiCov)]);
40  return std::max(targetReso, 3 * nomCov); // return positional uncertainty defined during SP creation
41  }
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
keylayer_zslicemap.strip
strip
Definition: keylayer_zslicemap.py:151