ROOTPWA
TJwfTensor.h
Go to the documentation of this file.
1 //
2 // Uncomment the following line
3 // if you want to work in CINT (root.cern.ch)
4 //
5 //#define __JCINT__
6 #ifndef __JCINT__
7 #define Int_t long long
8 #define Double_t double
9 #define Bool_t bool
10 #endif
11 
12 #include "ClebschGordanBox.h"
13 
14 class TTensorTerm {
15 
16  private:
25 
28 
30 
31  public:
33  Rome=0; ome_pzm=0;
34  Reps=0; eps_pzm=0;
35  Rchi=0; chi_pzm=0;
36  Rphi=0; phi_pzm=0;
37  gam_s_pot=0;
38  gam_sig_pot=0;
39  prefac=TFracNum(0,0,0,0,0);
40  };
41 
42  TTensorTerm (char, Int_t, Int_t*, TFracNum*);
45  Int_t Multiply(char, Int_t, Int_t*, TFracNum*);
50  if (prefac==TFracNum(0,0,0,0,0)) return 0;
51  else return 1;
52  };
53  Int_t Print(char);
54  TFracNum GetPreFac() {return prefac;};
55  Int_t GetGamS() {return gam_s_pot;};
57  //ClassDef(TTensorTerm,1);
58 };
59 
60 class TTensorSum {
61 
62  private:
65 
66  public:
68  Nterms=0;
69  terms=0;
70  };
75  Int_t GetNterms() {return Nterms;};
76  Int_t Print(char);
77  Int_t Print() {return Print('n');}; // CINT limitation for overloading
78 
79  TTensorTerm* GetTerm(Int_t i) {return &terms[i];}
80  //ClassDef(TTensorSum,1);
81 };