Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

SctFitter::ThresholdFitAlgorithm Class Reference

Fits threshold scans! More...

#include <ThresholdFitAlgorithm.h>

Inheritance diagram for SctFitter::ThresholdFitAlgorithm:

Inheritance graph
[legend]
Collaboration diagram for SctFitter::ThresholdFitAlgorithm:

Collaboration graph
[legend]

Static Public Member Functions

bool putInMap () throw ()

Protected Member Functions

virtual auto_ptr< FitObjectgetPrototype () const throw ()
 Returns a prototypical FitObject for this algorithm.

virtual void guessParameters (const TH1 &hist, FitObject &fitOb) const throw (LogicError, MathsError)
 guess the initial fit parameters from histogram prior to doing a fit : put them in FitObject.

virtual void checkForDefects (const TH1 &hist, const ModuleElement &e, DefectList &) const throw (LogicError)
 checks the element for defects.

virtual void createSummaryHistograms (FitScanResult &fits) const throw ()
 Makes set of summary histograms from the fitObject results.

virtual void checkForDefects (const FitObject &, const ModuleElement &, DefectList &) const
 checks fit for defects - add them to the defect list


Static Private Attributes

bool inMap

Detailed Description

Fits threshold scans!

Definition at line 11 of file ThresholdFitAlgorithm.h.


Member Function Documentation

void SctFitter::ThresholdFitAlgorithm::checkForDefects const FitObject ,
const ModuleElement ,
DefectList
const [protected, virtual]
 

checks fit for defects - add them to the defect list

Implements SctFitter::FitAlgorithm.

Definition at line 52 of file ThresholdFitAlgorithm.cpp.

References SctData::FitObject::getChiSquared(), and SctData::FitObject::getNDF().

Here is the call graph for this function:

void SctFitter::ThresholdFitAlgorithm::checkForDefects const TH1 &  hist,
const ModuleElement e,
DefectList
const throw (LogicError) [protected, virtual]
 

checks the element for defects.

Add them to the ModuleDefectList.

Implements SctFitter::FitAlgorithm.

Definition at line 60 of file ThresholdFitAlgorithm.cpp.

void SctFitter::ThresholdFitAlgorithm::createSummaryHistograms FitScanResult fits  )  const throw () [protected, virtual]
 

Makes set of summary histograms from the fitObject results.

Default implementation does nothing for convenience.

Implements SctFitter::FitAlgorithm.

Definition at line 82 of file ThresholdFitAlgorithm.cpp.

auto_ptr< FitObject > SctFitter::ThresholdFitAlgorithm::getPrototype  )  const throw () [protected, virtual]
 

Returns a prototypical FitObject for this algorithm.

Implements SctFitter::FitAlgorithm.

Definition at line 34 of file ThresholdFitAlgorithm.cpp.

void SctFitter::ThresholdFitAlgorithm::guessParameters const TH1 &  hist,
FitObject fitOb
const throw (LogicError, MathsError) [protected, virtual]
 

guess the initial fit parameters from histogram prior to doing a fit : put them in FitObject.

Implements SctFitter::FitAlgorithm.

Definition at line 38 of file ThresholdFitAlgorithm.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jul 8 11:43:05 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5