00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef EVTCGCOEFSINGLE_HH
00022 #define EVTCGCOEFSINGLE_HH
00023
00024 #include <vector>
00025
00026
00027 class EvtCGCoefSingle{
00028
00029 public:
00030
00031 EvtCGCoefSingle(int j1, int j2) {init(j1,j2);}
00032 ~EvtCGCoefSingle();
00033
00034
00035 double coef(int J,int M,int j1,int j2,int m1,int m2);
00036
00037 private:
00038
00039 void init(int j1,int j2);
00040 double& cg(int J,int M, int m1, int m2);
00041
00042 int _j1;
00043 int _j2;
00044
00045 int _Jmax;
00046 int _Jmin;
00047
00048 std::vector<std::vector<std::vector<double> > > _table;
00049
00050 };
00051
00052 #endif
00053
00054