ATLAS Offline Software
Loading...
Searching...
No Matches
MuonR4::SegmentFit::SegmentLineFitter::Config Struct Reference

Full configuration object. More...

#include <SegmentLineFitter.h>

Inheritance diagram for MuonR4::SegmentFit::SegmentLineFitter::Config:
Collaboration diagram for MuonR4::SegmentFit::SegmentLineFitter::Config:

Public Member Functions

 Config ()
 Standard constructor.

Static Public Member Functions

static RangeArray defaultRanges ()
 Function that returns a set of predefined ranges for testing.

Public Attributes

const ISpacePointCalibratorcalibrator {nullptr}
 Pointer to the calibrator.
const MuonValR4::IPatternVisualizationToolvisionTool {nullptr}
 Pointer to the visualization tool.
const Muon::IMuonIdHelperSvcidHelperSvc {nullptr}
 Pointer to the idHelperSvc.
bool doBeamSpot {true}
 Switch to insert a beamspot constraint if possible.
double beamSpotRadius {30.*Gaudi::Units::cm}
 Parameters of the beamspot measurement.
double beamSpotLength {2.*Gaudi::Units::m}
double outlierRemovalCut {5.}
 Cut on the segment chi2 / nDoF to launch the outlier removal.
double recoveryPull {5.}
 Maximum pull on a measurement to add it back on the line.
unsigned nPrecHitCut {3u}
 Minimum number of precision hits.
unsigned nRecoveryLoops {10u}
 Maximum trials to recover outliers.

Detailed Description

Full configuration object.

Definition at line 71 of file SegmentLineFitter.h.

Constructor & Destructor Documentation

◆ Config()

MuonR4::SegmentFit::SegmentLineFitter::Config::Config ( )
inline

Standard constructor.

Definition at line 76 of file SegmentLineFitter.h.

76 {
78 }
static RangeArray defaultRanges()
Function that returns a set of predefined ranges for testing.

Member Function Documentation

◆ defaultRanges()

SegmentLineFitter::Config::RangeArray MuonR4::SegmentFit::SegmentLineFitter::Config::defaultRanges ( )
static

Function that returns a set of predefined ranges for testing.

Definition at line 96 of file SegmentLineFitter.cxx.

96 {
97 RangeArray rng{};
98 constexpr double spatRang = 10._m;
99 constexpr double timeTange = 25._ns;
100 using enum ParamDefs;
101 rng[toUnderlying(y0)] = std::array{-spatRang, spatRang};
102 rng[toUnderlying(x0)] = std::array{-spatRang, spatRang};
103 rng[toUnderlying(phi)] = std::array{-179._degree, 179._degree};
104 rng[toUnderlying(theta)] = std::array{-85._degree, 85._degree};
105 rng[toUnderlying(t0)] = std::array{-timeTange, timeTange};
106 return rng;
107 }
Scalar phi() const
phi method
Scalar theta() const
theta method
static Double_t t0
uint32_t rng()
Definition FillerAlg.cxx:40
SeedingAux::FitParIndex ParamDefs
Use the same parameter indices as used by the CompSpacePointAuxiliaries.

Member Data Documentation

◆ beamSpotLength

double MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::beamSpotLength {2.*Gaudi::Units::m}
inherited

Definition at line 60 of file SegmentLineFitter.h.

60{2.*Gaudi::Units::m};

◆ beamSpotRadius

double MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::beamSpotRadius {30.*Gaudi::Units::cm}
inherited

Parameters of the beamspot measurement.

Definition at line 59 of file SegmentLineFitter.h.

59{30.*Gaudi::Units::cm};

◆ calibrator

const ISpacePointCalibrator* MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::calibrator {nullptr}
inherited

Pointer to the calibrator.

Definition at line 51 of file SegmentLineFitter.h.

51{nullptr};

◆ doBeamSpot

bool MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::doBeamSpot {true}
inherited

Switch to insert a beamspot constraint if possible.

Definition at line 57 of file SegmentLineFitter.h.

57{true};

◆ idHelperSvc

const Muon::IMuonIdHelperSvc* MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::idHelperSvc {nullptr}
inherited

Pointer to the idHelperSvc.

Definition at line 55 of file SegmentLineFitter.h.

55{nullptr};

◆ nPrecHitCut

unsigned MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::nPrecHitCut {3u}
inherited

Minimum number of precision hits.

Definition at line 66 of file SegmentLineFitter.h.

66{3u};

◆ nRecoveryLoops

unsigned MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::nRecoveryLoops {10u}
inherited

Maximum trials to recover outliers.

Definition at line 68 of file SegmentLineFitter.h.

68{10u};

◆ outlierRemovalCut

double MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::outlierRemovalCut {5.}
inherited

Cut on the segment chi2 / nDoF to launch the outlier removal.

Definition at line 62 of file SegmentLineFitter.h.

62{5.};

◆ recoveryPull

double MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::recoveryPull {5.}
inherited

Maximum pull on a measurement to add it back on the line.

Definition at line 64 of file SegmentLineFitter.h.

64{5.};

◆ visionTool

const MuonValR4::IPatternVisualizationTool* MuonR4::SegmentFit::SegmentLineFitter::ConfigSwitches::visionTool {nullptr}
inherited

Pointer to the visualization tool.

Definition at line 53 of file SegmentLineFitter.h.

53{nullptr};

The documentation for this struct was generated from the following files: