#include <TPWALikelihoodC.h>
Public Member Functions |
| TPWALikelihoodC () |
| ~TPWALikelihoodC () |
TPWALikelihoodC * | Clone () const |
unsigned int | NDim () const |
std::string | parname (unsigned int i) const |
const std::vector< std::string > & | wavetitles () const |
double | parthreshold (unsigned int i) const |
double | dLcache (unsigned int i) const |
unsigned int | ncalls () const |
double | Ltime () const |
double | Ntime () const |
unsigned int | nevents () const |
const integral & | normInt () const |
void | UseNormalizedAmps (bool flag=true) |
void | Init (const TString &wavelist, unsigned int rank, const TString &norm, const TString &acceptance, int scaleevents, const TString constraints="") |
void | SetQuiet (bool flag=true) |
void | LoadAmplitudes () |
void | getIntCMatrix (TCMatrix &integr, TCMatrix &acceptance) |
void | partoamp (const double *x) const |
void | amptopar (double *x) const |
void | buildCAmps (const double *x, std::vector< std::complex< double > > &V, std::vector< std::pair< int, int > > &indices, std::vector< std::string > &names, const TMatrixD &errpar, TMatrixD &erramp, bool withFlat=false) |
virtual double | DoEval (const double *) const |
virtual double | DoDerivative (const double *, unsigned int) const |
virtual void | FdF (const double *x, double &f, double *df) const |
void | Print () const |
Detailed Description
Definition at line 63 of file TPWALikelihoodC.h.
Constructor & Destructor Documentation
TPWALikelihoodC::TPWALikelihoodC |
( |
| ) |
|
TPWALikelihoodC::~TPWALikelihoodC |
( |
| ) |
|
Member Function Documentation
unsigned int TPWALikelihoodC::addConstraints |
( |
TString |
ConstraintsFile | ) |
|
|
private |
void TPWALikelihoodC::amptopar |
( |
double * |
x | ) |
const |
void TPWALikelihoodC::buildCAmps |
( |
const double * |
x, |
|
|
std::vector< std::complex< double > > & |
V, |
|
|
std::vector< std::pair< int, int > > & |
indices, |
|
|
std::vector< std::string > & |
names, |
|
|
const TMatrixD & |
errpar, |
|
|
TMatrixD & |
erramp, |
|
|
bool |
withFlat = false |
|
) |
| |
void TPWALikelihoodC::ClearCache |
( |
| ) |
|
|
private |
double TPWALikelihoodC::dLcache |
( |
unsigned int |
i | ) |
const |
|
inline |
double TPWALikelihoodC::DoDerivative |
( |
const double * |
x, |
|
|
unsigned int |
idf |
|
) |
| const |
|
virtual |
double TPWALikelihoodC::DoEval |
( |
const double * |
x | ) |
const |
|
virtual |
void TPWALikelihoodC::FdF |
( |
const double * |
x, |
|
|
double & |
f, |
|
|
double * |
df |
|
) |
| const |
|
virtual |
Definition at line 393 of file TPWALikelihoodC.cc.
References _accmat, _data, _dL, _dl, _dLcache, _dLN, _Ltime, _ncalls, _nevents, _Ntime, _nwaves, _parcache, _quiet, _rank, _useNorm, _V, _Vflat, a, TPWAAmp::accindex(), TPWAAmp::amp(), conj(), TPWAAmp::dampdpar(), matrix< T >::el(), TPWAAmp::npar(), p, partoamp(), and TPWAAmp::reflectivity().
Referenced by DoDerivative(), DoEval(), and main().
int TPWALikelihoodC::geteps |
( |
TString |
wavename | ) |
|
|
private |
void TPWALikelihoodC::getIntCMatrix |
( |
TCMatrix & |
integr, |
|
|
TCMatrix & |
acceptance |
|
) |
| |
void TPWALikelihoodC::Init |
( |
const TString & |
wavelist, |
|
|
unsigned int |
rank, |
|
|
const TString & |
norm, |
|
|
const TString & |
acceptance, |
|
|
int |
scaleevents, |
|
|
const TString |
constraints = "" |
|
) |
| |
Definition at line 90 of file TPWALikelihoodC.cc.
References _Acc, _accmat, _dim, _dL, _dl, _dLcache, _dLN, _I, _mat, _NumNullConstraints, _nwaves, _parcache, _parnames, _parthresholds, _quiet, _rank, _V, _Vflat, _wavenames, addConstraints(), integral::events(), integral::files(), integral::index(), integral::mat(), TPWAAmp::name(), TPWAAmp::npar(), parname(), TPWAAmp::reflectivity(), integral::scan(), TPWAAmp::setConstraint(), and TPWAAmp::type().
Referenced by main().
void TPWALikelihoodC::LoadAmplitudes |
( |
| ) |
|
Definition at line 226 of file TPWALikelihoodC.cc.
References _accmat, _data, _mat, _nevents, _nwaves, _quiet, _useNorm, _V, ClearCache(), matrix< T >::el(), i, and matrix< T >::nrows().
Referenced by main().
double TPWALikelihoodC::Ltime |
( |
| ) |
const |
|
inline |
unsigned int TPWALikelihoodC::ncalls |
( |
| ) |
const |
|
inline |
unsigned int TPWALikelihoodC::NDim |
( |
| ) |
const |
unsigned int TPWALikelihoodC::nevents |
( |
| ) |
const |
|
inline |
const integral& TPWALikelihoodC::normInt |
( |
| ) |
const |
|
inline |
double TPWALikelihoodC::Ntime |
( |
| ) |
const |
|
inline |
std::string TPWALikelihoodC::parname |
( |
unsigned int |
i | ) |
const |
|
inline |
double TPWALikelihoodC::parthreshold |
( |
unsigned int |
i | ) |
const |
|
inline |
void TPWALikelihoodC::partoamp |
( |
const double * |
x | ) |
const |
void TPWALikelihoodC::Print |
( |
| ) |
const |
void TPWALikelihoodC::SetQuiet |
( |
bool |
flag = true | ) |
|
|
inline |
void TPWALikelihoodC::UseNormalizedAmps |
( |
bool |
flag = true | ) |
|
|
inline |
const std::vector<std::string>& TPWALikelihoodC::wavetitles |
( |
| ) |
const |
|
inline |
Member Data Documentation
std::vector<unsigned int> TPWALikelihoodC::_accmap |
|
private |
matrix<std::complex<double> > TPWALikelihoodC::_accmat |
|
mutableprivate |
std::vector<std::vector<std::complex<double> >* > TPWALikelihoodC::_data |
|
private |
unsigned int TPWALikelihoodC::_dim |
|
private |
std::vector<std::vector<std::complex<double> >* > TPWALikelihoodC::_dL |
|
mutableprivate |
std::vector<std::vector<std::complex<double> >* > TPWALikelihoodC::_dl |
|
mutableprivate |
std::vector<double> TPWALikelihoodC::_dLcache |
|
mutableprivate |
std::vector<std::vector<std::complex<double> >* > TPWALikelihoodC::_dLN |
|
mutableprivate |
double TPWALikelihoodC::_Ltime |
|
mutableprivate |
matrix<std::complex<double> > TPWALikelihoodC::_mat |
|
private |
unsigned int TPWALikelihoodC::_ncalls |
|
mutableprivate |
unsigned int TPWALikelihoodC::_nevents |
|
private |
unsigned int TPWALikelihoodC::_nnegrefl |
|
private |
unsigned int TPWALikelihoodC::_nposrefl |
|
private |
double TPWALikelihoodC::_Ntime |
|
mutableprivate |
unsigned int TPWALikelihoodC::_NumNullConstraints |
|
private |
unsigned int TPWALikelihoodC::_nwaves |
|
private |
std::vector<double> TPWALikelihoodC::_parcache |
|
mutableprivate |
std::vector<std::string> TPWALikelihoodC::_parnames |
|
private |
std::vector<double> TPWALikelihoodC::_parthresholds |
|
private |
bool TPWALikelihoodC::_quiet |
|
private |
unsigned int TPWALikelihoodC::_rank |
|
private |
std::vector<int> TPWALikelihoodC::_reflect |
|
private |
std::vector<double> TPWALikelihoodC::_thresholds |
|
private |
bool TPWALikelihoodC::_useNorm |
|
private |
std::vector<std::vector<TPWAAmp>*> TPWALikelihoodC::_V |
|
private |
std::vector<std::string> TPWALikelihoodC::_wavenames |
|
private |
std::vector<unsigned int> TPWALikelihoodC::_wmap |
|
private |
The documentation for this class was generated from the following files: