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

#include <SBW.h>

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

Public Member Functions

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

virtual double GofM ()
 
virtual std::complex< double > BreitWigner ()
 
double c1 () const
 
double c2 () const
 
double c3 () const
 
double c4 () const
 
double c5 () 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 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 16 of file SBW.h.

Constructor & Destructor Documentation

◆ SBW()

SBW::SBW ( const AssociatedDecayTree tree,
const std::string &  namePrefix 
)
inline

Definition at line 19 of file SBW.h.

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

◆ ~SBW()

virtual SBW::~SBW ( )
inlinevirtual

Definition at line 25 of file SBW.h.

25 {}

Member Function Documentation

◆ BreitWigner()

virtual std::complex<double> SBW::BreitWigner ( )
inlineprotectedvirtual

Reimplemented from BW_BW.

Definition at line 30 of file SBW.h.

30  {
31 
32  double mass = mumsMass();
33  double width = mumsWidth();
34 
35  double gamma = sqrt(mass*mass*(mass*mass+width*width));
36  double k = mass*width*gamma/sqrt(mass*mass+gamma);
37 
38  const double m2hh = mumsRecoMass2()/GeV/GeV;
39  //double p = twoBody_dgtPsq_in_MumsFrame(mumsRecoMass(), daughterPDGMass(0), daughterPDGMass(1));
40  //if(p <= 0) return 0.;
41 
42  std::complex<double> invBW(mumsRecoMass()-mass, - width/2.);
43  //return sqrt(k)/invBW;
44  return 1.*GeV/invBW;//*pow(pABSq(),GetAlpha());//*(1.+pABSq()/GeV*c1()+pow(pABSq()/GeV,2.)*c2()+pow(pABSq()/GeV,3.)*c3());
45  }
virtual double mumsMass() const
Definition: BW_BW.cpp:453
virtual double mumsRecoMass2() const
Definition: BW_BW.cpp:548
static const double GeV
virtual double mumsRecoMass() const
Definition: BW_BW.cpp:631
virtual double mumsWidth() const
Definition: BW_BW.cpp:460

◆ c1()

double SBW::c1 ( ) const
inlineprotected

Definition at line 50 of file SBW.h.

50  {
51  return _RPL->get(mumsPID())->c1();
52  }
ResonancePropertiesList * _RPL
Definition: BW_BW.h:97
virtual int mumsPID() const
Definition: BW_BW.cpp:517
const ResonanceProperties * get(int i) const

◆ c2()

double SBW::c2 ( ) const
inlineprotected

Definition at line 53 of file SBW.h.

53  {
54  return _RPL->get(mumsPID())->c2();
55  }
ResonancePropertiesList * _RPL
Definition: BW_BW.h:97
virtual int mumsPID() const
Definition: BW_BW.cpp:517
const ResonanceProperties * get(int i) const

◆ c3()

double SBW::c3 ( ) const
inlineprotected

Definition at line 56 of file SBW.h.

56  {
57  return _RPL->get(mumsPID())->c3();
58  }
ResonancePropertiesList * _RPL
Definition: BW_BW.h:97
virtual int mumsPID() const
Definition: BW_BW.cpp:517
const ResonanceProperties * get(int i) const

◆ c4()

double SBW::c4 ( ) const
inlineprotected

Definition at line 59 of file SBW.h.

59  {
60  return _RPL->get(mumsPID())->c4();
61  }
ResonancePropertiesList * _RPL
Definition: BW_BW.h:97
virtual int mumsPID() const
Definition: BW_BW.cpp:517
const ResonanceProperties * get(int i) const

◆ c5()

double SBW::c5 ( ) const
inlineprotected

Definition at line 62 of file SBW.h.

62  {
63  return _RPL->get(mumsPID())->c5();
64  }
ResonancePropertiesList * _RPL
Definition: BW_BW.h:97
virtual int mumsPID() const
Definition: BW_BW.cpp:517
const ResonanceProperties * get(int i) const

◆ GofM()

virtual double SBW::GofM ( )
inlineprotectedvirtual

Reimplemented from BW_BW.

Definition at line 29 of file SBW.h.

29 {return mumsWidth();}
virtual double mumsWidth() const
Definition: BW_BW.cpp:460

◆ name()

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

Reimplemented from BW_BW.

Definition at line 21 of file SBW.h.

21  {
22  return "SBW("+prefix()+_theDecay.oneLiner() +")";
23  }
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

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