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

SctFitter::ThresholdFitAlgorithm2 Class Reference

#include <ThresholdFitAlgorithm2.h>

Inheritance diagram for SctFitter::ThresholdFitAlgorithm2:

SctFitter::FitAlgorithm

Public Member Functions

virtual void doFit (const TH1 &hist, FitObject &fitObject, const ModuleElement &element, ModuleDefectList &defects) const throw (LogicError)
 Attempts to do an individual fit.

virtual auto_ptr< FitObject > getPrototype () 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 &element, ModuleDefectList &defects) const throw (LogicError)
 checks the element for defects.

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


Static Public Member Functions

bool putInMap () throw ()
bool isInMap ()

Private Member Functions

 ThresholdFitAlgorithm2 () throw ()

Static Private Attributes

bool inMap

Constructor & Destructor Documentation

SctFitter::ThresholdFitAlgorithm2::ThresholdFitAlgorithm2   throw () [private]
 

Definition at line 14 of file ThresholdFitAlgorithm2.cpp.

References SctFitter::FitterMode::doSummary(), SctFitter::FitterMode::fitChannels(), SctFitter::FitterMode::fitChips(), and SctFitter::FitterMode::fitNone().


Member Function Documentation

void SctFitter::ThresholdFitAlgorithm2::checkForDefects const TH1 &    hist,
const ModuleElement &    element,
ModuleDefectList &    defects
const throw (LogicError) [virtual]
 

checks the element for defects.

Add them to the ModuleDefectList.

Implements SctFitter::FitAlgorithm.

Definition at line 86 of file ThresholdFitAlgorithm2.cpp.

void SctFitter::ThresholdFitAlgorithm2::createSummaryHistograms FitScanResult &    fits const throw () [virtual]
 

Makes set of summary histograms from the fitObject results.

Default implementation does nothing for convenience.

Implements SctFitter::FitAlgorithm.

Definition at line 90 of file ThresholdFitAlgorithm2.cpp.

void SctFitter::ThresholdFitAlgorithm2::doFit const TH1 &    hist,
FitObject &    fitObject,
const ModuleElement &    element,
ModuleDefectList &    defects
const throw (LogicError) [virtual]
 

Attempts to do an individual fit.

Default implementation calls guessParameters and checkForDefects then uses the Fitter's FitStrategy to actually do the fit.

Reimplemented from SctFitter::FitAlgorithm.

Definition at line 29 of file ThresholdFitAlgorithm2.cpp.

auto_ptr< FitObject > SctFitter::ThresholdFitAlgorithm2::getPrototype   const throw () [virtual]
 

Returns a prototypical FitObject for this algorithm.

Implements SctFitter::FitAlgorithm.

Definition at line 79 of file ThresholdFitAlgorithm2.cpp.

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

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

Implements SctFitter::FitAlgorithm.

Definition at line 83 of file ThresholdFitAlgorithm2.cpp.

bool SctFitter::ThresholdFitAlgorithm2::isInMap   [inline, static]
 

Definition at line 11 of file ThresholdFitAlgorithm2.h.

References inMap.

bool SctFitter::ThresholdFitAlgorithm2::putInMap   throw () [static]
 

Definition at line 22 of file ThresholdFitAlgorithm2.cpp.


Field Documentation

bool SctFitter::ThresholdFitAlgorithm2::inMap [static, private]
 

Definition at line 27 of file ThresholdFitAlgorithm2.cpp.

Referenced by isInMap().


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:38:05 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3