Public Member Functions | Public Attributes

TXXXCalibPar Class Reference

#include <TXXXCalibPar.h>

Inheritance diagram for TXXXCalibPar:
TGo4Parameter

List of all members.

Public Member Functions

 TXXXCalibPar ()
 TXXXCalibPar (const char *name, TH1 *spectrum, TGraph *curve)
virtual ~TXXXCalibPar ()
Int_t PrintParameter (Text_t *n, Int_t)
Bool_t UpdateFrom (TGo4Parameter *)
void ReadDatabase ()
void SetCalibSpectrum (TH1 *h1)
Double_t Energy (Int_t channel)

Public Attributes

Double_t fdA [__POLORDER__]
Bool_t fbRecalibrate
Bool_t fbReadDatabase
TString fxDatabase
Int_t fiLinesChannel [__LINESNUMBER__]
Float_t ffLinesEnergy [__LINESNUMBER__]
TString fxLinesNames [__LINESNUMBER__]
TGo4FitterfxLinesFinder
TGo4FitterfxCalibrator
TGraph * fxCalibCurve
TString fxGraphName
 Reference to graph containing the calibration points.
TH1 * fxCalibSpectrum
TString fxSpectrumName
 Reference to histogram containing the calibration spectrum.

Detailed Description

Definition at line 29 of file TXXXCalibPar.h.


Constructor & Destructor Documentation

TXXXCalibPar::TXXXCalibPar (  ) 

Definition at line 27 of file TXXXCalibPar.cxx.

References fdA, ffLinesEnergy, fiLinesChannel, fxDatabase, and fxLinesNames.

TXXXCalibPar::~TXXXCalibPar (  )  [virtual]

Definition at line 97 of file TXXXCalibPar.cxx.

References fxCalibrator, and fxLinesFinder.


Member Function Documentation

Double_t TXXXCalibPar::Energy ( Int_t  channel  ) 

Definition at line 273 of file TXXXCalibPar.cxx.

References fdA.

Int_t TXXXCalibPar::PrintParameter ( Text_t *  buffer,
Int_t  buflen 
) [virtual]

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

Reimplemented from TGo4Parameter.

Definition at line 105 of file TXXXCalibPar.cxx.

void TXXXCalibPar::ReadDatabase (  ) 
void TXXXCalibPar::SetCalibSpectrum ( TH1 *  h1  )  [inline]

Definition at line 41 of file TXXXCalibPar.h.

References fxCalibSpectrum.

Referenced by TXXXUnpackProc::CreateRawHsitograms().


Member Data Documentation

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

Definition at line 51 of file TXXXCalibPar.h.

Referenced by UpdateFrom().

Set to kTRUE to make calibration fit in update from

Definition at line 49 of file TXXXCalibPar.h.

Referenced by UpdateFrom().

Double_t TXXXCalibPar::fdA[__POLORDER__]

Calibration polynom coeff

Definition at line 47 of file TXXXCalibPar.h.

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

Float_t TXXXCalibPar::ffLinesEnergy[__LINESNUMBER__]

Database energies of calibration lines

Definition at line 57 of file TXXXCalibPar.h.

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

Int_t TXXXCalibPar::fiLinesChannel[__LINESNUMBER__]

Centroid channel numbers for fitted lines

Definition at line 55 of file TXXXCalibPar.h.

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

Reference to graph containing the calibration points

Definition at line 68 of file TXXXCalibPar.h.

Referenced by TXXXCalibPar(), and UpdateFrom().

Fitter for calibration of channel/energies with polynom

Definition at line 65 of file TXXXCalibPar.h.

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

Reference to histogram containing the calibration spectrum

Definition at line 73 of file TXXXCalibPar.h.

Referenced by SetCalibSpectrum(), and TXXXCalibPar().

Filename for ascii file with linesname - energy

Definition at line 53 of file TXXXCalibPar.h.

Referenced by ReadDatabase(), and TXXXCalibPar().

Reference to graph containing the calibration points.

Name of the graph to contain the calibration points

Definition at line 70 of file TXXXCalibPar.h.

Referenced by TXXXCalibPar(), and UpdateFrom().

Fitter to search lines

Definition at line 62 of file TXXXCalibPar.h.

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

TString TXXXCalibPar::fxLinesNames[__LINESNUMBER__]

Database names of calibration lines.

Definition at line 59 of file TXXXCalibPar.h.

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

Reference to histogram containing the calibration spectrum.

Name of the calibration spectrum histogram

Definition at line 76 of file TXXXCalibPar.h.

Referenced by TXXXCalibPar().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines