Changes in modules/VertexFinderDA4D.cc [d97b2af:0f73bea] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/VertexFinderDA4D.cc
rd97b2af r0f73bea 560 560 cout.precision(4); 561 561 for(vector<vertex_t>::const_iterator k=y.begin(); k!=y.end(); k++){ 562 //cout << setw(8) << fixed << k->z;562 cout << setw(8) << fixed << k->z; 563 563 } 564 564 cout << endl << " t= "; 565 565 for(vector<vertex_t>::const_iterator k=y.begin(); k!=y.end(); k++){ 566 //cout << setw(8) << fixed << k->t;567 } 568 //cout << endl << "T=" << setw(15) << 1./beta <<" Tc= ";566 cout << setw(8) << fixed << k->t; 567 } 568 cout << endl << "T=" << setw(15) << 1./beta <<" Tc= "; 569 569 for(vector<vertex_t>::const_iterator k=y.begin(); k!=y.end(); k++){ 570 //cout << setw(8) << fixed << k->Tc ;570 cout << setw(8) << fixed << k->Tc ; 571 571 } 572 572 … … 574 574 double sumpk=0; 575 575 for(vector<vertex_t>::const_iterator k=y.begin(); k!=y.end(); k++){ 576 //cout << setw(8) << setprecision(3) << fixed << k->pk;576 cout << setw(8) << setprecision(3) << fixed << k->pk; 577 577 sumpk+=k->pk; 578 578 } … … 588 588 double tz= tks[i].z; 589 589 double tt= tks[i].t; 590 //cout << setw (3)<< i << ")" << setw (8) << fixed << setprecision(4)<< tz << " +/-" << setw (6)<< sqrt(tks[i].dz2)591 //<< setw(8) << fixed << setprecision(4) << tt << " +/-" << setw(6) << std::sqrt(tks[i].dt2) ;590 cout << setw (3)<< i << ")" << setw (8) << fixed << setprecision(4)<< tz << " +/-" << setw (6)<< sqrt(tks[i].dz2) 591 << setw(8) << fixed << setprecision(4) << tt << " +/-" << setw(6) << std::sqrt(tks[i].dt2) ; 592 592 593 593 double sump=0.; … … 597 597 double p=k->pk * std::exp(-beta*Eik(tks[i],*k)) / tks[i].Z; 598 598 if( p > 0.0001){ 599 //cout << setw (8) << setprecision(3) << p;599 cout << setw (8) << setprecision(3) << p; 600 600 }else{ 601 601 cout << " . ";
Note:
See TracChangeset
for help on using the changeset viewer.