ROOTPWA
TFhh.h
Go to the documentation of this file.
1 #ifndef TFhh_h
2 #define TFhh_h
3 
14 //
15 // Uncomment the following line
16 // if you want to work in CINT (root.cern.ch)
17 //
18 //#define __JCINT__
19 #ifndef __JCINT__
20 #define Int_t long long
21 #define Double_t double
22 #define Bool_t bool
23 #endif
24 
25 #include "TLSAmpl.h"
26 
27 class TFhh {
28 
29  private:
30  char* name_str;
39 
40  public:
41 
42  TFhh(){
43  J=0; lambda=0; nu=0; Nterms=0; LSt=0;
44  };
45 
46  TFhh(Int_t, Int_t , Int_t,
47  Int_t, Int_t, Int_t, TLSAmpl**,
48  Int_t);
49 
50  TFhh(TFhh*, char);
51  TFhh(TFhh*, TFhh*);
52 
53  Int_t GetNterms() {return Nterms;};
54  Int_t IsNuNu() { if (lambda== nu) return 1; return 0; };
55  Int_t IsNuMinusNu() { if (lambda==-nu) return 1; return 0; };
56  Int_t GetLambda() { return lambda;};
57  Int_t GetNu() { return nu;};
58  Int_t GetJ() {return J;};
60  TLSContrib** GetLStPtr() {return LSt;};
61  char* GetName() {return name_str;};
62 
64  Int_t PrintNRG();
65  Int_t Print();
66  //ClassDef(THCTerm,1);
67 
68 };
69 
70 class TJSS {
71 
72  private:
73 
81 
84 
87 
90 
91  public:
92 
93  TJSS() {
94  JMother = 0; etaJ = 1;
95  SDecay1 = 0; eta1 = 1;
96  SDecay2 = 0; eta2 = 1;
97  CalcAmpl();
98  };
99 
100  TJSS(Int_t J, Int_t eJ,
101  Int_t S1, Int_t e1,
102  Int_t S2, Int_t e2,
103  Int_t option) {
104  JMother = J; etaJ=eJ;
105  SDecay1 = S1; eta1=e1;
106  SDecay2 = S2; eta2=e2;
107  CalcAmpl();
108  if (option>1) PrintHFILE();
109  };
110 
111  Int_t CalcAmpl();
112  Int_t PrintHFILE();
113 
114  //ClassDef(TJSS,1);
115 };
116 
117 #endif