MINT2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Lass Class Reference

#include <Lass.h>

Inheritance diagram for Lass:
BW_BW ILineshape ILineshape MINT::FitParDependent MINT::IFitParDependent MINT::IFitParDependent MINT::IFitParRegister MINT::PolymorphVector< FitParRef > MINT::IFitParDependent

Public Member Functions

 Lass (const AssociatedDecayTree &decay, const std::string &namePrefix="")
 
 Lass (const Lass &other)
 
virtual std::complex< double > getVal (IDalitzEvent &evt)
 
virtual std::string name () const
 
virtual ~Lass ()
 
- Public Member Functions inherited from BW_BW
virtual double prSq () const
 
virtual double prSqForGofM () const
 
virtual double pABSq ()
 
virtual double prSqMax () const
 
 BW_BW (const AssociatedDecayTree &decay, const std::string &lineshapePrefix="", MINT::MinuitParameterSet *mps=0)
 
 BW_BW (const BW_BW &other)
 
virtual ~BW_BW ()
 
virtual void print (IDalitzEvent &evt, std::ostream &out=std::cout)
 
virtual void print (std::ostream &out=std::cout) const
 
virtual DalitzCoordinate getDalitzCoordinate (double nSigma=3) const
 
virtual MINT::counted_ptr< IGenFctgeneratingFunction () const
 
virtual void setGenerationLimits (double mi, double ma)
 
virtual int twoLPlusOne () const
 
virtual std::complex< double > EvtGenValue (IDalitzEvent &evt)
 
- Public Member Functions inherited from ILineshape
virtual ~ILineshape ()
 
- Public Member Functions inherited from MINT::FitParDependent
virtual unsigned int size () const
 
virtual const FitParRefoperator[] (unsigned int i) const
 
virtual FitParRefoperator[] (unsigned int i)
 
virtual bool changedSinceLastCall () const
 
virtual void rememberFitParValues ()
 
virtual bool registerFitParDependence (const IFitParDependent &fpd)
 
bool registerFitParDependence (const FitParRef &fpr)
 
void removeAllFitParDependencies ()
 
 FitParDependent (IFitParRegister *daddy=0)
 
 FitParDependent (const FitParDependent &other, IFitParRegister *newDaddy=0)
 
void listFitParDependencies (std::ostream &os=std::cout) const
 
- Public Member Functions inherited from MINT::PolymorphVector< FitParRef >
 PolymorphVector ()
 
 PolymorphVector (unsigned int N)
 
 PolymorphVector (unsigned int N, const FitParRef &c)
 
 PolymorphVector (const PolymorphVector &other)
 
 PolymorphVector (const typename std::vector< FitParRef > &other)
 
virtual ~PolymorphVector ()
 
std::vector< FitParRef > & theVector ()
 
const std::vector< FitParRef > & theVector () const
 
FitParRefoperator[] (unsigned int i)
 
const FitParRefoperator[] (unsigned int i) const
 
FitParRefat (unsigned int i)
 
const FitParRefat (unsigned int i) const
 
std::vector< FitParRef >::iterator begin ()
 
std::vector< FitParRef >::const_iterator begin () const
 
std::vector< FitParRef >::iterator end ()
 
std::vector< FitParRef >::const_iterator end () const
 
std::vector< FitParRef >::iterator find (const FitParRef &c)
 
std::vector< FitParRef >::const_iterator find (const FitParRef &c) const
 
FitParReffront ()
 
const FitParReffront () const
 
FitParRefback ()
 
const FitParRefback () const
 
unsigned int size () const
 
bool empty () const
 
void push_back (const FitParRef &c)
 
void pop_back ()
 
void erase (typename std::vector< FitParRef >::iterator pos)
 
void erase (typename std::vector< FitParRef >::iterator first, typename std::vector< FitParRef >::iterator last)
 
PolymorphVector< FitParRef > & operator= (const PolymorphVector< FitParRef > &other)
 
void clear ()
 
void resize (unsigned int N)
 
void resize (unsigned int N, const FitParRef &c)
 
 operator const typename std::vector< FitParRef > & () const
 
 operator typename std::vector< FitParRef > & ()
 
bool operator== (const MINT::PolymorphVector< FitParRef > &v2) const
 
bool operator!= (const MINT::PolymorphVector< FitParRef > &v2) const
 
bool operator< (const MINT::PolymorphVector< FitParRef > &v2) const
 
bool operator> (const MINT::PolymorphVector< FitParRef > &v2) const
 

Protected Member Functions

std::complex< double > BG ()
 
double paraA () const
 
double paraR () const
 
double paraPhi () const
 
double bgCutOff () const
 
double q ()
 
double q0 () const
 
double cotDeltaBg ()
 
double cotDeltaBg (double &y, double &x)
 
double deltaBg ()
 
- Protected Member Functions inherited from BW_BW
const MINT::MinuitParameterSetgetMinuitParameterSet () const
 
MINT::MinuitParameterSetgetMinuitParameterSet ()
 
const std::string & prefix () const
 
bool substitutePDGForReco () const
 
virtual double twoBody_dgtPsq_in_MumsFrame (double mumsMass, double mA, double mB) const
 
virtual double twoBody_dgtPsq_in_MumsPDGFrame () const
 
virtual double twoBody_recodgtPsq_in_MumsPDGFrame () const
 
virtual double twoBody_dgtPsq_in_MumsRecoFrame ()
 
bool setEventPtr (IDalitzEvent &evt) const
 
IDalitzEventgetEvent () const
 
bool setAllFitParameters ()
 
ResonancePropertiesListresonancePropertiesList () const
 
const ResonancePropertiesresonanceProperties () const
 
virtual const ParticlePropertiesmumsProperties () const
 
virtual ResonancePropertiesFitRefmumsFittableProperties () const
 
virtual int mumsPID () const
 
virtual double mumsMass () const
 
virtual double mumsWidth () const
 
virtual double mumsRadius () const
 
virtual double globalRadius () const
 
virtual double Radius () const
 
double GetAlpha () const
 
virtual int lowestPossibleTwoLPlusOne () const
 
virtual int maxDaughterSpinSum () const
 
virtual int minDaughterSpinSum () const
 
virtual int minDaughterSpinSum2 () const
 
virtual int minDaughterSpinSum3 () const
 
virtual int minDaughterSpinSum4 () const
 
virtual int maxDaughterPairSpinSum (int i, int j) const
 
virtual int minDaughterPairSpinSum (int i, int j) const
 
virtual std::string mumsSpin () const
 
virtual int mumsSpinValue () const
 
virtual int mumsParity () const
 
virtual bool startOfDecayChain () const
 
virtual bool parityConservingL (int L) const
 
virtual double mumsRecoMass2 () const
 
virtual double mumsRecoMass () const
 
virtual MultiQuarkContent mumsQuarkContent () const
 
bool nonResonant () const
 
virtual int numDaughters () const
 
virtual TLorentzVector daughterP4 (int i) const
 
virtual double daughterPDGMass (const int &i) const
 
virtual double daughterWidth (int i) const
 
virtual double daughterRecoMass2 (int i) const
 
virtual double daughterRecoMass (int i) const
 
virtual std::string daughterSpin (int i) const
 
virtual int daughterSpinValue (int i) const
 
virtual MultiQuarkContent daughterQuarkContent (int i) const
 
virtual int daughterP (int i) const
 
virtual int dgtrsInternalParity () const
 
virtual MultiQuarkContent dgtrsQuarkContent () const
 
virtual bool isWeakDecay () const
 
virtual double Fr_PDG_BL ()
 
virtual double Fr_BELLE (double prSquared)
 
virtual double Fr_BELLE_Max ()
 
virtual double Fr ()
 
virtual double FrForGofM ()
 
virtual double FrMax ()
 
virtual double GofM ()
 
virtual std::complex< double > BreitWigner ()
 
virtual void resetInternals ()
 
virtual void resetPDG ()
 

Protected Attributes

MINT::NamedParameter< double > _a
 
MINT::NamedParameter< double > _r
 
MINT::NamedParameter< double > _phi
 
MINT::NamedParameter< double > _bgCutOff
 
- Protected Attributes inherited from BW_BW
MINT::MinuitParameterSet_mps
 
std::string _prefix
 
MINT::NamedParameter< int > _normBF
 
bool _useGlobalRadius
 
const AssociatedDecayTree_theDecay
 
double _gen_s_mi
 
double _gen_s_ma
 
ResonancePropertiesList_RPL
 
ResonancePropertiesFitRef_fittableResonancePropertiesPtr
 
MINT::FitParRef_fittableGlobalRadiusPtr
 
- Protected Attributes inherited from MINT::PolymorphVector< FitParRef >
std::vector< FitParRef_vec
 

Detailed Description

Definition at line 28 of file Lass.h.

Constructor & Destructor Documentation

◆ Lass() [1/2]

Lass::Lass ( const AssociatedDecayTree decay,
const std::string &  namePrefix = "" 
)

Definition at line 15 of file Lass.cpp.

16  : BW_BW(decay, namePrefix)
17  , _a("Lass::a", 2.07/GeV)
18  , _r("Lass::r", 3.32/GeV) // same as b in Lass paper
19  , _phi("Lass::phi", 0*pi/180.0)
20  , _bgCutOff("Lass::bgCutOff", 1.8*GeV)
21 {}
MINT::NamedParameter< double > _phi
Definition: Lass.h:30
static const double pi
MINT::NamedParameter< double > _a
Definition: Lass.h:30
BW_BW(const AssociatedDecayTree &decay, const std::string &lineshapePrefix="", MINT::MinuitParameterSet *mps=0)
Definition: BW_BW.cpp:26
MINT::NamedParameter< double > _bgCutOff
Definition: Lass.h:30
static const double GeV
MINT::NamedParameter< double > _r
Definition: Lass.h:30

◆ Lass() [2/2]

Lass::Lass ( const Lass other)

Definition at line 23 of file Lass.cpp.

24  : ILineshape()
25  , BW_BW(other)
26  , _a(other._a)
27  , _r(other._r) // same as b in Lass paper
28  , _phi(other._phi)
29  , _bgCutOff(other._bgCutOff)
30 {}
MINT::NamedParameter< double > _phi
Definition: Lass.h:30
MINT::NamedParameter< double > _a
Definition: Lass.h:30
BW_BW(const AssociatedDecayTree &decay, const std::string &lineshapePrefix="", MINT::MinuitParameterSet *mps=0)
Definition: BW_BW.cpp:26
MINT::NamedParameter< double > _bgCutOff
Definition: Lass.h:30
MINT::NamedParameter< double > _r
Definition: Lass.h:30

◆ ~Lass()

virtual Lass::~Lass ( )
inlinevirtual

Definition at line 53 of file Lass.h.

53 {}

Member Function Documentation

◆ BG()

complex< double > Lass::BG ( )
protected

Definition at line 45 of file Lass.cpp.

45  {
46  const double M_Kpi = BW_BW::mumsRecoMass();
47 
48  if( M_Kpi > bgCutOff() ) return 0;
49  if( q() <=0 ) return 0;
50 
51  const complex<double> den( q()*cotDeltaBg(), -q() );
52 
53  // const double M_0 = BW_BW::mumsPDGMass();
54  const double M_0 = BW_BW::mumsMass();
55  const double Gamma0 = BW_BW::mumsWidth();
56 
57  const double num = M_Kpi;
58  const double myNormalisation = q0()/(M_0*M_0*Gamma0);
59 
60  return num * myNormalisation / den * GeV*GeV;
61 }
virtual double mumsMass() const
Definition: BW_BW.cpp:453
double bgCutOff() const
Definition: Lass.cpp:72
static const double GeV
virtual double mumsRecoMass() const
Definition: BW_BW.cpp:631
virtual double mumsWidth() const
Definition: BW_BW.cpp:460
double q()
Definition: Lass.cpp:32
double q0() const
Definition: Lass.cpp:38
double cotDeltaBg()
Definition: Lass.cpp:75

◆ bgCutOff()

double Lass::bgCutOff ( ) const
protected

Definition at line 72 of file Lass.cpp.

72  {
73  return _bgCutOff;
74 }
MINT::NamedParameter< double > _bgCutOff
Definition: Lass.h:30

◆ cotDeltaBg() [1/2]

double Lass::cotDeltaBg ( )
protected

Definition at line 75 of file Lass.cpp.

75  {
76  double x,y;
77  return cotDeltaBg(y,x);
78 }
double cotDeltaBg()
Definition: Lass.cpp:75

◆ cotDeltaBg() [2/2]

double Lass::cotDeltaBg ( double &  y,
double &  x 
)
protected

Definition at line 79 of file Lass.cpp.

79  {
80  double qu=q();
81 
82  y = 2.0 * paraA()*qu;
83  x = 2.0 + paraA()*paraR()*qu*qu;
84 
85  return x/y;
86 }
double paraR() const
Definition: Lass.cpp:66
double paraA() const
Definition: Lass.cpp:63
double q()
Definition: Lass.cpp:32

◆ deltaBg()

double Lass::deltaBg ( )
protected

Definition at line 87 of file Lass.cpp.

87  {
88  /*
89  cot(delta_bg) = 1/(aq) + rq/2
90  with q = sqrt(pABSq());
91 
92  . 2 + ba q^2
93  cot(delta_bg) = --------------
94  . 2aq
95 
96  . 2aq
97  tan(delta_bg) = --------------
98  . 2 + ba q^2
99  */
100 
101  double x,y;
102  cotDeltaBg(y, x);
103  return atan2(y, x);
104 }
double cotDeltaBg()
Definition: Lass.cpp:75

◆ getVal()

std::complex< double > Lass::getVal ( IDalitzEvent evt)
virtual

Reimplemented from BW_BW.

Definition at line 106 of file Lass.cpp.

106  {
107  resetInternals();
108  setEventPtr(evt);
109  complex<double> expIPhi(cos(2*deltaBg()), sin(2*deltaBg()));
110  return BG() + BW_BW::getVal(evt)*expIPhi;
111 }
virtual void resetInternals()
Definition: BW_BW.cpp:1114
bool setEventPtr(IDalitzEvent &evt) const
Definition: BW_BW.cpp:141
double deltaBg()
Definition: Lass.cpp:87
std::complex< double > BG()
Definition: Lass.cpp:45
virtual std::complex< double > getVal(IDalitzEvent &evt)
Definition: BW_BW.cpp:1138

◆ name()

virtual std::string Lass::name ( ) const
inlinevirtual

Reimplemented from BW_BW.

Definition at line 50 of file Lass.h.

50  {
51  return "LASS("+prefix()+_theDecay.oneLiner() +")";
52  }
const AssociatedDecayTree & _theDecay
Definition: BW_BW.h:69
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375
const std::string & prefix() const
Definition: BW_BW.h:72

◆ paraA()

double Lass::paraA ( ) const
protected

Definition at line 63 of file Lass.cpp.

63  {
64  return _a;
65 }
MINT::NamedParameter< double > _a
Definition: Lass.h:30

◆ paraPhi()

double Lass::paraPhi ( ) const
protected

Definition at line 69 of file Lass.cpp.

69  {
70  return _phi;
71 }
MINT::NamedParameter< double > _phi
Definition: Lass.h:30

◆ paraR()

double Lass::paraR ( ) const
protected

Definition at line 66 of file Lass.cpp.

66  {
67  return _r;
68 }
MINT::NamedParameter< double > _r
Definition: Lass.h:30

◆ q()

double Lass::q ( )
protected

Definition at line 32 of file Lass.cpp.

32  {
33  double q2 = BW_BW::pABSq();
34  double qu=0;
35  if(q2 > 0) qu=sqrt(q2);
36  return qu;
37 }
virtual double pABSq()
Definition: BW_BW.cpp:1014

◆ q0()

double Lass::q0 ( ) const
protected

Definition at line 38 of file Lass.cpp.

38  {
39  double q02 = BW_BW::prSq();
40  double qu0=0;
41  if(q02 > 0) qu0=sqrt(q02);
42  return qu0;
43 }
virtual double prSq() const
Definition: BW_BW.cpp:969

Member Data Documentation

◆ _a

MINT::NamedParameter<double> Lass::_a
protected

Definition at line 30 of file Lass.h.

◆ _bgCutOff

MINT::NamedParameter<double> Lass::_bgCutOff
protected

Definition at line 30 of file Lass.h.

◆ _phi

MINT::NamedParameter<double> Lass::_phi
protected

Definition at line 30 of file Lass.h.

◆ _r

MINT::NamedParameter<double> Lass::_r
protected

Definition at line 30 of file Lass.h.


The documentation for this class was generated from the following files: