ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalib::IMdtPatRecFitter Class Referenceabstract

Interface class for MdtSegment fitters performing a pattern recognition. More...

#include <IMdtPatRecFitter.h>

Inheritance diagram for MuonCalib::IMdtPatRecFitter:
Collaboration diagram for MuonCalib::IMdtPatRecFitter:

Public Types

typedef std::vector< unsigned int > HitSelection

Public Member Functions

 IMdtPatRecFitter ()
 constructor
virtual ~IMdtPatRecFitter ()=default
 destructor
void SetRefineSegmentFlag (const bool flag)
 number of hits selected for track
bool RefineSegmentFlag () const
 get refine segment flag
void switchOnRefit ()
 switch on/off chi^2 refit after hit selection
void switchOffRefit ()
bool refit () const
 return refit flag
virtual void setRoadWidth (const double)=0
 set road width
virtual bool fit (MuonCalibSegment &seg) const =0
 fit using all hits
virtual bool fit (MuonCalibSegment &seg, HitSelection selection) const =0
 fit subset of the hits.
virtual void printLevel (int)=0

Protected Attributes

bool m_refine_segment
 flags
bool m_refit

Detailed Description

Interface class for MdtSegment fitters performing a pattern recognition.

Definition at line 18 of file IMdtPatRecFitter.h.

Member Typedef Documentation

◆ HitSelection

typedef std::vector<unsigned int> MuonCalib::IMdtSegmentFitter::HitSelection
inherited

Definition at line 32 of file IMdtSegmentFitter.h.

Constructor & Destructor Documentation

◆ IMdtPatRecFitter()

MuonCalib::IMdtPatRecFitter::IMdtPatRecFitter ( )
inline

constructor

Definition at line 21 of file IMdtPatRecFitter.h.

21: IMdtSegmentFitter(), m_refine_segment(false), m_refit(false) {}

◆ ~IMdtPatRecFitter()

virtual MuonCalib::IMdtPatRecFitter::~IMdtPatRecFitter ( )
virtualdefault

destructor

Member Function Documentation

◆ fit() [1/2]

virtual bool MuonCalib::IMdtSegmentFitter::fit ( MuonCalibSegment & seg) const
pure virtualinherited

◆ fit() [2/2]

virtual bool MuonCalib::IMdtSegmentFitter::fit ( MuonCalibSegment & seg,
HitSelection selection ) const
pure virtualinherited

fit subset of the hits.

If the HitSelection vector contains a 0 for a given hit the hit is used else the hit is not included in the fit. The size of the HitSelection vector should be equal to the number of hits on track else no fit is performed.

Implemented in MuonCalib::CurvedPatRec, MuonCalib::DCSLFitter, MuonCalib::MuCCaFitter, MuonCalib::QuasianalyticLineReconstruction, and MuonCalib::StraightPatRec.

◆ printLevel()

virtual void MuonCalib::IMdtSegmentFitter::printLevel ( int )
pure virtualinherited

◆ RefineSegmentFlag()

bool MuonCalib::IMdtPatRecFitter::RefineSegmentFlag ( ) const
inline

get refine segment flag

Definition at line 37 of file IMdtPatRecFitter.h.

37{ return m_refine_segment; }

◆ refit()

bool MuonCalib::IMdtPatRecFitter::refit ( ) const
inline

return refit flag

Definition at line 43 of file IMdtPatRecFitter.h.

43{ return m_refit; }

◆ SetRefineSegmentFlag()

void MuonCalib::IMdtPatRecFitter::SetRefineSegmentFlag ( const bool flag)
inline

number of hits selected for track

virtual unsigned int numberOfTrackHits() const = 0; get selected track hits virtual const std::vector<const MdtCalibHitBase *> &trackHits() const = 0; set refine segment flag

Parameters
flagif true the hit selection is changed in the segment

Definition at line 34 of file IMdtPatRecFitter.h.

bool flag
Definition master.py:29

◆ setRoadWidth()

virtual void MuonCalib::IMdtPatRecFitter::setRoadWidth ( const double )
pure virtual

◆ switchOffRefit()

void MuonCalib::IMdtPatRecFitter::switchOffRefit ( )
inline

Definition at line 41 of file IMdtPatRecFitter.h.

41{ m_refit = false; }

◆ switchOnRefit()

void MuonCalib::IMdtPatRecFitter::switchOnRefit ( )
inline

switch on/off chi^2 refit after hit selection

Definition at line 40 of file IMdtPatRecFitter.h.

40{ m_refit = true; }

Member Data Documentation

◆ m_refine_segment

bool MuonCalib::IMdtPatRecFitter::m_refine_segment
protected

flags

Definition at line 49 of file IMdtPatRecFitter.h.

◆ m_refit

bool MuonCalib::IMdtPatRecFitter::m_refit
protected

Definition at line 50 of file IMdtPatRecFitter.h.


The documentation for this class was generated from the following file: