ATLAS Offline Software
Loading...
Searching...
No Matches
MuonR4::HoughHelpers::Phi Namespace Reference

Functions

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

Function Documentation

◆ houghParamStrip()

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

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

Parameters
tanAlphathe 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 tanAlpha

Definition at line 35 of file HoughHelperFunctions.cxx.

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

◆ houghWidthStrip()

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

Uncertainty parametrisation for strip measurements.

Parameters
tanAlphathe 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 }