MINT2
Lass.h
Go to the documentation of this file.
1 #ifndef LASS_LINESHAPE_HH
2 #define LASS_LINESHAPE_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:18:04 GMT
5 
6 #include "Mint/ILineshape.h"
7 #include "Mint/BW_BW.h"
9 #include "Mint/IDalitzEvent.h"
12 #include "Mint/NamedParameter.h"
13 
14 #include <complex>
15 #include <string>
16 
17 /*
18  Lass parameterised a la BaBar, Phys.Rev.D78:012004,2008 also
19  available as: arXiv:0803.4451[hep-ex], SLAC-PUB-13189,
20  BABAR-PUB-08/005 (and of course originally developed by Lass,
21  D. Aston et al. (LASS), Nucl. Phys. B296, 493 (1988)).
22 
23  There is a normalisation difference in this implementation compared
24  to BaBar: The whole thing is multiplied by q0()/(M_0*M_0*Gamma0); to
25  be consistent with the usual BW normalisation (or lack thereof)
26 */
27 
28 class Lass : public BW_BW, virtual public ILineshape{
29  protected:
31 
32  std::complex<double> BG();
33  double paraA()const;
34  double paraR()const;
35  double paraPhi() const;
36  double bgCutOff() const;
37  double q();
38  double q0() const;
39  double cotDeltaBg();
40  double cotDeltaBg(double& y, double& x);
41  double deltaBg();
42 
43  public:
44 
45  Lass( const AssociatedDecayTree& decay, const std::string& namePrefix="");
46  Lass(const Lass& other);
47 
48  virtual std::complex<double> getVal(IDalitzEvent& evt);
49 
50  virtual std::string name() const{
51  return "LASS("+prefix()+_theDecay.oneLiner() +")";
52  }
53  virtual ~Lass(){}
54 };
55 
56 #endif
57 //
MINT::NamedParameter< double > _phi
Definition: Lass.h:30
const AssociatedDecayTree & _theDecay
Definition: BW_BW.h:69
virtual ~Lass()
Definition: Lass.h:53
virtual std::complex< double > getVal(IDalitzEvent &evt)
Definition: Lass.cpp:106
double paraR() const
Definition: Lass.cpp:66
MINT::NamedParameter< double > _a
Definition: Lass.h:30
double paraPhi() const
Definition: Lass.cpp:69
Definition: BW_BW.h:30
MINT::NamedParameter< double > _bgCutOff
Definition: Lass.h:30
double bgCutOff() const
Definition: Lass.cpp:72
double paraA() const
Definition: Lass.cpp:63
Definition: Lass.h:28
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375
double q()
Definition: Lass.cpp:32
double deltaBg()
Definition: Lass.cpp:87
std::complex< double > BG()
Definition: Lass.cpp:45
Lass(const AssociatedDecayTree &decay, const std::string &namePrefix="")
Definition: Lass.cpp:15
virtual std::string name() const
Definition: Lass.h:50
const std::string & prefix() const
Definition: BW_BW.h:72
double q0() const
Definition: Lass.cpp:38
double cotDeltaBg()
Definition: Lass.cpp:75
MINT::NamedParameter< double > _r
Definition: Lass.h:30