Changeset 2329 in Sophya for trunk/ArchTOIPipe/ProcWSophya/toi2ring.cc
- Timestamp:
- Feb 24, 2003, 3:14:51 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/toi2ring.cc
r2319 r2329 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toi2ring.cc,v 1. 2 2003-01-30 17:19:25cecile Exp $5 // $Id: toi2ring.cc,v 1.3 2003-02-24 14:14:51 cecile Exp $ 6 6 7 7 #include "toimanager.h" … … 68 68 69 69 70 cout << "loop " << snb << " " << sne << endl; 70 71 71 72 for(int k=snb;k<=sne;k++) { … … 82 83 wr[i]++; 83 84 84 cout << phi << " " << phi_prec << " " << Nrings <<endl;85 cout << k << " " << phi << " " << phi_prec << " " << Nrings <<endl; 85 86 86 if(phi < phi_prec ){87 if(phi < phi_prec || k == sne){ 87 88 88 putData(0,Nrings,ctheta);89 putData(1,Nrings,cphi);90 91 89 for(i=0;i<Nsamples;i++) { 92 90 if(wr[i] == 0) r[i] = -999999.; 93 cout << i << " " << Nrings << " " << Nsamples << " " << ctheta << " " << cphi << " " << r[i]<< endl; 91 else r[i] /= wr[i]; 92 cout << "PUT " << i << " " << Nrings << " " << Nsamples << " " << ctheta << " " << cphi << " " << r[i]<< endl; 93 putData(0,Nrings*Nsamples+i,ctheta); 94 putData(1,Nrings*Nsamples+i,cphi); 94 95 putData(2,Nrings*Nsamples+i,r[i]); 95 // putData(1,Nrings*Nsamples+i,wr[i]);96 96 wr[i]=0; 97 97 r[i]=0.; … … 99 99 100 100 Nrings++; 101 return; 102 101 103 } 102 104
Note:
See TracChangeset
for help on using the changeset viewer.