Changeset 2346 in Sophya for trunk/SophyaLib/Samba/mlobe.cc
- Timestamp:
- Mar 18, 2003, 11:25:13 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/mlobe.cc
r2213 r2346 214 214 /* --Methode-- */ 215 215 //++ 216 ostream& operator << (ostream& s, MainLobe const& lob) 217 // 218 //-- 219 { 220 s << "MainLobe_Info() : Sigma= " << lob.mSigma << " Dels= " << lob.mDels << " NC= "221 << lob.mNC << " NTotPix= " << lob.mNpix << " Integ= " << lob.mTotVal << endl;216 void MainLobe::Print(ostream& os) const 217 // 218 //-- 219 { 220 os << "MainLobe_Info() : Sigma= " << mSigma << " Dels= " << mDels << " NC= " 221 << mNC << " NTotPix= " << mNpix << " Integ= " << mTotVal << endl; 222 222 223 223 int i,j,k; 224 cout << " Direction Teta,Phi = " << lob.mDirTet << " , " << lob.mDirPhi << endl;225 cout << " Pixel 0 , Teta= " << lob.mT0[0] << " Phi= " << lob.mP0[0]226 << " Val= " << lob.mVal[0] << endl;224 os << " Direction Teta,Phi = " << mDirTet << " , " << mDirPhi << endl; 225 os << " Pixel 0 , Teta= " << mT0[0] << " Phi= " << mP0[0] 226 << " Val= " << mVal[0] << endl; 227 227 k = 1; 228 for(i=1; i< lob.mNC; i++) {229 cout<< " Couche # " << i << " NPix= " << i*6 << endl;228 for(i=1; i<mNC; i++) { 229 os << " Couche # " << i << " NPix= " << i*6 << endl; 230 230 for(j=0;j<6*i;j++) { 231 cout << "K= " << k << "Teta,Phi= " << lob.mTC[k] << ", " << lob.mPC[k]232 << " (" << lob.mT0[k] << ", " << lob.mP0[k] << ") "233 << " Val= " << lob.mVal[k] << endl;231 os << "K= " << k << "Teta,Phi= " << mTC[k] << ", " << mPC[k] 232 << " (" << mT0[k] << ", " << mP0[k] << ") " 233 << " Val= " << mVal[k] << endl; 234 234 k++; 235 235 } 236 236 } 237 237 238 239 return s; 240 } 241 238 } 239
Note:
See TracChangeset
for help on using the changeset viewer.