Changeset 1802 for trunk/MagicSoft/Cosy/caos/Led.cc
- Timestamp:
- 03/02/03 16:55:47 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/caos/Led.cc
r1798 r1802 1 1 #include "Led.h" 2 2 3 #include <iostream.h> 3 4 #include <TMath.h> 4 5 … … 11 12 fPhi = TMath::ATan2(fY-ring.GetY(), fX-ring.GetX())*180/TMath::Pi(); 12 13 } 14 15 void Led::Print(Option_t *o=NULL) const 16 { 17 cout << "Led: "; 18 cout << "x=" << fX << "+-" << fDx << ", "; 19 cout << "y=" << fY << "+-" << fDy << ", "; 20 cout << "phi=" << fPhi << "+-" << fDphi << ", "; 21 cout << "mag=" << fMag << endl; 22 }
Note:
See TracChangeset
for help on using the changeset viewer.