]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TEvtGen/EvtGenBase/EvtSemiLeptonicBaryonAmp.hh
Updates EvtGen Code
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtSemiLeptonicBaryonAmp.hh
index 6004196942fe4d8053f3a4faee079c56cbc64959..38d5615e410ac4a69b0c2aed94ad5fd7739fc2f7 100644 (file)
@@ -27,15 +27,47 @@ class EvtParticle;
 class EvtAmp;
 class EvtSemiLeptonicFF;
 
+class EvtVector4C;
+class EvtVector4R;
+class EvtDiracSpinor;
+class EvtRaritaSchwinger;
+
 class EvtSemiLeptonicBaryonAmp:public EvtSemiLeptonicAmp {
 
  public:
 
+  virtual ~EvtSemiLeptonicBaryonAmp();
+
   //Daughters are initialized and have been added to the parent.
   //No need to carry around the daughters seperately!
   void CalcAmp( EvtParticle *parent,EvtAmp& amp,
                EvtSemiLeptonicFF *FormFactors );
 
+  void CalcAmp( EvtParticle *parent, EvtAmp& amp,
+               EvtSemiLeptonicFF *FormFactors,
+               EvtComplex r00, EvtComplex r01,
+               EvtComplex r10, EvtComplex r11 );
+  
+  double CalcMaxProb( EvtId parent, EvtId meson, EvtId lepton,
+                      EvtId nudaug, EvtSemiLeptonicFF *FormFactors,
+                      EvtComplex r00, EvtComplex r01,
+                      EvtComplex r10, EvtComplex r11);
+
+
+ private:
+
+  EvtVector4C EvtBaryonVACurrent( const EvtDiracSpinor& Bf,
+                                 const EvtDiracSpinor& Bi, 
+                                 EvtVector4R parent, 
+                                 EvtVector4R daught, 
+                                 const double *ff, int pflag);
+
+  EvtVector4C EvtBaryonVARaritaCurrent( const EvtRaritaSchwinger& Bf_vect,
+                                       const EvtDiracSpinor& Bi, 
+                                       EvtVector4R parent, 
+                                       EvtVector4R daught, 
+                                       const double *ff, int pflag);
+
 };
 
 #endif