ROOTPWA
|
#include <TPWAAmp.h>
Public Member Functions | |
TPWAAmp (string name, int rank, double threshold=0, unsigned int normindex=0, unsigned int accindex=0) | |
TPWAAmp (const TPWAAmp &) | |
~TPWAAmp () | |
void | operator= (const TPWAAmp &) |
string | name () const |
string | parname (unsigned int i) const |
double | threshold () const |
string | type () const |
double | par (unsigned int i) const |
const complex< double > & | amp () const |
complex< double > | dampdpar (unsigned int i) const |
complex< double > | updateAmp () |
int | rank () const |
int | reflectivity () const |
int | npar () const |
unsigned int | normindex () const |
unsigned int | accindex () const |
complex< double > | setPar (double *par) |
void | setIntegralIndices (unsigned int inorm, unsigned int iacc) |
void | setConstraint (TPWAConstraint *c) |
Private Attributes | |
string | _name |
int | _reflectivity |
int | _rank |
double | _threshold |
complex< double > | _amp |
complex< double > | _cached |
unsigned int | _integralindex |
unsigned int | _acceptanceindex |
TPWAConstraint * | _constr |
Friends | |
std::ostream & | operator<< (std::ostream &s, const TPWAAmp &me) |
complex< double > | operator* (TPWAAmp &lhs, TPWAAmp &rhs) |
complex< double > | operator* (TPWAAmp &lhs, const complex< double > &rhs) |
complex< double > | operator* (const complex< double > &lhs, TPWAAmp &rhs) |
TPWAAmp::TPWAAmp | ( | string | name, |
int | rank, | ||
double | threshold = 0 , |
||
unsigned int | normindex = 0 , |
||
unsigned int | accindex = 0 |
||
) |
Definition at line 51 of file TPWAAmp.cc.
References _reflectivity.
TPWAAmp::TPWAAmp | ( | const TPWAAmp & | amp | ) |
Definition at line 70 of file TPWAAmp.cc.
References _constr, TPWAConstraint::clone(), and setConstraint().
TPWAAmp::~TPWAAmp | ( | ) |
Definition at line 75 of file TPWAAmp.cc.
References _constr.
|
inline |
Definition at line 97 of file TPWAAmp.h.
References _acceptanceindex.
Referenced by TPWALikelihoodC::FdF().
const complex< double > & TPWAAmp::amp | ( | ) | const |
Definition at line 110 of file TPWAAmp.cc.
References _cached.
Referenced by TPWAPhaseConstraint::cAmp(), TPWAPhaseConstraint::dampdpar(), TPWALikelihoodC::FdF(), main(), operator*(), operator<<(), and setPar().
complex< double > TPWAAmp::dampdpar | ( | unsigned int | i | ) | const |
Definition at line 176 of file TPWAAmp.cc.
References _constr, and TPWAConstraint::dampdpar().
Referenced by TPWALikelihoodC::FdF().
|
inline |
Definition at line 79 of file TPWAAmp.h.
References _name.
Referenced by TPWALikelihoodC::Init(), main(), operator<<(), parname(), and setConstraint().
|
inline |
Definition at line 96 of file TPWAAmp.h.
References _integralindex.
int TPWAAmp::npar | ( | ) | const |
Definition at line 131 of file TPWAAmp.cc.
References _constr, and TPWAConstraint::npar().
Referenced by TPWALikelihoodC::FdF(), TPWALikelihoodC::Init(), and main().
void TPWAAmp::operator= | ( | const TPWAAmp & | amp | ) |
Definition at line 81 of file TPWAAmp.cc.
References _acceptanceindex, _constr, _integralindex, _name, _rank, _reflectivity, _threshold, TPWAConstraint::clone(), and setConstraint().
double TPWAAmp::par | ( | unsigned int | i | ) | const |
Definition at line 156 of file TPWAAmp.cc.
References _amp.
Referenced by TPWALikelihoodC::amptopar(), and main().
string TPWAAmp::parname | ( | unsigned int | i | ) | const |
Definition at line 143 of file TPWAAmp.cc.
References _constr, _name, _rank, name(), and TPWAConstraint::parname().
|
inline |
Definition at line 93 of file TPWAAmp.h.
References _reflectivity.
Referenced by TPWALikelihoodC::FdF(), TPWALikelihoodC::Init(), and main().
void TPWAAmp::setConstraint | ( | TPWAConstraint * | c | ) |
Definition at line 164 of file TPWAAmp.cc.
References _constr, name(), and updateAmp().
Referenced by TPWALikelihoodC::Init(), main(), operator=(), TPWAAmp(), and TPWALikelihoodC::TPWALikelihoodC().
Definition at line 104 of file TPWAAmp.h.
References _acceptanceindex, and _integralindex.
complex< double > TPWAAmp::setPar | ( | double * | par | ) |
Definition at line 123 of file TPWAAmp.cc.
References _amp, amp(), and updateAmp().
Referenced by main(), and TPWALikelihoodC::partoamp().
|
inline |
Definition at line 82 of file TPWAAmp.h.
References _threshold.
string TPWAAmp::type | ( | ) | const |
Definition at line 137 of file TPWAAmp.cc.
References _constr, and TPWAConstraint::type().
Referenced by TPWALikelihoodC::Init().
complex< double > TPWAAmp::updateAmp | ( | ) |
Definition at line 115 of file TPWAAmp.cc.
References _amp, _cached, _constr, and TPWAConstraint::cAmp().
Referenced by setConstraint(), and setPar().
Definition at line 92 of file TPWAAmp.cc.
|
friend |
Definition at line 96 of file TPWAAmp.cc.
|
friend |
Definition at line 100 of file TPWAAmp.cc.
|
friend |
Definition at line 104 of file TPWAAmp.cc.
|
private |
Definition at line 123 of file TPWAAmp.h.
Referenced by accindex(), operator=(), and setIntegralIndices().
|
private |
Definition at line 119 of file TPWAAmp.h.
Referenced by par(), setPar(), and updateAmp().
|
private |
Definition at line 120 of file TPWAAmp.h.
Referenced by amp(), and updateAmp().
|
private |
Definition at line 128 of file TPWAAmp.h.
Referenced by dampdpar(), npar(), operator=(), parname(), setConstraint(), TPWAAmp(), type(), updateAmp(), and ~TPWAAmp().
|
private |
Definition at line 122 of file TPWAAmp.h.
Referenced by normindex(), operator=(), and setIntegralIndices().
|
private |
Definition at line 115 of file TPWAAmp.h.
Referenced by name(), operator=(), and parname().
|
private |
Definition at line 117 of file TPWAAmp.h.
Referenced by operator=(), parname(), and rank().
|
private |
Definition at line 116 of file TPWAAmp.h.
Referenced by operator=(), reflectivity(), and TPWAAmp().
|
private |
Definition at line 118 of file TPWAAmp.h.
Referenced by operator=(), and threshold().