Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TXXXCalibPar Class Reference

#include <TXXXCalibPar.h>

Inheritance diagram for TXXXCalibPar:

TGo4Parameter List of all members.

Public Methods

 TXXXCalibPar ()
 TXXXCalibPar (Text_t *name, TH1 *spectrum, TGraph *curve)
virtual ~TXXXCalibPar ()
Int_t PrintParameter (Text_t *n, Int_t)
 basic method to printout information on stdout; to be overridden by specific subclass. More...

Bool_t UpdateFrom (TGo4Parameter *)
 update contents of paramter class with external object. More...

void ReadDatabase ()
Double_t Energy (Int_t channel)

Public Attributes

Double_t fdA [__POLORDER__]
 Calibration polynom coeff. More...

Bool_t fbRecalibrate
 Set to kTRUE to make calibration fit in update from. More...

Bool_t fbReadDatabase
 Set to kTRUE to re-read energies from external ascii file. More...

TString fxDatabase
 Filename for ascii file with linesname - energy. More...

Int_t fiLinesChannel [__LINESNUMBER__]
 Centroid channel numbers for fitted lines. More...

Float_t ffLinesEnergy [__LINESNUMBER__]
 Database energies of calibration lines. More...

TString fxLinesNames [__LINESNUMBER__]
 Database names of calibration lines. More...

TGo4FitterfxLinesFinder
 Fitter to search lines. More...

TGo4FitterfxCalibrator
 Fitter for calibration of channel/energies with polynom. More...

TGraph * fxCalibCurve
 Reference to graph containing the calibration points. More...

TString fxGraphName
 Name of the graph to contain the calibration points. More...

TH1 * fxCalibSpectrum
 Reference to histogram containing the calibration spectrum. More...

TString fxSpectrumName
 Name of the calibration spectrum histogram. More...


Constructor & Destructor Documentation

TXXXCalibPar::TXXXCalibPar  
 

Definition at line 27 of file TXXXCalibPar.cxx.

References __LINESNUMBER__, __POLORDER__, __TEXTMAX__, fdA, ffLinesEnergy, fiLinesChannel, fxDatabase, and fxLinesNames.

TXXXCalibPar::TXXXCalibPar Text_t *    name,
TH1 *    spectrum,
TGraph *    curve
 

Definition at line 50 of file TXXXCalibPar.cxx.

References __DATANAME__, __GRAPHNAME__, __LINESNUMBER__, __POLORDER__, __TEXTMAX__, TGo4Fitter::AddGraph(), TGo4Fitter::AddH1(), TGo4Fitter::AddPolynomX(), TGo4FitModel::ClearAssignmentTo(), fdA, TGo4Fitter::ff_least_squares, ffLinesEnergy, fiLinesChannel, TGo4Fitter::FindModel(), fxCalibCurve, fxCalibrator, fxCalibSpectrum, fxDatabase, fxGraphName, fxLinesFinder, fxSpectrumName, i, and ReadDatabase().

TXXXCalibPar::~TXXXCalibPar   [virtual]
 

Definition at line 106 of file TXXXCalibPar.cxx.

References fxCalibrator, and fxLinesFinder.


Member Function Documentation

Int_t TXXXCalibPar::PrintParameter Text_t *    n,
Int_t   
[virtual]
 

basic method to printout information on stdout; to be overridden by specific subclass.

Reimplemented from TGo4Parameter.

Definition at line 115 of file TXXXCalibPar.cxx.

References n.

Bool_t TXXXCalibPar::UpdateFrom TGo4Parameter   [virtual]
 

update contents of paramter class with external object.

to be implemented in subclass

Reimplemented from TGo4Parameter.

Definition at line 121 of file TXXXCalibPar.cxx.

References __DATANAME__, __GRAPHNAME__, __LINESNUMBER__, __POLORDER__, __TEXTMAX__, TGo4FitterAbstract::DoActions(), TGo4Log::Error(), fbReadDatabase, fbRecalibrate, fdA, ffLinesEnergy, fiLinesChannel, TGo4Fitter::FindModel(), fxCalibCurve, fxCalibrator, fxGraphName, fxLinesFinder, fxLinesNames, TGo4Analysis::GetObject(), TGo4FitParsList::GetParValue(), i, TGo4Analysis::Instance(), TGo4FitModel::IsAssignTo(), TGo4Fitter::PrintLines(), ReadDatabase(), and TGo4FitSlotList::SetObject().

void TXXXCalibPar::ReadDatabase  
 

Definition at line 257 of file TXXXCalibPar.cxx.

References __DATANAME__, __TEXTMAX__, TGo4Fitter::AddGauss1(), TGo4Log::Error(), ffLinesEnergy, fiLinesChannel, fxDatabase, fxLinesFinder, and fxLinesNames.

Referenced by TXXXCalibPar(), and UpdateFrom().

Double_t TXXXCalibPar::Energy Int_t    channel
 

Definition at line 304 of file TXXXCalibPar.cxx.

References __POLORDER__, and fdA.

Referenced by TXXXAnlProc::XXXEventAnalysis().


Member Data Documentation

Double_t TXXXCalibPar::fdA[__POLORDER__]
 

Calibration polynom coeff.

Definition at line 48 of file TXXXCalibPar.h.

Referenced by Energy(), TXXXCalibPar(), and UpdateFrom().

Bool_t TXXXCalibPar::fbRecalibrate
 

Set to kTRUE to make calibration fit in update from.

Definition at line 50 of file TXXXCalibPar.h.

Referenced by UpdateFrom().

Bool_t TXXXCalibPar::fbReadDatabase
 

Set to kTRUE to re-read energies from external ascii file.

Definition at line 52 of file TXXXCalibPar.h.

Referenced by UpdateFrom().

TString TXXXCalibPar::fxDatabase
 

Filename for ascii file with linesname - energy.

Definition at line 54 of file TXXXCalibPar.h.

Referenced by ReadDatabase(), and TXXXCalibPar().

Int_t TXXXCalibPar::fiLinesChannel[__LINESNUMBER__]
 

Centroid channel numbers for fitted lines.

Definition at line 56 of file TXXXCalibPar.h.

Referenced by ReadDatabase(), TXXXCalibPar(), and UpdateFrom().

Float_t TXXXCalibPar::ffLinesEnergy[__LINESNUMBER__]
 

Database energies of calibration lines.

Definition at line 58 of file TXXXCalibPar.h.

Referenced by ReadDatabase(), TXXXCalibPar(), and UpdateFrom().

TString TXXXCalibPar::fxLinesNames[__LINESNUMBER__]
 

Database names of calibration lines.

Definition at line 60 of file TXXXCalibPar.h.

Referenced by ReadDatabase(), TXXXCalibPar(), and UpdateFrom().

TGo4Fitter* TXXXCalibPar::fxLinesFinder
 

Fitter to search lines.

Definition at line 63 of file TXXXCalibPar.h.

Referenced by ReadDatabase(), TXXXCalibPar(), UpdateFrom(), and ~TXXXCalibPar().

TGo4Fitter* TXXXCalibPar::fxCalibrator
 

Fitter for calibration of channel/energies with polynom.

Definition at line 66 of file TXXXCalibPar.h.

Referenced by TXXXCalibPar(), UpdateFrom(), and ~TXXXCalibPar().

TGraph* TXXXCalibPar::fxCalibCurve
 

Reference to graph containing the calibration points.

Definition at line 69 of file TXXXCalibPar.h.

Referenced by TXXXCalibPar(), and UpdateFrom().

TString TXXXCalibPar::fxGraphName
 

Name of the graph to contain the calibration points.

Definition at line 71 of file TXXXCalibPar.h.

Referenced by TXXXCalibPar(), and UpdateFrom().

TH1* TXXXCalibPar::fxCalibSpectrum
 

Reference to histogram containing the calibration spectrum.

Definition at line 74 of file TXXXCalibPar.h.

Referenced by TXXXCalibPar().

TString TXXXCalibPar::fxSpectrumName
 

Name of the calibration spectrum histogram.

Definition at line 77 of file TXXXCalibPar.h.

Referenced by TXXXCalibPar().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:57:00 2005 for Go4-v2.10-5 by doxygen1.2.15