21 #include "../TFitBin.h"
22 #include "../TCMatrix.h"
38 vector<TString> wavenames;
40 wavenames.push_back(
"V0_A");
41 wavenames.push_back(
"V1_A");
42 wavenames.push_back(
"V_flat");
45 vector<TComplex> amps;
48 amps.push_back(TComplex(2,0));
49 amps.push_back(TComplex(1.4,0.6));
50 amps.push_back(TComplex(1.2,0));
53 TMatrixD errm(npar,npar);
54 for(
int i=0;
i<npar;++
i){
55 for(
int j=
i;j<npar;++j){
65 vector<pair<int,int> > indices;
66 indices.push_back(pair<int,int>(0,1));
68 indices.push_back(pair<int,int>(2,3));
69 indices.push_back(pair<int,int>(4,-1));
75 cout <<
"filling TFitBin" << endl;
76 cout <<
"npar=" << npar << endl;
77 cout <<
"Number of amps=" << amps.size()<< endl;
78 cout <<
"Number of indices=" << indices.size() << endl;
79 cout <<
"Number of wavenames=" << wavenames.size()<< endl;
81 cout <<
"Dimension of errormatrix=" << errm.GetNrows() << endl;
82 cout <<
"Dimension of integral matrix=" << integr.
nrows() << endl;
96 cout <<
"Error of A: " << bin.
err(
"A") << endl;