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-5}
 Gradient cut off. More...
 
bool doTimeFit {true}
 Switch toggling whether the T0 shall be fitted or not. 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 25 of file MdtSegmentFitter.h.

Member Typedef Documentation

◆ RangeArray

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

Allowed parameter ranges.

Definition at line 39 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 39 of file MdtSegmentFitter.cxx.

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

Member Data Documentation

◆ calibrator

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

Pointer to the calibrator tool.

Definition at line 35 of file MdtSegmentFitter.h.

◆ doTimeFit

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

Switch toggling whether the T0 shall be fitted or not.

Definition at line 31 of file MdtSegmentFitter.h.

◆ nMaxCalls

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

How many calls shall be executed.

Definition at line 27 of file MdtSegmentFitter.h.

◆ noMoveIter

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

How many iterations with changes below tolerance.

Definition at line 37 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 33 of file MdtSegmentFitter.h.

◆ ranges

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

Definition at line 43 of file MdtSegmentFitter.h.

◆ tolerance

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

Gradient cut off.

Definition at line 29 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:39
python.SystemOfUnits.ns
int ns
Definition: SystemOfUnits.py:130
MuonR4::SegmentFit::ParamDefs::theta
@ theta