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

#include <GounarisSakurai.h>

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

Public Member Functions

 GounarisSakurai (const AssociatedDecayTree &decay, const std::string &namePrefix="")
 
virtual std::complex< double > getVal (IDalitzEvent &evt)
 
virtual std::string name () const
 
virtual ~GounarisSakurai ()
 
- 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

double d ()
 
double k (const double &mpipi) const
 
double h (const double &mpipi) const
 
double hprime (const double &mpipi) const
 
double sJ ()
 
double ReGSDen () const
 
double ImGSDen () const
 
std::complex< double > InvGSDen () const
 
- 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 ()
 

Additional Inherited Members

- 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 19 of file GounarisSakurai.h.

Constructor & Destructor Documentation

◆ GounarisSakurai()

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

Definition at line 42 of file GounarisSakurai.h.

43  : BW_BW(decay, namePrefix){}
BW_BW(const AssociatedDecayTree &decay, const std::string &lineshapePrefix="", MINT::MinuitParameterSet *mps=0)
Definition: BW_BW.cpp:26

◆ ~GounarisSakurai()

virtual GounarisSakurai::~GounarisSakurai ( )
inlinevirtual

Definition at line 51 of file GounarisSakurai.h.

51 {}

Member Function Documentation

◆ d()

Double_t GounarisSakurai::d ( )
protected

Definition at line 18 of file GounarisSakurai.cpp.

19 {
20  double m = mumsMass();
21  double mpi = daughterRecoMass(0);
22 
23  Double_t mpipi = pow(m,2);
24  Double_t logfactor = log((m+2*k(mpipi))/(2.0*mpi));
25  Double_t term1 = (3.0/TMath::Pi())*pow(mpi/k(mpipi),2)*logfactor;
26  Double_t term2 = m/(2.0*TMath::Pi()*k(mpipi));
27  Double_t term3 = pow(mpi,2)*m/(TMath::Pi()*pow(k(mpipi),3));
28 
29  return term1+term2-term3;
30 
31 }
virtual double mumsMass() const
Definition: BW_BW.cpp:453
double k(const double &mpipi) const
virtual double daughterRecoMass(int i) const
Definition: BW_BW.cpp:617
static const double m

◆ getVal()

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

Reimplemented from BW_BW.

Reimplemented in RhoOmegaGS.

Definition at line 94 of file GounarisSakurai.cpp.

94  {
95  bool dbThis=false;
96  setEventPtr(evt);
98 
99  double formFactor= 1.;
100  if( _normBF == 1 ) formFactor = Fr();
101  else if( _normBF == 0 ) formFactor = Fr_PDG_BL();
102  else if(_normBF == 2 ) formFactor = Fr_BELLE(0.);
103 
104  if(startOfDecayChain()){
105  return formFactor;
106  }
107 
108  std::complex<double> returnVal = formFactor*sJ()*InvGSDen();
109 
110  if(dbThis) cout << " GounarisSakurai for "
111  << _theDecay.oneLiner() << endl; // dbg
112  if(dbThis) cout << "\n > nominalMass " << mumsMass()
113  << "\n > nominalWidth " << mumsWidth()
114  << "\n > Fr() " << formFactor
115  << "\n > a part from sJ() " << sJ()
116  << "\n > d() " << d()
117  << "\n > BW " << InvGSDen()
118  << "\n > recoMass " << mumsRecoMass()
119  << endl;
120 
121  return returnVal;
122 }
virtual void resetInternals()
Definition: BW_BW.cpp:1114
virtual double Fr()
Definition: BW_BW.cpp:710
const AssociatedDecayTree & _theDecay
Definition: BW_BW.h:69
virtual double mumsMass() const
Definition: BW_BW.cpp:453
bool setEventPtr(IDalitzEvent &evt) const
Definition: BW_BW.cpp:141
virtual double Fr_PDG_BL()
Definition: BW_BW.cpp:830
MINT::NamedParameter< int > _normBF
Definition: BW_BW.h:66
virtual bool startOfDecayChain() const
Definition: BW_BW.cpp:532
virtual double Fr_BELLE(double prSquared)
Definition: BW_BW.cpp:720
virtual double mumsRecoMass() const
Definition: BW_BW.cpp:631
virtual double mumsWidth() const
Definition: BW_BW.cpp:460
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375
std::complex< double > InvGSDen() const

◆ h()

double GounarisSakurai::h ( const double &  mpipi) const
protected

Definition at line 41 of file GounarisSakurai.cpp.

42 {
43  const double mpi = daughterRecoMass(0);
44  const double logterm = log((sqrt(mpipi)+2.0*k(mpipi))/(2.0*mpi));
45  return (2.0*k(mpipi)*logterm)/(TMath::Pi()*sqrt(mpipi));
46 }
double k(const double &mpipi) const
virtual double daughterRecoMass(int i) const
Definition: BW_BW.cpp:617

◆ hprime()

double GounarisSakurai::hprime ( const double &  mpipi) const
protected

Definition at line 47 of file GounarisSakurai.cpp.

48 {
49  return h(mpipi)*(0.125/pow(k(mpipi),2)-0.5/mpipi)+0.5/(TMath::Pi()*mpipi);
50 }
double k(const double &mpipi) const
double h(const double &mpipi) const

◆ ImGSDen()

double GounarisSakurai::ImGSDen ( ) const
protected

Definition at line 79 of file GounarisSakurai.cpp.

79  {
80  const double m = mumsMass();
81  const double s = mumsRecoMass2();
82  const double G = mumsWidth();
83 
84  //also do we really need a barrier factor in here? None in paper
85  const double returnVal = -m*G*pow(k(s)/k(pow(m,2)),3)*(m/sqrt(s)); //*Fr()*Fr(); ?
86 
87  return returnVal;
88 }
virtual double mumsMass() const
Definition: BW_BW.cpp:453
static const double s
double k(const double &mpipi) const
virtual double mumsRecoMass2() const
Definition: BW_BW.cpp:548
static const double m
virtual double mumsWidth() const
Definition: BW_BW.cpp:460

◆ InvGSDen()

std::complex< double > GounarisSakurai::InvGSDen ( ) const
protected

Definition at line 90 of file GounarisSakurai.cpp.

90  {
91  return 1.0/std::complex<double>(ReGSDen(), ImGSDen());
92 }
double ReGSDen() const
double ImGSDen() const

◆ k()

double GounarisSakurai::k ( const double &  mpipi) const
protected

Definition at line 33 of file GounarisSakurai.cpp.

34 {
35  const double mpi = daughterRecoMass(0);
36  if (0.25*mpipi-pow(mpi,2)<=0.0) return 0.0;
37  return sqrt(0.25*mpipi-pow(mpi,2));
38 }
virtual double daughterRecoMass(int i) const
Definition: BW_BW.cpp:617

◆ name()

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

Reimplemented from BW_BW.

Reimplemented in RhoOmegaGS.

Definition at line 47 of file GounarisSakurai.h.

47  {
48  return "GounarisSakurai("+ prefix() + _theDecay.oneLiner() +")";
49  }
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

◆ ReGSDen()

double GounarisSakurai::ReGSDen ( ) const
protected

Definition at line 59 of file GounarisSakurai.cpp.

59  {
60  const double m = mumsMass();
61  const double m2 = m*m;
62  const double km = k(m2);
63  const double km2 = km*km;
64  const double km3 = km*km*km;
65 
66  const double s = mumsRecoMass2();
67  const double ks = k(s);
68  const double ks2 = ks*ks;
69 
70  const double G = mumsWidth();
71 
72  const double rterm2 =
73  G*( m2/km3 ) *
74  (ks2 *( h(s)-h(m2) )+ km2 * hprime(m2)*(m2-s));
75 
76  return m2 - s+rterm2;
77 }
virtual double mumsMass() const
Definition: BW_BW.cpp:453
static const double s
double k(const double &mpipi) const
static const double km3
virtual double mumsRecoMass2() const
Definition: BW_BW.cpp:548
static const double m2
static const double m
double h(const double &mpipi) const
virtual double mumsWidth() const
Definition: BW_BW.cpp:460
static const double km
static const double km2
double hprime(const double &mpipi) const

◆ sJ()

double GounarisSakurai::sJ ( )
protected

Definition at line 53 of file GounarisSakurai.cpp.

53  {
54  double G = mumsWidth();
55  double m = mumsMass();
56  return m*m*(1.0+d()*G/m);
57 }
virtual double mumsMass() const
Definition: BW_BW.cpp:453
static const double m
virtual double mumsWidth() const
Definition: BW_BW.cpp:460

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