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

#include <FermiPS_BW.h>

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

Public Member Functions

 FermiPS_BW (const AssociatedDecayTree &tree, const std::string &namePrefix)
 
virtual std::string name () const
 
virtual ~FermiPS_BW ()
 
- 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

double lambda () const
 
double s0 () const
 
double phaseSpace (double s)
 
virtual double GofM ()
 
- 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 std::complex< double > BreitWigner ()
 
virtual void resetInternals ()
 
virtual void resetPDG ()
 

Protected Attributes

double _threshold
 
- 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 FermiPS_BW.h.

Constructor & Destructor Documentation

◆ FermiPS_BW()

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

Definition at line 22 of file FermiPS_BW.h.

22  :
23  BW_BW(tree, namePrefix), _threshold(0)
24  //, _lambda("Fermi_lambda", 1, 2. , 0, 0, 0, 0, NamedParameterBase::QUIET)
25  //, _s0("Fermi_s0", 1, 2. , 0, 0, 0, 0, NamedParameterBase::QUIET)
26  {
27  /*
28  _fittableLambdaPtr = new FitParRef(_lambda, this);
29  _fittableS0Ptr = new FitParRef(_s0, this);
30  std::cout << "threshold = " << _threshold << std::endl;
31  std::cout << "lambda = " << _lambda << std::endl;
32  std::cout << "s0 = " << _s0 << std::endl;
33  */
34  std::vector<const AssociatedDecayTreeItem*> adti = _theDecay.finalState();
35  for (unsigned int i=0; i<adti.size(); i++) {
36  _threshold += adti[i]->mass();
37  }
38  std::cout << "FermiPS_threshold = " << _threshold << " for decay " << _theDecay.oneLiner() << std::endl;
39  }
double _threshold
Definition: FermiPS_BW.h:58
const AssociatedDecayTree & _theDecay
Definition: BW_BW.h:69
BW_BW(const AssociatedDecayTree &decay, const std::string &lineshapePrefix="", MINT::MinuitParameterSet *mps=0)
Definition: BW_BW.cpp:26
std::vector< const ValueType * > finalState() const
Definition: DDTree.h:293
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375

◆ ~FermiPS_BW()

virtual FermiPS_BW::~FermiPS_BW ( )
inlinevirtual

Definition at line 45 of file FermiPS_BW.h.

45 {}

Member Function Documentation

◆ GofM()

double FermiPS_BW::GofM ( )
protectedvirtual

Reimplemented from BW_BW.

Definition at line 19 of file FermiPS_BW.cpp.

19  {
20 
21  double ps_m = phaseSpace(mumsRecoMass2());
22  double ps_m0 = phaseSpace(mumsMass()*mumsMass());
23 
24  double ps_ratio = 0.;
25  if(ps_m0>0)ps_ratio= ps_m/ps_m0 ;
26 
27  return mumsWidth() * ps_ratio;
28 }
virtual double mumsMass() const
Definition: BW_BW.cpp:453
virtual double mumsRecoMass2() const
Definition: BW_BW.cpp:548
virtual double mumsWidth() const
Definition: BW_BW.cpp:460
double phaseSpace(double s)
Definition: FermiPS_BW.cpp:15

◆ lambda()

double FermiPS_BW::lambda ( ) const
inlineprotected

Definition at line 52 of file FermiPS_BW.h.

52  {
54  }
virtual ResonancePropertiesFitRef & mumsFittableProperties() const
Definition: BW_BW.cpp:414

◆ name()

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

Reimplemented from BW_BW.

Definition at line 41 of file FermiPS_BW.h.

41  {
42  return "FermiPS_BW("+_theDecay.oneLiner() +")";
43  }
const AssociatedDecayTree & _theDecay
Definition: BW_BW.h:69
void oneLiner(std::stringstream &seam, int generation=0) const
Definition: DDTree.h:375

◆ phaseSpace()

double FermiPS_BW::phaseSpace ( double  s)
protected

Definition at line 15 of file FermiPS_BW.cpp.

15  {
16  return sqrt(1.- _threshold*_threshold/s)/(1.+ exp(lambda()/(1000.*1000.) * (s0()*(1000.*1000.)-s) ) );
17 }
double _threshold
Definition: FermiPS_BW.h:58
double lambda() const
Definition: FermiPS_BW.h:52
double s0() const
Definition: FermiPS_BW.h:55
static const double s

◆ s0()

double FermiPS_BW::s0 ( ) const
inlineprotected

Definition at line 55 of file FermiPS_BW.h.

55  {
57  }
virtual ResonancePropertiesFitRef & mumsFittableProperties() const
Definition: BW_BW.cpp:414

Member Data Documentation

◆ _threshold

double FermiPS_BW::_threshold
protected

Definition at line 58 of file FermiPS_BW.h.


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