]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/EvtGenBase/EvtdFunctionSingle.hh
Coverity fix: substituted sscanf by a parser
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtdFunctionSingle.hh
1 //--------------------------------------------------------------------------
2 //
3 // Environment:
4 //      This software is part of the EvtGen package developed jointly
5 //      for the BaBar and CLEO collaborations.  If you use all or part
6 //      of it, please give an appropriate acknowledgement.
7 //
8 // Copyright Information: See EvtGen/COPYRIGHT
9 //      Copyright (C) 2000      Caltech, UCSB
10 //
11 // Module: EvtGen/EvtdFunction.hh
12 //
13 // Description:Evaluation of one Wigner d-Functions
14 //
15 // Modification history:
16 //
17 //    RYD      August 10, 2000         Module created
18 //
19 //------------------------------------------------------------------------
20
21 #ifndef EVTDFUNCTIONSINGLE_HH
22 #define EVTDFUNCTIONSINGLE_HH
23
24 class EvtdFunctionSingle{
25
26 public:
27
28   EvtdFunctionSingle();
29   ~EvtdFunctionSingle();
30
31   void init(int j,int m1,int m2);
32
33   double d(int j,int m1,int m2,double theta);
34   
35 private:
36
37   int fact(int n);
38   
39   int _j;
40   int _m1;
41   int _m2;
42
43   double *_coef;
44
45
46   int _kmin;
47   int _kmax;
48
49 };
50
51 #endif
52