ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TSpectrum2Fit Class Reference

Advanced 2-dimentional spectra fitting functions.

Author
Miroslav Morhac

The original code in C has been repackaged as a C++ class by R.Brun

The algorithms in this class have been published in the following references:

  1. M. Morhac et al.: Efficient fitting algorithms applied to analysis of coincidence gamma-ray spectra. Computer Physics Communications, Vol 172/1 (2005) pp. 19-41.
  2. M. Morhac et al.: Study of fitting algorithms applied to simultaneous analysis of large number of peaks in gamma-ray spectra. Applied Spectroscopy, Vol. 57, No. 7, pp. 753-760, 2003.

Definition at line 30 of file TSpectrum2Fit.h.

Public Types

enum  {
  kFitOptimChiCounts =0, kFitOptimChiFuncValues =1, kFitOptimMaxLikelihood =2, kFitAlphaHalving =0,
  kFitAlphaOptimal =1, kFitPower2 =2, kFitPower4 =4, kFitPower6 =6,
  kFitPower8 =8, kFitPower10 =10, kFitPower12 =12, kFitTaylorOrderFirst =0,
  kFitTaylorOrderSecond =1, kFitNumRegulCycles =100
}
 
- Public Types inherited from TObject
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 

Public Member Functions

 TSpectrum2Fit (void)
 
 TSpectrum2Fit (Int_t numberPeaks)
 numberPeaks: number of fitted peaks (must be greater than zero) the constructor allocates arrays for all fitted parameters (peak positions, amplitudes etc) and sets the member variables to their default values. More...
 
virtual ~TSpectrum2Fit ()
 destructor More...
 
void FitAwmi (Double_t **source)
 TWO-DIMENSIONAL FIT FUNCTION ALGORITHM WITHOUT MATRIX INVERSION This function fits the source spectrum. More...
 
void FitStiefel (Double_t **source)
 
void GetAmplitudes (Double_t *amplitudes, Double_t *amplitudesX1, Double_t *amplitudesY1)
 GETTER FUNCTION. More...
 
void GetAmplitudeErrors (Double_t *amplitudeErrors, Double_t *amplitudeErrorsX1, Double_t *amplitudeErrorsY1)
 GETTER FUNCTION. More...
 
void GetBackgroundParameters (Double_t &a0, Double_t &a0Err, Double_t &ax, Double_t &axErr, Double_t &ay, Double_t &ayErr)
 GETTER FUNCTION. More...
 
Double_t GetChi () const
 
void GetPositions (Double_t *positionsX, Double_t *positionsY, Double_t *positionsX1, Double_t *positionsY1)
 GETTER FUNCTION. More...
 
void GetPositionErrors (Double_t *positionErrorsX, Double_t *positionErrorsY, Double_t *positionErrorsX1, Double_t *positionErrorsY1)
 GETTER FUNCTION. More...
 
void GetRo (Double_t &ro, Double_t &roErr)
 GETTER FUNCTION. More...
 
void GetSigmaX (Double_t &sigmaX, Double_t &sigmaErrX)
 GETTER FUNCTION. More...
 
void GetSigmaY (Double_t &sigmaY, Double_t &sigmaErrY)
 GETTER FUNCTION. More...
 
void GetTailParameters (Double_t &txy, Double_t &txyErr, Double_t &tx, Double_t &txErr, Double_t &ty, Double_t &tyErr, Double_t &bx, Double_t &bxErr, Double_t &by, Double_t &byErr, Double_t &sxy, Double_t &sxyErr, Double_t &sx, Double_t &sxErr, Double_t &sy, Double_t &syErr)
 GETTER FUNCTION. More...
 
void GetVolumes (Double_t *volumes)
 GETTER FUNCTION. More...
 
void GetVolumeErrors (Double_t *volumeErrors)
 GETTER FUNCTION. More...
 
void SetBackgroundParameters (Double_t a0Init, Bool_t fixA0, Double_t axInit, Bool_t fixAx, Double_t ayInit, Bool_t fixAy)
 SETTER FUNCTION. More...
 
void SetFitParameters (Int_t xmin, Int_t xmax, Int_t ymin, Int_t ymax, Int_t numberIterations, Double_t alpha, Int_t statisticType, Int_t alphaOptim, Int_t power, Int_t fitTaylor)
 
void SetPeakParameters (Double_t sigmaX, Bool_t fixSigmaX, Double_t sigmaY, Bool_t fixSigmaY, Double_t ro, Bool_t fixRo, const Double_t *positionInitX, const Bool_t *fixPositionX, const Double_t *positionInitY, const Bool_t *fixPositionY, const Double_t *positionInitX1, const Bool_t *fixPositionX1, const Double_t *positionInitY1, const Bool_t *fixPositionY1, const Double_t *ampInit, const Bool_t *fixAmp, const Double_t *ampInitX1, const Bool_t *fixAmpX1, const Double_t *ampInitY1, const Bool_t *fixAmpY1)
 SETTER FUNCTION. More...
 
void SetTailParameters (Double_t tInitXY, Bool_t fixTxy, Double_t tInitX, Bool_t fixTx, Double_t tInitY, Bool_t fixTy, Double_t bInitX, Bool_t fixBx, Double_t bInitY, Bool_t fixBy, Double_t sInitXY, Bool_t fixSxy, Double_t sInitX, Bool_t fixSx, Double_t sInitY, Bool_t fixSy)
 SETTER FUNCTION. More...
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual ~TNamed ()
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
virtual void SetName (const char *name)
 Change (i.e. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Change (i.e. set) all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Change (i.e. set) the title of the TNamed. More...
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 

Protected Member Functions

Double_t Deramp2 (Double_t x, Double_t y, Double_t x0, Double_t y0, Double_t sigmax, Double_t sigmay, Double_t ro, Double_t txy, Double_t sxy, Double_t bx, Double_t by)
 AUXILIARY FUNCTION // // This function calculates derivative of 2D peaks shape function (see manual) // according to amplitude of 2D peak // Function parameters: // -x-channel in x-dimension // -y-channel in y-dimension // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // -txy, sxy-relative amplitudes // -bx, by-slopes // //. More...
 
Double_t Derampx (Double_t x, Double_t x0, Double_t sigmax, Double_t tx, Double_t sx, Double_t bx)
 AUXILIARY FUNCTION // // This function calculates derivative of 2D peaks shape function (see manual) // according to amplitude of the ridge // Function parameters: // -x-channel in x-dimension // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -ro-correlation coefficient // -tx, sx-relative amplitudes // -bx-slope // //. More...
 
Double_t Derbx (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay, Double_t txy, Double_t tx, Double_t bx, Double_t by)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to slope bx. More...
 
Double_t Derby (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay, Double_t txy, Double_t ty, Double_t bx, Double_t by)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to slope by. More...
 
Double_t Derderi01 (Double_t x, Double_t ax, Double_t x0, Double_t sigmax)
 AUXILIARY FUNCTION // // This function calculates second derivative of 2D peaks shape function // (see manual) according to x position of 1D ridge // Function parameters: // -x-channel in x-dimension // -ax-amplitude of ridge // -x0-position of peak in x-dimension // -sigmax-sigmax of peaks // //. More...
 
Double_t Derderi02 (Double_t x, Double_t y, Double_t a, Double_t x0, Double_t y0, Double_t sigmax, Double_t sigmay, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates second derivative of 2D peaks shape function // (see manual) according to x position of 2D peak // Function parameters: // -x-channel in x-dimension // -y-channel in y-dimension // -a-amplitude // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // //. More...
 
Double_t Derderj02 (Double_t x, Double_t y, Double_t a, Double_t x0, Double_t y0, Double_t sigmax, Double_t sigmay, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates second derivative of 2D peaks shape function // (see manual) according to y position of 2D peak // Function parameters: // -x-channel in x-dimension // -y-channel in y-dimension // -a-amplitude // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // //. More...
 
Double_t Derdersigmax (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates second derivative of peaks shape function // (see manual) according to sigmax of peaks. More...
 
Double_t Derdersigmay (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates second derivative of peaks shape function // (see manual) according to sigmay of peaks. More...
 
Double_t Derfc (Double_t x)
 AUXILIARY FUNCTION // // This function calculates derivative of error function of x. More...
 
Double_t Deri01 (Double_t x, Double_t ax, Double_t x0, Double_t sigmax, Double_t tx, Double_t sx, Double_t bx)
 AUXILIARY FUNCTION // // This function calculates derivative of 2D peaks shape function (see manual) // according to x position of 1D ridge // Function parameters: // -x-channel in x-dimension // -ax-amplitude of ridge // -x0-position of peak in x-dimension // -sigmax-sigmax of peaks // -ro-correlation coefficient // -tx, sx-relative amplitudes // -bx-slope // //. More...
 
Double_t Deri02 (Double_t x, Double_t y, Double_t a, Double_t x0, Double_t y0, Double_t sigmax, Double_t sigmay, Double_t ro, Double_t txy, Double_t sxy, Double_t bx, Double_t by)
 AUXILIARY FUNCTION // // This function calculates derivative of 2D peaks shape function (see manual) // according to x position of 2D peak // Function parameters: // -x-channel in x-dimension // -y-channel in y-dimension // -a-amplitude // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // -txy, sxy-relative amplitudes // -bx, by-slopes // //. More...
 
Double_t Derj02 (Double_t x, Double_t y, Double_t a, Double_t x0, Double_t y0, Double_t sigmax, Double_t sigmay, Double_t ro, Double_t txy, Double_t sxy, Double_t bx, Double_t by)
 
Double_t Derpa2 (Double_t sx, Double_t sy, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates derivative of the volume of a peak // according to amplitute // Function parameters: // -sx,sy-sigmas of peak // -ro-correlation coefficient // //. More...
 
Double_t Derpro (Double_t a, Double_t sx, Double_t sy, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates derivative of the volume of a peak // according to ro // Function parameters: // -a-amplitude of peak // -sx,sy-sigmas of peak // -ro-correlation coefficient // //. More...
 
Double_t Derpsigmax (Double_t a, Double_t sy, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates derivative of the volume of a peak // according to sigmax // Function parameters: // -a-amplitude of peak // -sy-sigma of peak // -ro-correlation coefficient // //. More...
 
Double_t Derpsigmay (Double_t a, Double_t sx, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates derivative of the volume of a peak // according to sigmay // Function parameters: // -a-amplitude of peak // -sx-sigma of peak // -ro-correlation coefficient // //. More...
 
Double_t Derro (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sx, Double_t sy, Double_t r)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to correlation coefficient ro. More...
 
Double_t Dersigmax (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay, Double_t ro, Double_t txy, Double_t sxy, Double_t tx, Double_t sx, Double_t bx, Double_t by)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to sigmax of peaks. More...
 
Double_t Dersigmay (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay, Double_t ro, Double_t txy, Double_t sxy, Double_t ty, Double_t sy, Double_t bx, Double_t by)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to sigmax of peaks. More...
 
Double_t Dersx (Int_t numOfFittedPeaks, Double_t x, const Double_t *parameter, Double_t sigmax)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude sx. More...
 
Double_t Dersxy (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude sxy. More...
 
Double_t Dersy (Int_t numOfFittedPeaks, Double_t x, const Double_t *parameter, Double_t sigmax)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude sy. More...
 
Double_t Dertx (Int_t numOfFittedPeaks, Double_t x, const Double_t *parameter, Double_t sigmax, Double_t bx)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude tx. More...
 
Double_t Dertxy (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay, Double_t bx, Double_t by)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude txy. More...
 
Double_t Derty (Int_t numOfFittedPeaks, Double_t x, const Double_t *parameter, Double_t sigmax, Double_t bx)
 AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude ty. More...
 
Double_t Erfc (Double_t x)
 AUXILIARY FUNCTION // // This function calculates error function of x. More...
 
Double_t Ourpowl (Double_t a, Int_t pw)
 power function More...
 
Double_t Shape2 (Int_t numOfFittedPeaks, Double_t x, Double_t y, const Double_t *parameter, Double_t sigmax, Double_t sigmay, Double_t ro, Double_t a0, Double_t ax, Double_t ay, Double_t txy, Double_t sxy, Double_t tx, Double_t ty, Double_t sx, Double_t sy, Double_t bx, Double_t by)
 AUXILIARY FUNCTION // // This function calculates 2D peaks shape function (see manual) // Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x-channel in x-dimension // -y-channel in y-dimension // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // -a0,ax,ay-bac kground coefficients // -txy,tx,ty, sxy,sy,sx-relative amplitudes // -bx, by-slopes // //. More...
 
void StiefelInversion (Double_t **a, Int_t size)
 
Double_t Volume (Double_t a, Double_t sx, Double_t sy, Double_t ro)
 AUXILIARY FUNCTION // // This function calculates volume of a peak // Function parameters: // -a-amplitude of the peak // -sx,sy-sigmas of peak // -ro-correlation coefficient // //. More...
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

Protected Attributes

Int_t fNPeaks
 
Int_t fNumberIterations
 
Int_t fXmin
 
Int_t fXmax
 
Int_t fYmin
 
Int_t fYmax
 
Int_t fStatisticType
 
Int_t fAlphaOptim
 
Int_t fPower
 
Int_t fFitTaylor
 
Double_t fAlpha
 
Double_t fChi
 
Double_tfPositionInitX
 
Double_tfPositionCalcX
 
Double_tfPositionErrX
 
Double_tfPositionInitY
 
Double_tfPositionCalcY
 
Double_tfPositionErrY
 
Double_tfPositionInitX1
 
Double_tfPositionCalcX1
 
Double_tfPositionErrX1
 
Double_tfPositionInitY1
 
Double_tfPositionCalcY1
 
Double_tfPositionErrY1
 
Double_tfAmpInit
 
Double_tfAmpCalc
 
Double_tfAmpErr
 
Double_tfAmpInitX1
 
Double_tfAmpCalcX1
 
Double_tfAmpErrX1
 
Double_tfAmpInitY1
 
Double_tfAmpCalcY1
 
Double_tfAmpErrY1
 
Double_tfVolume
 
Double_tfVolumeErr
 
Double_t fSigmaInitX
 
Double_t fSigmaCalcX
 
Double_t fSigmaErrX
 
Double_t fSigmaInitY
 
Double_t fSigmaCalcY
 
Double_t fSigmaErrY
 
Double_t fRoInit
 
Double_t fRoCalc
 
Double_t fRoErr
 
Double_t fTxyInit
 
Double_t fTxyCalc
 
Double_t fTxyErr
 
Double_t fSxyInit
 
Double_t fSxyCalc
 
Double_t fSxyErr
 
Double_t fTxInit
 
Double_t fTxCalc
 
Double_t fTxErr
 
Double_t fTyInit
 
Double_t fTyCalc
 
Double_t fTyErr
 
Double_t fSxInit
 
Double_t fSxCalc
 
Double_t fSxErr
 
Double_t fSyInit
 
Double_t fSyCalc
 
Double_t fSyErr
 
Double_t fBxInit
 
Double_t fBxCalc
 
Double_t fBxErr
 
Double_t fByInit
 
Double_t fByCalc
 
Double_t fByErr
 
Double_t fA0Init
 
Double_t fA0Calc
 
Double_t fA0Err
 
Double_t fAxInit
 
Double_t fAxCalc
 
Double_t fAxErr
 
Double_t fAyInit
 
Double_t fAyCalc
 
Double_t fAyErr
 
Bool_tfFixPositionX
 
Bool_tfFixPositionY
 
Bool_tfFixPositionX1
 
Bool_tfFixPositionY1
 
Bool_tfFixAmp
 
Bool_tfFixAmpX1
 
Bool_tfFixAmpY1
 
Bool_t fFixSigmaX
 
Bool_t fFixSigmaY
 
Bool_t fFixRo
 
Bool_t fFixTxy
 
Bool_t fFixSxy
 
Bool_t fFixTx
 
Bool_t fFixTy
 
Bool_t fFixSx
 
Bool_t fFixSy
 
Bool_t fFixBx
 
Bool_t fFixBy
 
Bool_t fFixA0
 
Bool_t fFixAx
 
Bool_t fFixAy
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

#include <TSpectrum2Fit.h>

+ Inheritance diagram for TSpectrum2Fit:
+ Collaboration diagram for TSpectrum2Fit:

Member Enumeration Documentation

anonymous enum
Enumerator
kFitOptimChiCounts 
kFitOptimChiFuncValues 
kFitOptimMaxLikelihood 
kFitAlphaHalving 
kFitAlphaOptimal 
kFitPower2 
kFitPower4 
kFitPower6 
kFitPower8 
kFitPower10 
kFitPower12 
kFitTaylorOrderFirst 
kFitTaylorOrderSecond 
kFitNumRegulCycles 

Definition at line 131 of file TSpectrum2Fit.h.

Constructor & Destructor Documentation

TSpectrum2Fit::TSpectrum2Fit ( void  )
TSpectrum2Fit::TSpectrum2Fit ( Int_t  numberPeaks)

numberPeaks: number of fitted peaks (must be greater than zero) the constructor allocates arrays for all fitted parameters (peak positions, amplitudes etc) and sets the member variables to their default values.

One can change these variables by member functions (setters) of TSpectrumFit class. Begin_Html

Definition at line 167 of file TSpectrum2Fit.cxx.

TSpectrum2Fit::~TSpectrum2Fit ( )
virtual

destructor

Definition at line 290 of file TSpectrum2Fit.cxx.

Member Function Documentation

Double_t TSpectrum2Fit::Deramp2 ( Double_t  x,
Double_t  y,
Double_t  x0,
Double_t  y0,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro,
Double_t  txy,
Double_t  sxy,
Double_t  bx,
Double_t  by 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of 2D peaks shape function (see manual) // according to amplitude of 2D peak // Function parameters: // -x-channel in x-dimension // -y-channel in y-dimension // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // -txy, sxy-relative amplitudes // -bx, by-slopes // //.

Definition at line 591 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derampx ( Double_t  x,
Double_t  x0,
Double_t  sigmax,
Double_t  tx,
Double_t  sx,
Double_t  bx 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of 2D peaks shape function (see manual) // according to amplitude of the ridge // Function parameters: // -x-channel in x-dimension // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -ro-correlation coefficient // -tx, sx-relative amplitudes // -bx-slope // //.

Definition at line 642 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derbx ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay,
Double_t  txy,
Double_t  tx,
Double_t  bx,
Double_t  by 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to slope bx.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -txy, tx-relative amplitudes // -bx, by-slopes // //

Definition at line 1542 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derby ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay,
Double_t  txy,
Double_t  ty,
Double_t  bx,
Double_t  by 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to slope by.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -txy, ty-relative amplitudes // -bx, by-slopes // //

Definition at line 1602 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derderi01 ( Double_t  x,
Double_t  ax,
Double_t  x0,
Double_t  sigmax 
)
protected

AUXILIARY FUNCTION // // This function calculates second derivative of 2D peaks shape function // (see manual) according to x position of 1D ridge // Function parameters: // -x-channel in x-dimension // -ax-amplitude of ridge // -x0-position of peak in x-dimension // -sigmax-sigmax of peaks // //.

Definition at line 939 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi().

Double_t TSpectrum2Fit::Derderi02 ( Double_t  x,
Double_t  y,
Double_t  a,
Double_t  x0,
Double_t  y0,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates second derivative of 2D peaks shape function // (see manual) according to x position of 2D peak // Function parameters: // -x-channel in x-dimension // -y-channel in y-dimension // -a-amplitude // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // //.

Definition at line 752 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi().

Double_t TSpectrum2Fit::Derderj02 ( Double_t  x,
Double_t  y,
Double_t  a,
Double_t  x0,
Double_t  y0,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates second derivative of 2D peaks shape function // (see manual) according to y position of 2D peak // Function parameters: // -x-channel in x-dimension // -y-channel in y-dimension // -a-amplitude // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // //.

Definition at line 851 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi().

Double_t TSpectrum2Fit::Derdersigmax ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates second derivative of peaks shape function // (see manual) according to sigmax of peaks.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // //

Definition at line 1067 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi().

Double_t TSpectrum2Fit::Derdersigmay ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates second derivative of peaks shape function // (see manual) according to sigmay of peaks.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // //

Definition at line 1222 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi().

Double_t TSpectrum2Fit::Derfc ( Double_t  x)
protected

AUXILIARY FUNCTION // // This function calculates derivative of error function of x.

// //

Definition at line 363 of file TSpectrum2Fit.cxx.

Referenced by Derbx(), Derby(), Deri01(), Deri02(), Derj02(), Dersigmax(), and Dersigmay().

Double_t TSpectrum2Fit::Deri01 ( Double_t  x,
Double_t  ax,
Double_t  x0,
Double_t  sigmax,
Double_t  tx,
Double_t  sx,
Double_t  bx 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of 2D peaks shape function (see manual) // according to x position of 1D ridge // Function parameters: // -x-channel in x-dimension // -ax-amplitude of ridge // -x0-position of peak in x-dimension // -sigmax-sigmax of peaks // -ro-correlation coefficient // -tx, sx-relative amplitudes // -bx-slope // //.

Definition at line 891 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Deri02 ( Double_t  x,
Double_t  y,
Double_t  a,
Double_t  x0,
Double_t  y0,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro,
Double_t  txy,
Double_t  sxy,
Double_t  bx,
Double_t  by 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of 2D peaks shape function (see manual) // according to x position of 2D peak // Function parameters: // -x-channel in x-dimension // -y-channel in y-dimension // -a-amplitude // -x0-position of peak in x-dimension // -y0-position of peak in y-dimension // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // -txy, sxy-relative amplitudes // -bx, by-slopes // //.

Definition at line 693 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derj02 ( Double_t  x,
Double_t  y,
Double_t  a,
Double_t  x0,
Double_t  y0,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro,
Double_t  txy,
Double_t  sxy,
Double_t  bx,
Double_t  by 
)
protected

Definition at line 774 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derpa2 ( Double_t  sx,
Double_t  sy,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of the volume of a peak // according to amplitute // Function parameters: // -sx,sy-sigmas of peak // -ro-correlation coefficient // //.

Definition at line 1683 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derpro ( Double_t  a,
Double_t  sx,
Double_t  sy,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of the volume of a peak // according to ro // Function parameters: // -a-amplitude of peak // -sx,sy-sigmas of peak // -ro-correlation coefficient // //.

Definition at line 1764 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derpsigmax ( Double_t  a,
Double_t  sy,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of the volume of a peak // according to sigmax // Function parameters: // -a-amplitude of peak // -sy-sigma of peak // -ro-correlation coefficient // //.

Definition at line 1710 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derpsigmay ( Double_t  a,
Double_t  sx,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of the volume of a peak // according to sigmay // Function parameters: // -a-amplitude of peak // -sx-sigma of peak // -ro-correlation coefficient // //.

Definition at line 1737 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derro ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sx,
Double_t  sy,
Double_t  r 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to correlation coefficient ro.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sx-sigmax of peaks // -sy-sigmay of peaks // -r-correlation coefficient ro // //

Definition at line 1284 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Dersigmax ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro,
Double_t  txy,
Double_t  sxy,
Double_t  tx,
Double_t  sx,
Double_t  bx,
Double_t  by 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to sigmax of peaks.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // -txy, sxy, tx, sx-relative amplitudes // -bx, by-slopes // //

Definition at line 976 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Dersigmay ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro,
Double_t  txy,
Double_t  sxy,
Double_t  ty,
Double_t  sy,
Double_t  bx,
Double_t  by 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to sigmax of peaks.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // -txy, sxy, ty, sy-relative amplitudes // -bx, by-slopes // //

Definition at line 1131 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Dersx ( Int_t  numOfFittedPeaks,
Double_t  x,
const Double_t parameter,
Double_t  sigmax 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude sx.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigma of 1D ridge // //

Definition at line 1477 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Dersxy ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude sxy.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // //

Definition at line 1370 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Dersy ( Int_t  numOfFittedPeaks,
Double_t  x,
const Double_t parameter,
Double_t  sigmax 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude sy.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigma of 1D ridge // //

Definition at line 1508 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Dertx ( Int_t  numOfFittedPeaks,
Double_t  x,
const Double_t parameter,
Double_t  sigmax,
Double_t  bx 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude tx.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigma of 1D ridge // -bx-slope // //

Definition at line 1404 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Dertxy ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay,
Double_t  bx,
Double_t  by 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude txy.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x,y-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -bx, by-slopes // //

Definition at line 1330 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Derty ( Int_t  numOfFittedPeaks,
Double_t  x,
const Double_t parameter,
Double_t  sigmax,
Double_t  bx 
)
protected

AUXILIARY FUNCTION // // This function calculates derivative of peaks shape function (see manual) // according to relative amplitude ty.

// Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x-position of channel // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigma of 1D ridge // -bx-slope // //

Definition at line 1441 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Double_t TSpectrum2Fit::Erfc ( Double_t  x)
protected

AUXILIARY FUNCTION // // This function calculates error function of x.

// //

Definition at line 334 of file TSpectrum2Fit.cxx.

Referenced by Deramp2(), Derampx(), Derbx(), Derby(), Derfc(), Deri01(), Deri02(), Derj02(), Dersigmax(), Dersigmay(), Dersx(), Dersxy(), Dersy(), Dertx(), Dertxy(), Derty(), and Shape2().

void TSpectrum2Fit::FitAwmi ( Double_t **  source)

TWO-DIMENSIONAL FIT FUNCTION ALGORITHM WITHOUT MATRIX INVERSION This function fits the source spectrum.

The calling program should fill in input parameters of the TSpectrum2Fit class. The fitted parameters are written into TSpectrum2Fit class output parameters and fitted data are written into source spectrum.

  Function parameters:
  source-pointer to the matrix of source spectrum

Begin_Html

Definition at line 1798 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::FitStiefel ( Double_t **  source)

Definition at line 4684 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetAmplitudeErrors ( Double_t amplitudeErrors,
Double_t amplitudeErrorsX1,
Double_t amplitudeErrorsY1 
)

GETTER FUNCTION.

This function gets the amplitudes of fitted 2D peaks and 1D ridges -amplitudeErrors - gets vector of amplitudes errors of 2D peaks -amplitudeErrorsX1 - gets vector of amplitudes errors of 1D ridges in x direction -amplitudesErrorY1 - gets vector of amplitudes errors of 1D ridges in y direction

Definition at line 6774 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetAmplitudes ( Double_t amplitudes,
Double_t amplitudesX1,
Double_t amplitudesY1 
)

GETTER FUNCTION.

This function gets the amplitudes of fitted 2D peaks and 1D ridges -amplitudes - gets vector of amplitudes of 2D peaks -amplitudesX1 - gets vector of amplitudes of 1D ridges in x direction -amplitudesY1 - gets vector of amplitudes of 1D ridges in y direction

Definition at line 6755 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetBackgroundParameters ( Double_t a0,
Double_t a0Err,
Double_t ax,
Double_t axErr,
Double_t ay,
Double_t ayErr 
)

GETTER FUNCTION.

This function gets the background parameters and their errors -a0 - gets the fitted value of a0 parameter -a0Err - gets error value of a0 parameter -ax - gets the fitted value of ax parameter -axErr - gets error value of ax parameter -ay - gets the fitted value of ay parameter -ayErr - gets error value of ay parameter

Definition at line 6871 of file TSpectrum2Fit.cxx.

Double_t TSpectrum2Fit::GetChi ( ) const
inline

Definition at line 190 of file TSpectrum2Fit.h.

void TSpectrum2Fit::GetPositionErrors ( Double_t positionErrorsX,
Double_t positionErrorsY,
Double_t positionErrorsX1,
Double_t positionErrorsY1 
)

GETTER FUNCTION.

This function gets the errors of positions of fitted 2D peaks and 1D ridges -positionErrorsX - gets vector of errors of x positions of 2D peaks -positionErrorsY - gets vector of errors of y positions of 2D peaks -positionErrorsX1 - gets vector of errors of x positions of 1D ridges -positionErrorsY1 - gets vector of errors of y positions of 1D ridges

Definition at line 6735 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetPositions ( Double_t positionsX,
Double_t positionsY,
Double_t positionsX1,
Double_t positionsY1 
)

GETTER FUNCTION.

This function gets the positions of fitted 2D peaks and 1D ridges -positionX - gets vector of x positions of 2D peaks -positionY - gets vector of y positions of 2D peaks -positionX1 - gets vector of x positions of 1D ridges -positionY1 - gets vector of y positions of 1D ridges

Definition at line 6714 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetRo ( Double_t ro,
Double_t roErr 
)

GETTER FUNCTION.

This function gets the ro parameter and its error -ro - gets the fitted value of ro parameter -roErr - gets error value of ro parameter

Definition at line 6852 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetSigmaX ( Double_t sigmaX,
Double_t sigmaErrX 
)

GETTER FUNCTION.

This function gets the sigma x parameter and its error -sigmaX - gets the fitted value of sigma x parameter -sigmaErrX - gets error value of sigma x parameter

Definition at line 6822 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetSigmaY ( Double_t sigmaY,
Double_t sigmaErrY 
)

GETTER FUNCTION.

This function gets the sigma y parameter and its error -sigmaY - gets the fitted value of sigma y parameter -sigmaErrY - gets error value of sigma y parameter

Definition at line 6837 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetTailParameters ( Double_t txy,
Double_t txyErr,
Double_t tx,
Double_t txErr,
Double_t ty,
Double_t tyErr,
Double_t bx,
Double_t bxErr,
Double_t by,
Double_t byErr,
Double_t sxy,
Double_t sxyErr,
Double_t sx,
Double_t sxErr,
Double_t sy,
Double_t syErr 
)

GETTER FUNCTION.

This function gets the tail parameters and their errors -txy - gets the fitted value of txy parameter -txyErr - gets error value of txy parameter -tx - gets the fitted value of tx parameter -txErr - gets error value of tx parameter -ty - gets the fitted value of ty parameter -tyErr - gets error value of ty parameter -bx - gets the fitted value of bx parameter -bxErr - gets error value of bx parameter -by - gets the fitted value of by parameter -byErr - gets error value of by parameter -sxy - gets the fitted value of sxy parameter -sxyErr - gets error value of sxy parameter -sx - gets the fitted value of sx parameter -sxErr - gets error value of sx parameter -sy - gets the fitted value of sy parameter -syErr - gets error value of sy parameter

Definition at line 6904 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetVolumeErrors ( Double_t volumeErrors)

GETTER FUNCTION.

This function gets errors of the volumes of fitted 2D peaks -volumeErrors - gets vector of volumes errors of 2D peaks

Definition at line 6806 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::GetVolumes ( Double_t volumes)

GETTER FUNCTION.

This function gets the volumes of fitted 2D peaks -volumes - gets vector of volumes of 2D peaks

Definition at line 6791 of file TSpectrum2Fit.cxx.

Double_t TSpectrum2Fit::Ourpowl ( Double_t  a,
Int_t  pw 
)
protected

power function

Definition at line 386 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi().

void TSpectrum2Fit::SetBackgroundParameters ( Double_t  a0Init,
Bool_t  fixA0,
Double_t  axInit,
Bool_t  fixAx,
Double_t  ayInit,
Bool_t  fixAy 
)

SETTER FUNCTION.

This function sets the following fitting parameters of background: -a0Init - initial value of a0 parameter (backgroud is estimated as a0+ax*x+ay*y) -fixA0 - logical value of a0 parameter, which allows to fix the parameter (not to fit) -axInit - initial value of ax parameter -fixAx - logical value of ax parameter, which allows to fix the parameter (not to fit) -ayInit - initial value of ay parameter -fixAy - logical value of ay parameter, which allows to fix the parameter (not to fit)

Definition at line 6650 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::SetFitParameters ( Int_t  xmin,
Int_t  xmax,
Int_t  ymin,
Int_t  ymax,
Int_t  numberIterations,
Double_t  alpha,
Int_t  statisticType,
Int_t  alphaOptim,
Int_t  power,
Int_t  fitTaylor 
)

Definition at line 6502 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::SetPeakParameters ( Double_t  sigmaX,
Bool_t  fixSigmaX,
Double_t  sigmaY,
Bool_t  fixSigmaY,
Double_t  ro,
Bool_t  fixRo,
const Double_t positionInitX,
const Bool_t fixPositionX,
const Double_t positionInitY,
const Bool_t fixPositionY,
const Double_t positionInitX1,
const Bool_t fixPositionX1,
const Double_t positionInitY1,
const Bool_t fixPositionY1,
const Double_t ampInit,
const Bool_t fixAmp,
const Double_t ampInitX1,
const Bool_t fixAmpX1,
const Double_t ampInitY1,
const Bool_t fixAmpY1 
)

SETTER FUNCTION.

This function sets the following fitting parameters of peaks: -sigmaX - initial value of sigma x parameter -fixSigmaX - logical value of sigma x parameter, which allows to fix the parameter (not to fit) -sigmaY - initial value of sigma y parameter -fixSigmaY - logical value of sigma y parameter, which allows to fix the parameter (not to fit) -ro - initial value of ro parameter (correlation coefficient) -fixRo - logical value of ro parameter, which allows to fix the parameter (not to fit) -positionInitX - aray of initial values of peaks x positions -fixPositionX - array of logical values which allow to fix appropriate x positions (not fit). However they are present in the estimated functional. -positionInitY - aray of initial values of peaks y positions -fixPositionY - array of logical values which allow to fix appropriate y positions (not fit). However they are present in the estimated functional. -ampInit - aray of initial values of 2D peaks amplitudes -fixAmp - aray of logical values which allow to fix appropriate amplitudes of 2D peaks (not fit). However they are present in the estimated functional -ampInitX1 - aray of initial values of amplitudes of 1D ridges in x direction -fixAmpX1 - aray of logical values which allow to fix appropriate amplitudes of 1D ridges in x direction (not fit). However they are present in the estimated functional -ampInitY1 - aray of initial values of amplitudes of 1D ridges in y direction -fixAmpY1 - aray of logical values which allow to fix appropriate amplitudes of 1D ridges in y direction (not fit). However they are present in the estimated functional

Definition at line 6577 of file TSpectrum2Fit.cxx.

void TSpectrum2Fit::SetTailParameters ( Double_t  tInitXY,
Bool_t  fixTxy,
Double_t  tInitX,
Bool_t  fixTx,
Double_t  tInitY,
Bool_t  fixTy,
Double_t  bInitX,
Bool_t  fixBx,
Double_t  bInitY,
Bool_t  fixBy,
Double_t  sInitXY,
Bool_t  fixSxy,
Double_t  sInitX,
Bool_t  fixSx,
Double_t  sInitY,
Bool_t  fixSy 
)

SETTER FUNCTION.

This function sets the following fitting parameters of tails of peaks -tInitXY - initial value of txy parameter -fixTxy - logical value of txy parameter, which allows to fix the parameter (not to fit) -tInitX - initial value of tx parameter -fixTx - logical value of tx parameter, which allows to fix the parameter (not to fit) -tInitY - initial value of ty parameter -fixTy - logical value of ty parameter, which allows to fix the parameter (not to fit) -bInitX - initial value of bx parameter -fixBx - logical value of bx parameter, which allows to fix the parameter (not to fit) -bInitY - initial value of by parameter -fixBy - logical value of by parameter, which allows to fix the parameter (not to fit) -sInitXY - initial value of sxy parameter -fixSxy - logical value of sxy parameter, which allows to fix the parameter (not to fit) -sInitX - initial value of sx parameter -fixSx - logical value of sx parameter, which allows to fix the parameter (not to fit) -sInitY - initial value of sy parameter -fixSy - logical value of sy parameter, which allows to fix the parameter (not to fit)

Definition at line 6683 of file TSpectrum2Fit.cxx.

Double_t TSpectrum2Fit::Shape2 ( Int_t  numOfFittedPeaks,
Double_t  x,
Double_t  y,
const Double_t parameter,
Double_t  sigmax,
Double_t  sigmay,
Double_t  ro,
Double_t  a0,
Double_t  ax,
Double_t  ay,
Double_t  txy,
Double_t  sxy,
Double_t  tx,
Double_t  ty,
Double_t  sx,
Double_t  sy,
Double_t  bx,
Double_t  by 
)
protected

AUXILIARY FUNCTION // // This function calculates 2D peaks shape function (see manual) // Function parameters: // -numOfFittedPeaks-number of fitted peaks // -x-channel in x-dimension // -y-channel in y-dimension // -parameter-array of peaks parameters (amplitudes and positions) // -sigmax-sigmax of peaks // -sigmay-sigmay of peaks // -ro-correlation coefficient // -a0,ax,ay-bac kground coefficients // -txy,tx,ty, sxy,sy,sx-relative amplitudes // -bx, by-slopes // //.

Definition at line 481 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

void TSpectrum2Fit::StiefelInversion ( Double_t **  a,
Int_t  size 
)
protected

Definition at line 400 of file TSpectrum2Fit.cxx.

Referenced by FitStiefel().

Double_t TSpectrum2Fit::Volume ( Double_t  a,
Double_t  sx,
Double_t  sy,
Double_t  ro 
)
protected

AUXILIARY FUNCTION // // This function calculates volume of a peak // Function parameters: // -a-amplitude of the peak // -sx,sy-sigmas of peak // -ro-correlation coefficient // //.

Definition at line 1657 of file TSpectrum2Fit.cxx.

Referenced by FitAwmi(), and FitStiefel().

Member Data Documentation

Double_t TSpectrum2Fit::fA0Calc
protected

Definition at line 101 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fA0Err
protected

Definition at line 102 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fA0Init
protected

Definition at line 100 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fAlpha
protected

Definition at line 42 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetFitParameters(), and TSpectrum2Fit().

Int_t TSpectrum2Fit::fAlphaOptim
protected

Definition at line 39 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetFitParameters(), and TSpectrum2Fit().

Double_t* TSpectrum2Fit::fAmpCalc
protected

Definition at line 57 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetAmplitudes(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fAmpCalcX1
protected

Definition at line 60 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetAmplitudes(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fAmpCalcY1
protected

Definition at line 63 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetAmplitudes(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fAmpErr
protected
Double_t* TSpectrum2Fit::fAmpErrX1
protected
Double_t* TSpectrum2Fit::fAmpErrY1
protected
Double_t* TSpectrum2Fit::fAmpInit
protected

Definition at line 56 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fAmpInitX1
protected

Definition at line 59 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fAmpInitY1
protected

Definition at line 62 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t TSpectrum2Fit::fAxCalc
protected

Definition at line 104 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fAxErr
protected

Definition at line 105 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fAxInit
protected

Definition at line 103 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fAyCalc
protected

Definition at line 107 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fAyErr
protected

Definition at line 108 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fAyInit
protected

Definition at line 106 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetBackgroundParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fBxCalc
protected

Definition at line 95 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fBxErr
protected

Definition at line 96 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fBxInit
protected

Definition at line 94 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fByCalc
protected

Definition at line 98 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fByErr
protected

Definition at line 99 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fByInit
protected

Definition at line 97 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fChi
protected

Definition at line 43 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetChi(), and TSpectrum2Fit().

Int_t TSpectrum2Fit::fFitTaylor
protected

Definition at line 41 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), SetFitParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixA0
protected

Definition at line 127 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetBackgroundParameters(), and TSpectrum2Fit().

Bool_t* TSpectrum2Fit::fFixAmp
protected
Bool_t* TSpectrum2Fit::fFixAmpX1
protected
Bool_t* TSpectrum2Fit::fFixAmpY1
protected
Bool_t TSpectrum2Fit::fFixAx
protected

Definition at line 128 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetBackgroundParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixAy
protected

Definition at line 129 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetBackgroundParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixBx
protected

Definition at line 125 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixBy
protected

Definition at line 126 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Bool_t* TSpectrum2Fit::fFixPositionX
protected
Bool_t* TSpectrum2Fit::fFixPositionX1
protected
Bool_t* TSpectrum2Fit::fFixPositionY
protected
Bool_t* TSpectrum2Fit::fFixPositionY1
protected
Bool_t TSpectrum2Fit::fFixRo
protected

Definition at line 118 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixSigmaX
protected

Definition at line 116 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixSigmaY
protected

Definition at line 117 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixSx
protected

Definition at line 123 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixSxy
protected

Definition at line 120 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixSy
protected

Definition at line 124 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixTx
protected

Definition at line 121 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixTxy
protected

Definition at line 119 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Bool_t TSpectrum2Fit::fFixTy
protected

Definition at line 122 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Int_t TSpectrum2Fit::fNPeaks
protected
Int_t TSpectrum2Fit::fNumberIterations
protected

Definition at line 33 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetFitParameters(), and TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionCalcX
protected

Definition at line 45 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetPositions(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionCalcX1
protected

Definition at line 51 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetPositions(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionCalcY
protected

Definition at line 48 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetPositions(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionCalcY1
protected

Definition at line 54 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetPositions(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionErrX
protected

Definition at line 46 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetPositionErrors(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionErrX1
protected

Definition at line 52 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetPositionErrors(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionErrY
protected

Definition at line 49 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetPositionErrors(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionErrY1
protected

Definition at line 55 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetPositionErrors(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionInitX
protected

Definition at line 44 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionInitX1
protected

Definition at line 50 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionInitY
protected

Definition at line 47 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fPositionInitY1
protected

Definition at line 53 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Int_t TSpectrum2Fit::fPower
protected

Definition at line 40 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), SetFitParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fRoCalc
protected

Definition at line 74 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetRo(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fRoErr
protected

Definition at line 75 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetRo(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fRoInit
protected

Definition at line 73 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSigmaCalcX
protected

Definition at line 68 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetSigmaX(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSigmaCalcY
protected

Definition at line 71 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetSigmaY(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSigmaErrX
protected

Definition at line 69 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetSigmaX(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSigmaErrY
protected

Definition at line 72 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetSigmaY(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSigmaInitX
protected

Definition at line 67 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSigmaInitY
protected

Definition at line 70 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetPeakParameters(), and TSpectrum2Fit().

Int_t TSpectrum2Fit::fStatisticType
protected

Definition at line 38 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetFitParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSxCalc
protected

Definition at line 89 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSxErr
protected

Definition at line 90 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSxInit
protected

Definition at line 88 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSxyCalc
protected

Definition at line 80 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSxyErr
protected

Definition at line 81 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSxyInit
protected

Definition at line 79 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSyCalc
protected

Definition at line 92 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSyErr
protected

Definition at line 93 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fSyInit
protected

Definition at line 91 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTxCalc
protected

Definition at line 83 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTxErr
protected

Definition at line 84 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTxInit
protected

Definition at line 82 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTxyCalc
protected

Definition at line 77 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTxyErr
protected

Definition at line 78 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTxyInit
protected

Definition at line 76 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTyCalc
protected

Definition at line 86 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTyErr
protected

Definition at line 87 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetTailParameters(), and TSpectrum2Fit().

Double_t TSpectrum2Fit::fTyInit
protected

Definition at line 85 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), SetTailParameters(), and TSpectrum2Fit().

Double_t* TSpectrum2Fit::fVolume
protected

Definition at line 65 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetVolumes(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Double_t* TSpectrum2Fit::fVolumeErr
protected

Definition at line 66 of file TSpectrum2Fit.h.

Referenced by FitAwmi(), FitStiefel(), GetVolumeErrors(), TSpectrum2Fit(), and ~TSpectrum2Fit().

Int_t TSpectrum2Fit::fXmax
protected
Int_t TSpectrum2Fit::fXmin
protected
Int_t TSpectrum2Fit::fYmax
protected
Int_t TSpectrum2Fit::fYmin
protected

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