ATLAS Offline Software
Public Types | Static Public Member Functions | Public Attributes | List of all members
MuonR4::SegmentFit::MdtSegmentFitter::Config Struct Reference

#include <MdtSegmentFitter.h>

Collaboration diagram for MuonR4::SegmentFit::MdtSegmentFitter::Config:

Public Types

using RangeArray = std::array< std::array< double, 2 >, Acts::toUnderlying(ParamDefs::nPars)>
 Allowed parameter ranges. More...
 

Static Public Member Functions

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

Public Attributes

unsigned int nMaxCalls {100}
 How many calls shall be executed. More...
 
double tolerance {1.e-7}
 Gradient cut off to declare a fit as converged. More...
 
double angularCalibCutOff {1.*Gaudi::Units::mrad}
 Cutoff on the angular parameter update to keep the calibration on. More...
 
double spatialCalibCuttOff {0.1*Gaudi::Units::mm}
 Cutoff on the spatial paramater update to keep calibration on. More...
 
bool doTimeFit {true}
 Switch toggling whether the T0 shall be fitted or not. More...
 
bool reCalibrate {false}
 Switch toggling whether the calibrator shall be called at each iteration. More...
 
bool useSecOrderDeriv {false}
 Switch toggling whether the second order derivative shall be included. More...
 
bool useFastFit {true}
 Use the fast Straw line fitter if there are only Mdt measurements to fit. More...
 
unsigned int nParsOutOfBounds {1}
 Abort the fit as soon as more than n parameters leave the fit range. More...
 
const ISpacePointCalibratorcalibrator {nullptr}
 Pointer to the calibrator tool. More...
 
unsigned int noMoveIter {2}
 How many iterations with changes below tolerance. More...
 
RangeArray ranges {defaultRanges()}
 

Detailed Description

Definition at line 26 of file MdtSegmentFitter.h.

Member Typedef Documentation

◆ RangeArray

using MuonR4::SegmentFit::MdtSegmentFitter::Config::RangeArray = std::array<std::array<double,2>, Acts::toUnderlying(ParamDefs::nPars)>

Allowed parameter ranges.

Definition at line 53 of file MdtSegmentFitter.h.

Member Function Documentation

◆ defaultRanges()

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

Function that returns a set of predefined ranges for testing.

Definition at line 57 of file MdtSegmentFitter.cxx.

57  {
58  RangeArray rng{};
59  constexpr double spatRang = 10._m;
60  constexpr double timeTange = 25 * Gaudi::Units::ns;
61  rng[toUnderlying(ParamDefs::y0)] = std::array{-spatRang, spatRang};
62  rng[toUnderlying(ParamDefs::x0)] = std::array{-spatRang, spatRang};
63  rng[toUnderlying(ParamDefs::phi)] = std::array{-179._degree, 179._degree};
64  rng[toUnderlying(ParamDefs::theta)] = std::array{-85._degree, 85._degree};
65  rng[toUnderlying(ParamDefs::t0)] = std::array{-timeTange, timeTange};
66  return rng;
67  }

Member Data Documentation

◆ angularCalibCutOff

double MuonR4::SegmentFit::MdtSegmentFitter::Config::angularCalibCutOff {1.*Gaudi::Units::mrad}

Cutoff on the angular parameter update to keep the calibration on.

Definition at line 33 of file MdtSegmentFitter.h.

◆ calibrator

const ISpacePointCalibrator* MuonR4::SegmentFit::MdtSegmentFitter::Config::calibrator {nullptr}

Pointer to the calibrator tool.

Definition at line 49 of file MdtSegmentFitter.h.

◆ doTimeFit

bool MuonR4::SegmentFit::MdtSegmentFitter::Config::doTimeFit {true}

Switch toggling whether the T0 shall be fitted or not.

Definition at line 38 of file MdtSegmentFitter.h.

◆ nMaxCalls

unsigned int MuonR4::SegmentFit::MdtSegmentFitter::Config::nMaxCalls {100}

How many calls shall be executed.

Definition at line 28 of file MdtSegmentFitter.h.

◆ noMoveIter

unsigned int MuonR4::SegmentFit::MdtSegmentFitter::Config::noMoveIter {2}

How many iterations with changes below tolerance.

Definition at line 51 of file MdtSegmentFitter.h.

◆ nParsOutOfBounds

unsigned int MuonR4::SegmentFit::MdtSegmentFitter::Config::nParsOutOfBounds {1}

Abort the fit as soon as more than n parameters leave the fit range.

Definition at line 47 of file MdtSegmentFitter.h.

◆ ranges

RangeArray MuonR4::SegmentFit::MdtSegmentFitter::Config::ranges {defaultRanges()}

Definition at line 57 of file MdtSegmentFitter.h.

◆ reCalibrate

bool MuonR4::SegmentFit::MdtSegmentFitter::Config::reCalibrate {false}

Switch toggling whether the calibrator shall be called at each iteration.

Definition at line 40 of file MdtSegmentFitter.h.

◆ spatialCalibCuttOff

double MuonR4::SegmentFit::MdtSegmentFitter::Config::spatialCalibCuttOff {0.1*Gaudi::Units::mm}

Cutoff on the spatial paramater update to keep calibration on.

Definition at line 36 of file MdtSegmentFitter.h.

◆ tolerance

double MuonR4::SegmentFit::MdtSegmentFitter::Config::tolerance {1.e-7}

Gradient cut off to declare a fit as converged.

Definition at line 30 of file MdtSegmentFitter.h.

◆ useFastFit

bool MuonR4::SegmentFit::MdtSegmentFitter::Config::useFastFit {true}

Use the fast Straw line fitter if there are only Mdt measurements to fit.

Definition at line 45 of file MdtSegmentFitter.h.

◆ useSecOrderDeriv

bool MuonR4::SegmentFit::MdtSegmentFitter::Config::useSecOrderDeriv {false}

Switch toggling whether the second order derivative shall be included.

Definition at line 42 of file MdtSegmentFitter.h.


The documentation for this struct was generated from the following files:
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:67
theta
Scalar theta() const
theta method
Definition: AmgMatrixBasePlugin.h:75
MuonR4::SegmentFit::MdtSegmentFitter::Config::RangeArray
std::array< std::array< double, 2 >, Acts::toUnderlying(ParamDefs::nPars)> RangeArray
Allowed parameter ranges.
Definition: MdtSegmentFitter.h:53
ALFA_EventTPCnv_Dict::t0
std::vector< ALFA_RawData_p1 > t0
Definition: ALFA_EventTPCnvDict.h:42
D3PDTest::rng
uint32_t rng()
Definition: FillerAlg.cxx:40
lumiFormat.array
array
Definition: lumiFormat.py:91
python.SystemOfUnits.ns
float ns
Definition: SystemOfUnits.py:146