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

#include <CrystalBallRhoOmega.h>

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

Public Member Functions

 CrystalBallRhoOmega (const AssociatedDecayTree &tree)
 
virtual std::complex< double > getVal (IDalitzEvent &evt)
 
virtual DalitzCoordinate getDalitzCoordinate (double nSigma=3) const
 
virtual void print (std::ostream &out=std::cout) const
 
virtual void print (IDalitzEvent &evt, std::ostream &out=std::cout)
 
virtual MINT::counted_ptr< IGenFctgeneratingFunction () const
 
virtual std::string name () const
 
virtual ~CrystalBallRhoOmega ()
 
- 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 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 > rhoBWVal (IDalitzEvent &evt)
 
std::complex< double > omegaBWVal (IDalitzEvent &evt)
 
double p () const
 
double q () const
 
double eps () const
 
std::complex< double > expIBeta () const
 
std::complex< double > expIPhi () const
 
double delta () const
 
double mRho () const
 
double mOmega () const
 
double GammaRhoFixed () const
 
double GammaOmegaFixed () const
 
double normRho () const
 
double normOmega ()
 
std::complex< double > offDiagonalTerm ()
 
double omegaToRhoAmpRatio () 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 ()
 

Protected Attributes

BW_BW_DifferentMother _omegaBW
 
MINT::NamedParameter< double > _eps
 
MINT::NamedParameter< double > _beta
 
MINT::NamedParameter< double > _phi
 
MINT::NamedParameter< double > _delta
 
MINT::NamedParameter< double > _aRatioSq
 
double _mRho
 
double _mOmega
 
double _GRho
 
double _GOmega
 
- 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 14 of file CrystalBallRhoOmega.h.

Constructor & Destructor Documentation

◆ CrystalBallRhoOmega()

CrystalBallRhoOmega::CrystalBallRhoOmega ( const AssociatedDecayTree tree)

Definition at line 11 of file CrystalBallRhoOmega.cpp.

12  : BW_BW(tree)
13  , _omegaBW(tree, 223)
14  , _eps("CrystalBallRhoOmega::eps", 1.14)
15  , _beta("ChristalBallRhoOmega::beta", -4.3*pi/180.0)
16  , _phi("ChristalBallRhoOmega::phi", 107*pi/180.0)
17  , _delta("ChristalBallRhoOmega::delta", 2.5*MeV)
18  , _aRatioSq("ChristalBallRhoOmega::aRatioSq", 3.9)
19  , _mRho(-9999), _mOmega(-9999), _GRho(-9999), _GOmega(-9999)
20 {
21 }
MINT::NamedParameter< double > _delta
MINT::NamedParameter< double > _beta
static const double pi
MINT::NamedParameter< double > _eps
MINT::NamedParameter< double > _phi
static const double MeV
BW_BW(const AssociatedDecayTree &decay, const std::string &lineshapePrefix="", MINT::MinuitParameterSet *mps=0)
Definition: BW_BW.cpp:26
BW_BW_DifferentMother _omegaBW
MINT::NamedParameter< double > _aRatioSq

◆ ~CrystalBallRhoOmega()

virtual CrystalBallRhoOmega::~CrystalBallRhoOmega ( )
inlinevirtual

Definition at line 58 of file CrystalBallRhoOmega.h.

58 {}

Member Function Documentation

◆ delta()

double CrystalBallRhoOmega::delta ( ) const
protected

Definition at line 51 of file CrystalBallRhoOmega.cpp.

51  {
52  return _delta;
53 }
MINT::NamedParameter< double > _delta

◆ eps()

double CrystalBallRhoOmega::eps ( ) const
protected

Definition at line 39 of file CrystalBallRhoOmega.cpp.

39  {
40  return _eps;
41 }
MINT::NamedParameter< double > _eps

◆ expIBeta()

std::complex< double > CrystalBallRhoOmega::expIBeta ( ) const
protected

Definition at line 43 of file CrystalBallRhoOmega.cpp.

43  {
44  return complex<double>(cos(_beta), sin(_beta));
45 }
MINT::NamedParameter< double > _beta

◆ expIPhi()

std::complex< double > CrystalBallRhoOmega::expIPhi ( ) const
protected

Definition at line 47 of file CrystalBallRhoOmega.cpp.

47  {
48  return complex<double>(cos(_phi), sin(_phi));
49 }
MINT::NamedParameter< double > _phi

◆ GammaOmegaFixed()

double CrystalBallRhoOmega::GammaOmegaFixed ( ) const
protected

Definition at line 70 of file CrystalBallRhoOmega.cpp.

70  {
72  return _GOmega;
73 }
static double width(const std::string &name)

◆ GammaRhoFixed()

double CrystalBallRhoOmega::GammaRhoFixed ( ) const
protected

Definition at line 60 of file CrystalBallRhoOmega.cpp.

60  {
62  return _GRho;
63 }
static double width(const std::string &name)

◆ generatingFunction()

MINT::counted_ptr< IGenFct > CrystalBallRhoOmega::generatingFunction ( ) const
virtual

Reimplemented from BW_BW.

Definition at line 135 of file CrystalBallRhoOmega.cpp.

135  {
136  return BW_BW::generatingFunction();
137 }
virtual MINT::counted_ptr< IGenFct > generatingFunction() const
Definition: BW_BW.cpp:1277

◆ getDalitzCoordinate()

DalitzCoordinate CrystalBallRhoOmega::getDalitzCoordinate ( double  nSigma = 3) const
virtual

Reimplemented from BW_BW.

Definition at line 117 of file CrystalBallRhoOmega.cpp.

117  {
118  return BW_BW::getDalitzCoordinate(nSigma);
119 }
virtual DalitzCoordinate getDalitzCoordinate(double nSigma=3) const
Definition: BW_BW.cpp:537

◆ getVal()

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

Reimplemented from BW_BW.

Definition at line 103 of file CrystalBallRhoOmega.cpp.

103  {
104  resetInternals();
105  setEventPtr(evt);
106  // cout << "CrystalBallRhoOmega called " << endl;
107  std::complex<double> rho = rhoBWVal(evt) * normRho();
108  std::complex<double> om = omegaBWVal(evt)
109  * eps() * expIBeta()* normOmega();
110 
111  std::complex<double> returnVal= p()*q()*(rho + omegaToRhoAmpRatio()
112  * om * offDiagonalTerm());
113 
114  return returnVal;
115 }
virtual void resetInternals()
Definition: BW_BW.cpp:1114
double omegaToRhoAmpRatio() const
bool setEventPtr(IDalitzEvent &evt) const
Definition: BW_BW.cpp:141
std::complex< double > offDiagonalTerm()
std::complex< double > expIBeta() const
std::complex< double > omegaBWVal(IDalitzEvent &evt)
std::complex< double > rhoBWVal(IDalitzEvent &evt)

◆ mOmega()

double CrystalBallRhoOmega::mOmega ( ) const
protected

Definition at line 65 of file CrystalBallRhoOmega.cpp.

65  {
67  return _mOmega;
68 }
static double mass(const std::string &name)

◆ mRho()

double CrystalBallRhoOmega::mRho ( ) const
protected

Definition at line 55 of file CrystalBallRhoOmega.cpp.

55  {
57  return _mRho;
58 }
static double mass(const std::string &name)

◆ name()

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

Reimplemented from BW_BW.

Definition at line 55 of file CrystalBallRhoOmega.h.

55  {
56  return "CrystallBarrel("+_theDecay.oneLiner() +")";
57  }
const AssociatedDecayTree & _theDecay
Definition: BW_BW.h:69
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375

◆ normOmega()

double CrystalBallRhoOmega::normOmega ( )
protected

Definition at line 79 of file CrystalBallRhoOmega.cpp.

79  {
80  double m = mOmega()/mRho();
81  double G = GammaOmegaFixed()/GammaRhoFixed();
82 
83  double r = sqrt(prSq()/_omegaBW.prSq());
84 
85  double d = sqrt((1. + _omegaBW.pABSq())/(1. + pABSq()));
86  return m*G*r*d;
87 }
virtual double prSq() const
Definition: BW_BW.cpp:969
double GammaOmegaFixed() const
static const double m
virtual double pABSq()
Definition: BW_BW.cpp:1014
BW_BW_DifferentMother _omegaBW
double GammaRhoFixed() const

◆ normRho()

double CrystalBallRhoOmega::normRho ( ) const
protected

Definition at line 75 of file CrystalBallRhoOmega.cpp.

75  {
76  return 1;
77 }

◆ offDiagonalTerm()

std::complex< double > CrystalBallRhoOmega::offDiagonalTerm ( )
protected

Definition at line 93 of file CrystalBallRhoOmega.cpp.

93  {
94  std::complex<double> num = expIPhi() * delta() * (mRho() + mOmega());
95  double dm2 = mOmega()*mOmega() - mRho()*mRho();
96  double dmG = mOmega()*GammaOmegaFixed() - mRho()*GofM();
97 
98  std::complex<double> den(dm2, -dmG);
99 
100  return num/den;
101 }
double GammaOmegaFixed() const
std::complex< double > expIPhi() const
virtual double GofM()
Definition: BW_BW.cpp:1035

◆ omegaBWVal()

std::complex< double > CrystalBallRhoOmega::omegaBWVal ( IDalitzEvent evt)
protected

Definition at line 27 of file CrystalBallRhoOmega.cpp.

27  {
28  return _omegaBW.getVal(evt);
29 }
BW_BW_DifferentMother _omegaBW
virtual std::complex< double > getVal(IDalitzEvent &evt)
Definition: BW_BW.cpp:1138

◆ omegaToRhoAmpRatio()

double CrystalBallRhoOmega::omegaToRhoAmpRatio ( ) const
protected

Definition at line 89 of file CrystalBallRhoOmega.cpp.

89  {
90  return sqrt(_aRatioSq);
91 }
MINT::NamedParameter< double > _aRatioSq

◆ p()

double CrystalBallRhoOmega::p ( ) const
protected

Definition at line 31 of file CrystalBallRhoOmega.cpp.

31  {
32  return 1.0;
33 }

◆ print() [1/2]

void CrystalBallRhoOmega::print ( std::ostream &  out = std::cout) const
virtual

Reimplemented from BW_BW.

Definition at line 121 of file CrystalBallRhoOmega.cpp.

121  {
122  out << "CrystalBallRhoOmega\n\t with rho:\n";
123  BW_BW::print(out);
124  out << "\n\t and with omega:\n";
125  _omegaBW.print(out);
126 }
virtual void print(IDalitzEvent &evt, std::ostream &out=std::cout)
Definition: BW_BW.cpp:1287
BW_BW_DifferentMother _omegaBW

◆ print() [2/2]

void CrystalBallRhoOmega::print ( IDalitzEvent evt,
std::ostream &  out = std::cout 
)
virtual

Reimplemented from BW_BW.

Definition at line 128 of file CrystalBallRhoOmega.cpp.

128  {
129  out << "CrystalBallRhoOmega\n\t with rho:\n";
130  BW_BW::print(evt, out);
131  out << "\n\t and with omega:\n";
132  _omegaBW.print(out);
133 }
virtual void print(IDalitzEvent &evt, std::ostream &out=std::cout)
Definition: BW_BW.cpp:1287
BW_BW_DifferentMother _omegaBW

◆ q()

double CrystalBallRhoOmega::q ( ) const
protected

Definition at line 35 of file CrystalBallRhoOmega.cpp.

35  {
36  return 1.0;
37 }

◆ rhoBWVal()

std::complex< double > CrystalBallRhoOmega::rhoBWVal ( IDalitzEvent evt)
protected

Definition at line 23 of file CrystalBallRhoOmega.cpp.

23  {
24  return BW_BW::getVal(evt);
25 }
virtual std::complex< double > getVal(IDalitzEvent &evt)
Definition: BW_BW.cpp:1138

Member Data Documentation

◆ _aRatioSq

MINT::NamedParameter<double> CrystalBallRhoOmega::_aRatioSq
protected

Definition at line 24 of file CrystalBallRhoOmega.h.

◆ _beta

MINT::NamedParameter<double> CrystalBallRhoOmega::_beta
protected

Definition at line 24 of file CrystalBallRhoOmega.h.

◆ _delta

MINT::NamedParameter<double> CrystalBallRhoOmega::_delta
protected

Definition at line 24 of file CrystalBallRhoOmega.h.

◆ _eps

MINT::NamedParameter<double> CrystalBallRhoOmega::_eps
protected

Definition at line 24 of file CrystalBallRhoOmega.h.

◆ _GOmega

double CrystalBallRhoOmega::_GOmega
mutableprotected

Definition at line 28 of file CrystalBallRhoOmega.h.

◆ _GRho

double CrystalBallRhoOmega::_GRho
mutableprotected

Definition at line 28 of file CrystalBallRhoOmega.h.

◆ _mOmega

double CrystalBallRhoOmega::_mOmega
mutableprotected

Definition at line 28 of file CrystalBallRhoOmega.h.

◆ _mRho

double CrystalBallRhoOmega::_mRho
mutableprotected

Definition at line 28 of file CrystalBallRhoOmega.h.

◆ _omegaBW

BW_BW_DifferentMother CrystalBallRhoOmega::_omegaBW
protected

Definition at line 22 of file CrystalBallRhoOmega.h.

◆ _phi

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

Definition at line 24 of file CrystalBallRhoOmega.h.


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