ROOTPWA
|
#include <integral.h>
Public Member Functions | |
integral () | |
integral (char **files) | |
integral (const integral &ni) | |
virtual | ~integral () |
integral & | operator= (const integral &ni) |
integral & | files (char **files) |
integral & | files (const std::list< std::string > &files) |
std::list< std::string > | files () const |
char ** | files_c_str () const |
void | weightfile (const std::string &fileName) |
integral & | integrate () |
integral & | renormalize (const int n) |
integral & | max (const int m) |
integral & | events (const int n) |
int | nevents () const |
std::complex< double > & | el (const std::string &iName, const std::string &jName) |
std::complex< double > | val (const std::string &iName, const std::string &jName) |
integral | get (char **files) |
integral | get (const std::list< std::string > &files) |
int | index (const std::string &s) |
int | index (const char *s) |
matrix< std::complex< double > > | mat () |
const integral & | print (std::ostream &os=std::cout) const |
const integral & | print_events (std::ostream &os=std::cout) const |
integral & | scan (std::istream &is=std::cin) |
Private Attributes | |
matrix< std::complex< double > > | _sum |
std::map< std::string, int > | _index |
int | _nwaves |
int | _nevents |
int | _maxEvents |
std::string | _weightFileName |
Definition at line 14 of file integral.h.
integral::integral | ( | ) |
Definition at line 11 of file integral.cc.
integral::integral | ( | char ** | files | ) |
Definition at line 19 of file integral.cc.
integral::integral | ( | const integral & | ni | ) |
Definition at line 29 of file integral.cc.
References _index, _maxEvents, _nevents, _nwaves, and _sum.
|
virtual |
Definition at line 39 of file integral.cc.
|
inline |
Definition at line 37 of file integral.h.
References _index, _sum, and matrix< T >::el().
Definition at line 227 of file integral.cc.
Referenced by get(), TPWALikelihoodC::Init(), and TPWALikelihood< complexT >::readIntegrals().
integral & integral::files | ( | char ** | files | ) |
Definition at line 58 of file integral.cc.
References files().
Referenced by get(), TPWALikelihoodC::Init(), main(), and TPWALikelihood< complexT >::reorderIntegralMatrix().
integral & integral::files | ( | const std::list< std::string > & | files | ) |
Definition at line 86 of file integral.cc.
list< string > integral::files | ( | ) | const |
Definition at line 99 of file integral.cc.
Referenced by files(), and integral().
char ** integral::files_c_str | ( | ) | const |
integral integral::get | ( | char ** | files | ) |
Definition at line 251 of file integral.cc.
integral integral::get | ( | const std::list< std::string > & | files | ) |
|
inline |
Definition at line 46 of file integral.h.
References _index.
Referenced by files_c_str(), TPWALikelihoodC::Init(), integrate(), TPWALikelihood< complexT >::reorderIntegralMatrix(), and scan().
|
inline |
Definition at line 47 of file integral.h.
References _index.
integral & integral::integrate | ( | ) |
Definition at line 129 of file integral.cc.
References _index, _maxEvents, _nevents, _nwaves, _sum, _weightFileName, conj(), matrix< T >::el(), i, index(), and val().
Referenced by main().
matrix< complex< double > > integral::mat | ( | ) |
Definition at line 282 of file integral.cc.
References _nevents, and _sum.
Referenced by TPWALikelihoodC::Init(), and TPWALikelihood< complexT >::reorderIntegralMatrix().
|
inline |
Definition at line 35 of file integral.h.
References _nevents.
Referenced by TPWALikelihood< complexT >::readIntegrals().
Definition at line 45 of file integral.cc.
References _index, _maxEvents, _nevents, _nwaves, _sum, and _weightFileName.
const integral & integral::print | ( | std::ostream & | os = std::cout | ) | const |
const integral & integral::print_events | ( | std::ostream & | os = std::cout | ) | const |
integral & integral::scan | ( | std::istream & | is = std::cin | ) |
Definition at line 313 of file integral.cc.
References _index, _nevents, _nwaves, _sum, and index().
Referenced by TPWALikelihoodC::Init(), main(), and TPWALikelihood< complexT >::readIntegrals().
complex< double > integral::val | ( | const std::string & | iName, |
const std::string & | jName | ||
) |
Definition at line 235 of file integral.cc.
References _index, _nevents, and el().
Referenced by integrate(), main(), and rpwa::partialWaveWeight::weight().
|
inline |
|
private |
Definition at line 59 of file integral.h.
Referenced by el(), files(), files_c_str(), get(), index(), integral(), integrate(), operator=(), print(), scan(), and val().
|
private |
Definition at line 62 of file integral.h.
Referenced by integral(), integrate(), max(), and operator=().
|
private |
Definition at line 61 of file integral.h.
Referenced by events(), get(), integral(), integrate(), mat(), nevents(), operator=(), print(), print_events(), renormalize(), scan(), and val().
|
private |
Definition at line 60 of file integral.h.
Referenced by files(), files_c_str(), integral(), integrate(), operator=(), print(), and scan().
|
private |
Definition at line 58 of file integral.h.
Referenced by el(), files(), integral(), integrate(), mat(), operator=(), print(), renormalize(), and scan().
|
private |
Definition at line 63 of file integral.h.
Referenced by integrate(), operator=(), and weightfile().