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

#include <MdtSegmentFitter.h>

Collaboration diagram for MuonR4::MdtSegmentFitter::Config:

Public Types

using RangeArray = std::array< std::array< double, 2 >, SegmentFit::toInt(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. 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...
 
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

Allowed parameter ranges.

Definition at line 44 of file MdtSegmentFitter.h.

Member Function Documentation

◆ defaultRanges()

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

Function that returns a set of predefined ranges for testing.

Definition at line 40 of file MdtSegmentFitter.cxx.

40  {
41  RangeArray rng{};
42  constexpr double spatRang = 10.*Gaudi::Units::m;
43  constexpr double timeTange = 25 * Gaudi::Units::ns;
44  rng[toInt(ParamDefs::y0)] = std::array{-spatRang, spatRang};
45  rng[toInt(ParamDefs::x0)] = std::array{-spatRang, spatRang};
48  rng[toInt(ParamDefs::time)] = std::array{-timeTange, timeTange};
49  return rng;
50  }

Member Data Documentation

◆ calibrator

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

Pointer to the calibrator tool.

Definition at line 40 of file MdtSegmentFitter.h.

◆ doTimeFit

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

Switch toggling whether the T0 shall be fitted or not.

Definition at line 32 of file MdtSegmentFitter.h.

◆ nMaxCalls

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

How many calls shall be executed.

Definition at line 28 of file MdtSegmentFitter.h.

◆ noMoveIter

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

How many iterations with changes below tolerance.

Definition at line 42 of file MdtSegmentFitter.h.

◆ nParsOutOfBounds

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

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

Definition at line 38 of file MdtSegmentFitter.h.

◆ ranges

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

Definition at line 48 of file MdtSegmentFitter.h.

◆ reCalibrate

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

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

Definition at line 34 of file MdtSegmentFitter.h.

◆ tolerance

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

Gradient cut off.

Definition at line 30 of file MdtSegmentFitter.h.

◆ useSecOrderDeriv

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

Switch toggling whether the second order derivative shall be included.

Definition at line 36 of file MdtSegmentFitter.h.


The documentation for this struct was generated from the following files:
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
deg
#define deg
Definition: SbPolyhedron.cxx:17
D3PDTest::rng
uint32_t rng()
Definition: FillerAlg.cxx:40
MuonR4::SegmentFit::ParamDefs::phi
@ phi
MuonR4::SegmentFit::ParamDefs::x0
@ x0
MuonR4::SegmentFit::ParamDefs::time
@ time
lumiFormat.array
array
Definition: lumiFormat.py:91
MuonR4::SegmentFit::ParamDefs::y0
@ y0
MuonR4::SegmentFit::toInt
constexpr int toInt(const ParamDefs p)
Definition: MuonHoughDefs.h:42
MuonR4::MdtSegmentFitter::Config::RangeArray
std::array< std::array< double, 2 >, SegmentFit::toInt(ParamDefs::nPars)> RangeArray
Allowed parameter ranges.
Definition: MdtSegmentFitter.h:44
python.SystemOfUnits.ns
int ns
Definition: SystemOfUnits.py:130
MuonR4::SegmentFit::ParamDefs::theta
@ theta