FitStateFinal Class Reference

#include <FitStateFinal.h>

Inheritance diagram for FitStateFinal:
FitState

List of all members.

Public Member Functions

void Iterate (FitContext &context) const
const std::string & Name () const

Detailed Description

FitStateFinal is the end of iterations - fitter stop when this state is reached.

Author:
Sergei avva@fnal.gov

Definition at line 17 of file FitStateFinal.h.


Member Function Documentation

void FitStateFinal::Iterate ( FitContext context  )  const [virtual]

Iterate

Iterate method

Implements FitState.

Definition at line 44 of file FitStateFinal.cxx.

References FitContext::fTimesConverged, Msg::kInfo, and MSG.

00045 {
00046     if ( context.fTimesConverged != 0 ) {
00047         MSG("FitTrackSA",Msg::kInfo) << "Fit Successful!\n";
00048     } else {
00049         MSG("FitTrackSA",Msg::kInfo) << "Fit Failed!\n";        
00050     }
00051 }

const std::string & FitStateFinal::Name (  )  const [virtual]

Name() - return name of the state

Implements FitState.

Definition at line 57 of file FitStateFinal.cxx.

References FINAL_FIT_STATE.

00058 {
00059     return FINAL_FIT_STATE;
00060 }    


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1