ROOTPWA
Public Member Functions | Private Attributes | Friends | List of all members
rpwa::pwacompset Class Reference

#include <pwacomponent.h>

Public Member Functions

 pwacompset ()
 ~pwacompset ()
void add (pwacomponent *comp)
void setPS (TF1 *fPS)
void doMapping ()
unsigned int n () const
unsigned int numPar () const
std::vector< std::string > wavelist () const
void setPar (const double *par)
void getPar (double *par)
unsigned int nFreePSPar () const
double getFreePSPar (unsigned int i) const
void getFreePSLimits (unsigned int i, double &lower, double &upper) const
const pwacomponentoperator[] (unsigned int i) const
std::vector< std::pair
< unsigned int, unsigned int > > 
getCompChannel (const std::string &wave) const
double ps (double m)
double intensity (const std::string &wave, double m)
double phase (const std::string &wave, double m)
double phase (const std::string &wave1, const std::string &wave2, double m)
std::complex< double > overlap (const std::string &wave1, const std::string &wave2, double m)
std::complex< double > overlap (unsigned int wave1, unsigned int wave2, double m)

Private Attributes

std::vector< pwacomponent * > _comp
unsigned int _numpar
TF1 * _phasespace
std::vector< unsigned int_freePSpar
std::vector< std::vector
< std::pair< unsigned int,
unsigned int > > > 
_compChannel

Friends

std::ostream & operator<< (std::ostream &o, const rpwa::pwacompset &cs)

Detailed Description

Definition at line 144 of file pwacomponent.h.

Constructor & Destructor Documentation

rpwa::pwacompset::pwacompset ( )
inline

Definition at line 146 of file pwacomponent.h.

rpwa::pwacompset::~pwacompset ( )
inline

Definition at line 147 of file pwacomponent.h.

Member Function Documentation

void rpwa::pwacompset::add ( pwacomponent comp)
inline

Definition at line 149 of file pwacomponent.h.

References _comp, _numpar, and rpwa::pwacomponent::numPar().

Referenced by main().

void rpwa::pwacompset::doMapping ( )

Definition at line 184 of file pwacomponent.cc.

References i.

Referenced by main().

std::vector< std::pair< unsigned int, unsigned int > > rpwa::pwacompset::getCompChannel ( const std::string &  wave) const

Definition at line 334 of file pwacomponent.cc.

References ic(), and n.

void rpwa::pwacompset::getFreePSLimits ( unsigned int  i,
double &  lower,
double &  upper 
) const

Definition at line 203 of file pwacomponent.cc.

Referenced by main(), and releasePars().

double rpwa::pwacompset::getFreePSPar ( unsigned int  i) const

Definition at line 195 of file pwacomponent.cc.

Referenced by main().

void rpwa::pwacompset::getPar ( double *  par)

Definition at line 229 of file pwacomponent.cc.

References i, and n.

double rpwa::pwacompset::intensity ( const std::string &  wave,
double  m 
)

Definition at line 251 of file pwacomponent.cc.

References ic(), n, and rho().

Referenced by main().

unsigned int rpwa::pwacompset::n ( ) const
inline

Definition at line 155 of file pwacomponent.h.

References _comp.

Referenced by main(), and releasePars().

unsigned int rpwa::pwacompset::nFreePSPar ( ) const
inline

Definition at line 162 of file pwacomponent.h.

References _freePSpar.

Referenced by main(), and releasePars().

unsigned int rpwa::pwacompset::numPar ( ) const
inline

Definition at line 156 of file pwacomponent.h.

References _numpar.

const pwacomponent* rpwa::pwacompset::operator[] ( unsigned int  i) const
inline

Definition at line 167 of file pwacomponent.h.

References _comp, and i.

std::complex< double > rpwa::pwacompset::overlap ( const std::string &  wave1,
const std::string &  wave2,
double  m 
)

Definition at line 287 of file pwacomponent.cc.

References conj(), ic(), and n.

Referenced by main().

std::complex< double > rpwa::pwacompset::overlap ( unsigned int  wave1,
unsigned int  wave2,
double  m 
)

Definition at line 306 of file pwacomponent.cc.

References conj().

double rpwa::pwacompset::phase ( const std::string &  wave,
double  m 
)

Definition at line 265 of file pwacomponent.cc.

References ic(), n, and rho().

Referenced by main().

double rpwa::pwacompset::phase ( const std::string &  wave1,
const std::string &  wave2,
double  m 
)

Definition at line 280 of file pwacomponent.cc.

double rpwa::pwacompset::ps ( double  m)

Definition at line 248 of file pwacomponent.cc.

Referenced by main().

void rpwa::pwacompset::setPar ( const double *  par)

Definition at line 210 of file pwacomponent.cc.

References i, and n.

Referenced by main().

void rpwa::pwacompset::setPS ( TF1 *  fPS)

Definition at line 162 of file pwacomponent.cc.

References i.

Referenced by main().

vector< string > rpwa::pwacompset::wavelist ( ) const

Definition at line 146 of file pwacomponent.cc.

References i, and n.

Referenced by rpwa::massDepFitLikeli::init(), and main().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const rpwa::pwacompset cs 
)
friend

Member Data Documentation

std::vector<pwacomponent*> rpwa::pwacompset::_comp
private

Definition at line 187 of file pwacomponent.h.

Referenced by add(), n(), and operator[]().

std::vector<std::vector<std::pair<unsigned int,unsigned int> > > rpwa::pwacompset::_compChannel
private

Definition at line 193 of file pwacomponent.h.

std::vector<unsigned int> rpwa::pwacompset::_freePSpar
private

Definition at line 190 of file pwacomponent.h.

Referenced by nFreePSPar().

unsigned int rpwa::pwacompset::_numpar
private

Definition at line 188 of file pwacomponent.h.

Referenced by add(), and numPar().

TF1* rpwa::pwacompset::_phasespace
private

Definition at line 189 of file pwacomponent.h.


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