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 31 of file HoughHelperFunctions.cxx.

31  {
32  return strip->positionInChamber().x() - tanPhi * strip->positionInChamber().z();
33  }

◆ 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 34 of file HoughHelperFunctions.cxx.

34  {
35  return std::max(targetReso, 3 * DC->uncertainty().x()); // return positional uncertainty defined during SP creation
36  }
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
keylayer_zslicemap.strip
strip
Definition: keylayer_zslicemap.py:151