// Author: A. Rustamov

// Written: 

// Revised: 


#ifndef _PRESONANCEDALITZS_H_

#define _PRESONANCEDALITZS_H_


#include "PDalitzDecay.h"

class PResonanceDalitz : public PDalitzDecay  
{
  
public:

  using PDalitzDecay::GetWeight;
  PResonanceDalitz(const Char_t *id, const Char_t *de, Int_t key);
  PDistribution *Clone(const char *delme=NULL) const;
  virtual double dGdM(const int& id, const double& m, const double& ecm);
  
  ////////////////////

  double GetMatrixT(int&, int&, int&, const double&, const double&);
  double GetMatrixL(int&, int&, int&, const double&, const double&);
  double getLambda(double, double, double);

  
  double ecm2;
  double ecm4;
  double ecm3;
  double ecmPmn2;
  double ecmMmn2;
  double M2;
  double M4;  
  
  double mn;
  double mn2;
  double mn3;
  double mn4;

  Double_t  g_Em;
  Int_t spin,par,charge;
  
  void setGm(Double_t my_g_Em) {
      g_Em = my_g_Em;
  }


  ////////////////////    

  ClassDef(PResonanceDalitz, 0)  //Dalitz decay of N* resonances

};

#endif

 PResonanceDalitz.h:1
 PResonanceDalitz.h:2
 PResonanceDalitz.h:3
 PResonanceDalitz.h:4
 PResonanceDalitz.h:5
 PResonanceDalitz.h:6
 PResonanceDalitz.h:7
 PResonanceDalitz.h:8
 PResonanceDalitz.h:9
 PResonanceDalitz.h:10
 PResonanceDalitz.h:11
 PResonanceDalitz.h:12
 PResonanceDalitz.h:13
 PResonanceDalitz.h:14
 PResonanceDalitz.h:15
 PResonanceDalitz.h:16
 PResonanceDalitz.h:17
 PResonanceDalitz.h:18
 PResonanceDalitz.h:19
 PResonanceDalitz.h:20
 PResonanceDalitz.h:21
 PResonanceDalitz.h:22
 PResonanceDalitz.h:23
 PResonanceDalitz.h:24
 PResonanceDalitz.h:25
 PResonanceDalitz.h:26
 PResonanceDalitz.h:27
 PResonanceDalitz.h:28
 PResonanceDalitz.h:29
 PResonanceDalitz.h:30
 PResonanceDalitz.h:31
 PResonanceDalitz.h:32
 PResonanceDalitz.h:33
 PResonanceDalitz.h:34
 PResonanceDalitz.h:35
 PResonanceDalitz.h:36
 PResonanceDalitz.h:37
 PResonanceDalitz.h:38
 PResonanceDalitz.h:39
 PResonanceDalitz.h:40
 PResonanceDalitz.h:41
 PResonanceDalitz.h:42
 PResonanceDalitz.h:43
 PResonanceDalitz.h:44
 PResonanceDalitz.h:45
 PResonanceDalitz.h:46
 PResonanceDalitz.h:47
 PResonanceDalitz.h:48
 PResonanceDalitz.h:49
 PResonanceDalitz.h:50
 PResonanceDalitz.h:51