ROOTPWA
Public Member Functions | Protected Attributes | Private Attributes | List of all members
rpwa::pwabkg Class Reference

#include <pwacomponent.h>

Inheritance diagram for rpwa::pwabkg:
rpwa::pwacomponent

Public Member Functions

 pwabkg (const std::string &name, double m0, double gamma, const std::map< std::string, pwachannel > &channels)
virtual ~pwabkg ()
virtual std::complex< double > val (double m) const
void setIsobars (double m1, double m2)
void getIsobars (double &m1, double &m2)
std::string name () const
virtual void setPar (double m0, double gamma)
unsigned int numChannels () const
const std::string & getChannelName (unsigned int i) const
const pwachannelgetChannel (unsigned int i) const
unsigned int numPar () const
void setCouplings (const double *par)
void getCouplings (double *par)
void setLimits (double mmin, double mmax, double gmin, double gmax)
void setFixed (bool mflag=true, bool gflag=true)
void setConstWidth (bool flag=true)
void getLimits (double &mmin, double &mmax, double &gmin, double &gmax) const
bool fixM () const
bool fixGamma () const
bool constWidth () const
double m0 () const
double gamma () const
const std::map< std::string,
pwachannel > & 
channels () const

Protected Attributes

std::string _name
double _m0
double _m02
double _m0min
double _m0max
double _gamma
double _gammamin
double _gammamax
bool _fixm
bool _fixgamma
bool _constWidth
std::map< std::string, pwachannel_channels
std::vector< pwachannel * > _vchannels
std::vector< std::string > _channelname

Private Attributes

double _m1
double _m2

Detailed Description

Definition at line 122 of file pwacomponent.h.

Constructor & Destructor Documentation

rpwa::pwabkg::pwabkg ( const std::string &  name,
double  m0,
double  gamma,
const std::map< std::string, pwachannel > &  channels 
)
inline

Definition at line 124 of file pwacomponent.h.

virtual rpwa::pwabkg::~pwabkg ( )
inlinevirtual

Definition at line 129 of file pwacomponent.h.

Member Function Documentation

const std::map<std::string,pwachannel >& rpwa::pwacomponent::channels ( ) const
inlineinherited

Definition at line 101 of file pwacomponent.h.

References rpwa::pwacomponent::_channels.

Referenced by main(), and releasePars().

bool rpwa::pwacomponent::constWidth ( ) const
inlineinherited

Definition at line 97 of file pwacomponent.h.

References rpwa::pwacomponent::_constWidth.

bool rpwa::pwacomponent::fixGamma ( ) const
inlineinherited

Definition at line 96 of file pwacomponent.h.

References rpwa::pwacomponent::_fixgamma.

Referenced by main(), and releasePars().

bool rpwa::pwacomponent::fixM ( ) const
inlineinherited

Definition at line 95 of file pwacomponent.h.

References rpwa::pwacomponent::_fixm.

Referenced by main(), and releasePars().

double rpwa::pwacomponent::gamma ( ) const
inlineinherited

Definition at line 100 of file pwacomponent.h.

References rpwa::pwacomponent::_gamma.

Referenced by main(), and rpwa::pwacomponent::setPar().

const pwachannel& rpwa::pwacomponent::getChannel ( unsigned int  i) const
inlineinherited

Definition at line 84 of file pwacomponent.h.

References rpwa::pwacomponent::_vchannels, and i.

const std::string& rpwa::pwacomponent::getChannelName ( unsigned int  i) const
inlineinherited

Definition at line 83 of file pwacomponent.h.

References rpwa::pwacomponent::_channelname, and i.

void rpwa::pwacomponent::getCouplings ( double *  par)
inherited

Definition at line 70 of file pwacomponent.cc.

void rpwa::pwabkg::getIsobars ( double &  m1,
double &  m2 
)
inline

Definition at line 134 of file pwacomponent.h.

References _m1, and _m2.

void rpwa::pwacomponent::getLimits ( double &  mmin,
double &  mmax,
double &  gmin,
double &  gmax 
) const
inlineinherited
double rpwa::pwacomponent::m0 ( ) const
inlineinherited

Definition at line 99 of file pwacomponent.h.

References rpwa::pwacomponent::_m0.

Referenced by main(), and rpwa::pwacomponent::setPar().

std::string rpwa::pwacomponent::name ( ) const
inlineinherited

Definition at line 79 of file pwacomponent.h.

References rpwa::pwacomponent::_name.

Referenced by main(), and releasePars().

unsigned int rpwa::pwacomponent::numChannels ( ) const
inlineinherited

Definition at line 82 of file pwacomponent.h.

References rpwa::pwacomponent::_channels.

Referenced by rpwa::pwacomponent::numPar().

unsigned int rpwa::pwacomponent::numPar ( ) const
inlineinherited

Definition at line 85 of file pwacomponent.h.

References rpwa::pwacomponent::numChannels().

Referenced by rpwa::pwacompset::add().

void rpwa::pwacomponent::setConstWidth ( bool  flag = true)
inlineinherited

Definition at line 92 of file pwacomponent.h.

References rpwa::pwacomponent::_constWidth.

Referenced by main().

void rpwa::pwacomponent::setCouplings ( const double *  par)
inherited

Definition at line 60 of file pwacomponent.cc.

void rpwa::pwacomponent::setFixed ( bool  mflag = true,
bool  gflag = true 
)
inlineinherited

Definition at line 90 of file pwacomponent.h.

References rpwa::pwacomponent::_fixgamma, and rpwa::pwacomponent::_fixm.

Referenced by main().

void rpwa::pwabkg::setIsobars ( double  m1,
double  m2 
)
inline

Definition at line 133 of file pwacomponent.h.

References _m1, and _m2.

Referenced by main().

void rpwa::pwacomponent::setLimits ( double  mmin,
double  mmax,
double  gmin,
double  gmax 
)
inlineinherited
virtual void rpwa::pwacomponent::setPar ( double  m0,
double  gamma 
)
inlinevirtualinherited
complex< double > rpwa::pwabkg::val ( double  m) const
virtual

Reimplemented from rpwa::pwacomponent.

Definition at line 134 of file pwacomponent.cc.

References p, and q().

Member Data Documentation

std::vector<std::string> rpwa::pwacomponent::_channelname
protectedinherited
std::map<std::string,pwachannel > rpwa::pwacomponent::_channels
protectedinherited
bool rpwa::pwacomponent::_constWidth
protectedinherited
bool rpwa::pwacomponent::_fixgamma
protectedinherited

Definition at line 113 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::fixGamma(), and rpwa::pwacomponent::setFixed().

bool rpwa::pwacomponent::_fixm
protectedinherited

Definition at line 112 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::fixM(), and rpwa::pwacomponent::setFixed().

double rpwa::pwacomponent::_gamma
protectedinherited

Definition at line 110 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::gamma(), and rpwa::pwacomponent::setPar().

double rpwa::pwacomponent::_gammamax
protectedinherited

Definition at line 111 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::getLimits(), and rpwa::pwacomponent::setLimits().

double rpwa::pwacomponent::_gammamin
protectedinherited

Definition at line 111 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::getLimits(), and rpwa::pwacomponent::setLimits().

double rpwa::pwacomponent::_m0
protectedinherited

Definition at line 107 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::m0(), and rpwa::pwacomponent::setPar().

double rpwa::pwacomponent::_m02
protectedinherited

Definition at line 108 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::setPar().

double rpwa::pwacomponent::_m0max
protectedinherited

Definition at line 109 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::getLimits(), and rpwa::pwacomponent::setLimits().

double rpwa::pwacomponent::_m0min
protectedinherited

Definition at line 109 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::getLimits(), and rpwa::pwacomponent::setLimits().

double rpwa::pwabkg::_m1
private

Definition at line 138 of file pwacomponent.h.

Referenced by getIsobars(), and setIsobars().

double rpwa::pwabkg::_m2
private

Definition at line 139 of file pwacomponent.h.

Referenced by getIsobars(), and setIsobars().

std::string rpwa::pwacomponent::_name
protectedinherited

Definition at line 106 of file pwacomponent.h.

Referenced by rpwa::pwacomponent::name().

std::vector<pwachannel*> rpwa::pwacomponent::_vchannels
protectedinherited

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