MINT2
GLass.h
Go to the documentation of this file.
1 #ifndef GLASS_LINESHAPE_HH
2 #define GLASS_LINESHAPE_HH
3 // author: Philippe d'Argent
4 
5 #include "Mint/ILineshape.h"
6 #include "Mint/BW_BW.h"
8 #include "Mint/IDalitzEvent.h"
11 #include "Mint/NamedParameter.h"
13 #include "Mint/FitParDependent.h"
15 
16 #include <complex>
17 #include <string>
18 
19 /*
20  Lass parameterised a la arXiv:1004.5053v3
21 */
22 
23 class GLass : public BW_BW, virtual public ILineshape{
24  protected:
25 
26  virtual std::complex<double> BreitWigner();
27 
28  double a() const{return mumsFittableProperties().fitGLASS_a()/GeV ;}
29  double r() const{return mumsFittableProperties().fitGLASS_r()/GeV ;}
30  double R() const{return mumsFittableProperties().fitGLASS_R() ;}
31  double phiR() const{return mumsFittableProperties().fitGLASS_phiR() ;}
32  double F() const{return mumsFittableProperties().fitGLASS_F() ;}
33  double phiF() const{return mumsFittableProperties().fitGLASS_phiF() ;}
34  double alpha1() const{return mumsFittableProperties().fitGLASS_alpha1() ;}
35  double alpha2() const{return mumsFittableProperties().fitGLASS_alpha2() ;}
36  double alpha3() const{return mumsFittableProperties().fitGLASS_alpha3() ;}
37 
38  public:
39 
40  GLass( const AssociatedDecayTree& tree, const std::string& namePrefix=""):
41  BW_BW(tree, namePrefix)
42  {}
43 
44  virtual std::string name() const{
45  return "GLASS("+prefix()+_theDecay.oneLiner() +")";
46  }
47  virtual ~GLass(){}
48 };
49 
50 #endif
51 //
Definition: GLass.h:23
const AssociatedDecayTree & _theDecay
Definition: BW_BW.h:69
virtual ~GLass()
Definition: GLass.h:47
double alpha1() const
Definition: GLass.h:34
Definition: BW_BW.h:30
double F() const
Definition: GLass.h:32
double r() const
Definition: GLass.h:29
virtual std::string name() const
Definition: GLass.h:44
virtual ResonancePropertiesFitRef & mumsFittableProperties() const
Definition: BW_BW.cpp:414
static const double GeV
virtual std::complex< double > BreitWigner()
Definition: GLass.cpp:9
GLass(const AssociatedDecayTree &tree, const std::string &namePrefix="")
Definition: GLass.h:40
double phiR() const
Definition: GLass.h:31
double alpha3() const
Definition: GLass.h:36
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375
double alpha2() const
Definition: GLass.h:35
double a() const
Definition: GLass.h:28
double R() const
Definition: GLass.h:30
double phiF() const
Definition: GLass.h:33
const std::string & prefix() const
Definition: BW_BW.h:72