ATLAS Offline Software
Public Types | Public Member Functions | Protected Attributes | List of all members
MuonCalib::IMdtPatRecFitter Class Referenceabstract

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

Protected Attributes

bool m_refine_segment
 flags More...
 
bool m_refit
 

Detailed Description

Interface class for MdtSegment fitters performing a pattern recognition

Author
rausc.nosp@m.her@.nosp@m.cern..nosp@m.ch

Definition at line 19 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 22 of file IMdtPatRecFitter.h.

22 : 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::DCSLFitter, MuonCalib::MuCCaFitter, MuonCalib::StraightPatRec, MuonCalib::QuasianalyticLineReconstruction, and MuonCalib::CurvedPatRec.

◆ printLevel()

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

◆ RefineSegmentFlag()

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

get refine segment flag

Definition at line 38 of file IMdtPatRecFitter.h.

38 { return m_refine_segment; }

◆ refit()

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

return refit flag

Definition at line 44 of file IMdtPatRecFitter.h.

44 { 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 35 of file IMdtPatRecFitter.h.

◆ setRoadWidth()

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

◆ switchOffRefit()

void MuonCalib::IMdtPatRecFitter::switchOffRefit ( )
inline

Definition at line 42 of file IMdtPatRecFitter.h.

42 { m_refit = false; }

◆ switchOnRefit()

void MuonCalib::IMdtPatRecFitter::switchOnRefit ( )
inline

switch on/off chi^2 refit after hit selection

Definition at line 41 of file IMdtPatRecFitter.h.

41 { m_refit = true; }

Member Data Documentation

◆ m_refine_segment

bool MuonCalib::IMdtPatRecFitter::m_refine_segment
protected

flags

Definition at line 50 of file IMdtPatRecFitter.h.

◆ m_refit

bool MuonCalib::IMdtPatRecFitter::m_refit
protected

Definition at line 51 of file IMdtPatRecFitter.h.


The documentation for this class was generated from the following file:
MuonCalib::IMdtPatRecFitter::m_refit
bool m_refit
Definition: IMdtPatRecFitter.h:51
master.flag
bool flag
Definition: master.py:29
MuonCalib::IMdtPatRecFitter::m_refine_segment
bool m_refine_segment
flags
Definition: IMdtPatRecFitter.h:50