ROOTPWA
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ClebschGordanBox Class Reference

Handling of Clebsch-Gordan coefficients. More...

#include <ClebschGordanBox.h>

Public Member Functions

 ClebschGordanBox ()
 Contructor of the container structure.
TFracNumGetCG (Int_t J, Int_t J1, Int_t J2)
 Return field with coefficients for coupling (J1 J2|J)

Private Member Functions

TFracNumClebschGordan (Int_t twoJ, Int_t twoJ1, Int_t twoJ2)

Private Attributes

Int_t NCG
Int_tCGJ
Int_tCGJ1
Int_tCGJ2
TFracNum ** CG

Detailed Description

Handling of Clebsch-Gordan coefficients.

This Class provides the calculation and storage of Clebsch-Gordan coefficients. The calculation follows the derivation presented in J. J. Sakurai, "Modern Quantum Mechanics" (Addison-Wesley Hawaii 1984 ???), pp. ???-???. Since by this method, all coefficients of a multiplet (J,J1,J2) are obtained at once, they (actually their squares, keeping the original signs) are stored in a TFracNum field accessed by the method GetCG.

In order to obtain a specific coefficient (J1,m1,J2,m2|Jm), its index in the field can be obtained by CGIndex(J1,m1,J2,m2). This method is defined globally.

The GetCG method can be called a often as the coefficients are needed, since the calculation is done only once for each multiplet.

Author
Jan.F.nosp@m.ried.nosp@m.rich@.nosp@m.ph.t.nosp@m.um.de

Definition at line 36 of file ClebschGordanBox.h.

Constructor & Destructor Documentation

ClebschGordanBox::ClebschGordanBox ( )
inline

Contructor of the container structure.

Definition at line 46 of file ClebschGordanBox.h.

References CG, and NCG.

Member Function Documentation

TFracNum * ClebschGordanBox::ClebschGordan ( Int_t  twoJ,
Int_t  twoJ1,
Int_t  twoJ2 
)
private
TFracNum * ClebschGordanBox::GetCG ( Int_t  J,
Int_t  J1,
Int_t  J2 
)

Return field with coefficients for coupling (J1 J2|J)

The calculation is performed only once per coupling as long as the ClebschGordanBox exists, so the method may be called repeatedly as needed.

Definition at line 207 of file ClebschGordanBox.cc.

References debugCGBox, i, and Int_t.

Referenced by TSpinWaveFunction::CheckCGFormula(), TSpinWaveFunction::GetSpinCoupledTensorSum(), TFhh::TFhh(), and TLSNonRel::TLSNonRel().

Member Data Documentation

TFracNum** ClebschGordanBox::CG
private

Definition at line 42 of file ClebschGordanBox.h.

Referenced by ClebschGordanBox().

Int_t* ClebschGordanBox::CGJ
private

Definition at line 39 of file ClebschGordanBox.h.

Int_t* ClebschGordanBox::CGJ1
private

Definition at line 40 of file ClebschGordanBox.h.

Int_t* ClebschGordanBox::CGJ2
private

Definition at line 41 of file ClebschGordanBox.h.

Int_t ClebschGordanBox::NCG
private

Definition at line 38 of file ClebschGordanBox.h.

Referenced by ClebschGordanBox().


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