10 Y = HepVector(
Npar,0);
11 X = HepVector(
Npar,0);
19 std::cout << setiosflags(ios::left) << setw(10) << icounter << setw(8) <<
data->size() << setw(30) <<
name() << std::endl;
21 if(
data->size() <= 0 ) {
22 X = HepVector(
Npar,1.0);
25 std::vector<Record*>::iterator
iter =
data->begin();
28 for(
int i=0; i<
F.num_col(); i++ ) {
29 for(
int j=0; j<
F.num_col(); j++ ) {
35 for(
int k=0; k<
Y.num_row(); k++ ) {
41 if(
abs(
F[0][0])>0. ) {
45 X = HepVector(
Npar,1.0);
58 std::ofstream out(file,ios::out);
60 std::vector<HepVector>::iterator it;
62 for(
unsigned int i=0; i<(*it).num_row(); i++ ) {
63 out << (*it)[i] <<
" ";
70 cerr <<
"error when open file " << file <<
" for write in " <<
name() <<
"::fillTxt()" << std::endl;
71 cout <<
"print all parameters to srceen: in total " <<
m_result.size() <<
" items" << std::endl;
72 std::vector<HepVector>::iterator it;
74 for(
unsigned int i=0; i<(*it).num_row(); i++ ) {
75 cout << (*it)[i] <<
" ";
double abs(const EvtComplex &c)
std::vector< Record * > RecordSet
std::vector< HepVector > m_result
virtual void calculate_y(const Record *r)=0
virtual void calculate(RecordSet *&data, unsigned int icounter)
void fillTxt(const char *file)
virtual const string & name() const
virtual void updateData(RecordSet *&data)=0
virtual void calculate_funcs(const Record *r)=0