source:
trunk/MagicSoft/Cosy/caos/Led.cc@
1798
Last change on this file since 1798 was 1798, checked in by , 22 years ago | |
---|---|
File size: 186 bytes |
Line | |
---|---|
1 | #include "Led.h" |
2 | |
3 | #include <TMath.h> |
4 | |
5 | #include "Ring.h" |
6 | |
7 | ClassImp(Led); |
8 | |
9 | void Led::CalcPhi(const Ring &ring) |
10 | { |
11 | fPhi = TMath::ATan2(fY-ring.GetY(), fX-ring.GetX())*180/TMath::Pi(); |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.