source: trunk/MagicSoft/Cosy/caos/Led.cc@ 1798

Last change on this file since 1798 was 1798, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 186 bytes
Line 
1#include "Led.h"
2
3#include <TMath.h>
4
5#include "Ring.h"
6
7ClassImp(Led);
8
9void 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.