Changeset 7151 for trunk/MagicSoft/Mars/mhbase/MBinning.cc
- Timestamp:
- 06/13/05 10:20:58 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MBinning.cc
r7142 r7151 428 428 const Double_t cud = ud<0 ? cos(ud)-1 : 1-cos(ud); 429 429 430 SetEdgesASin(nbins, ld, ud); 431 /* 432 const Double_t binsize = (cld-cud)/nbins; 433 fEdges.Set(nbins+1); 434 for (int i=0; i<=nbins; i++) 435 { 436 const Double_t a = cld-binsize*i; 437 fEdges[i] = a<0 ? -acos(1+a)*kRad2Deg : acos(1-a)*kRad2Deg; 438 cout << a << " " << fEdges[i] << endl; 439 } 440 441 fType = kIsCosinic;*/ 430 SetEdgesASin(nbins, cld, cud); 442 431 } 443 432
Note:
See TracChangeset
for help on using the changeset viewer.