MINT2
GounarisSakurai.h
Go to the documentation of this file.
1 #ifndef GOUNARIS_SAKURAI_LINESHAPE_HH
2 #define GOUNARIS_SAKURAI_LINESHAPE_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:18:04 GMT
5 
6 #include <string>
7 #include <complex>
8 
9 #include "Mint/ILineshape.h"
10 #include "Mint/BW_BW.h"
12 #include "Mint/IDalitzEvent.h"
14 
15 // copied from Jim's DcyGSAmplitude.
16 // See also: Gounaris and Sakurai, Rev. Lett. 21, 244
17 // http://link.aps.org/doi/10.1103/PhysRevLett.21.244
18 //
19 class GounarisSakurai : public BW_BW, virtual public ILineshape{
20 
21  protected:
22  double d() ;
23  double k(const double& mpipi) const ;
24  //double kprime(double mpipi) ;
25  double h(const double& mpipi) const ;
26  double hprime(const double& mpipi) const ;
27  //double den();
28  double sJ();//should be taken to SpinFactor3 one day.
29 
30  // double mumsWidth()const{ return 0.1464*GeV;}// (fixes it to the value in Jim's code)
31 
32  //virtual double ReBreitWigner();// actually, this is the GS shape
33  //virtual double ImBreitWigner();// and not Breit Wigner - will
34  //virtual std::complex<double> BreitWigner(); // rename one day.
35 
36  double ReGSDen() const;
37  double ImGSDen() const;
38  std::complex<double> InvGSDen() const;
39 
40  public:
41 
42  GounarisSakurai( const AssociatedDecayTree& decay, const std::string& namePrefix="")
43  : BW_BW(decay, namePrefix){}
44 
45  virtual std::complex<double> getVal(IDalitzEvent& evt);
46 
47  virtual std::string name() const{
48  return "GounarisSakurai("+ prefix() + _theDecay.oneLiner() +")";
49  }
50 
51  virtual ~GounarisSakurai(){}
52 };
53 
54 #endif
55 //
virtual std::complex< double > getVal(IDalitzEvent &evt)
double ReGSDen() const
const AssociatedDecayTree & _theDecay
Definition: BW_BW.h:69
double k(const double &mpipi) const
Definition: BW_BW.h:30
virtual std::string name() const
GounarisSakurai(const AssociatedDecayTree &decay, const std::string &namePrefix="")
double h(const double &mpipi) const
virtual ~GounarisSakurai()
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375
std::complex< double > InvGSDen() const
double hprime(const double &mpipi) const
const std::string & prefix() const
Definition: BW_BW.h:72
double ImGSDen() const