Ignore:
Timestamp:
03/02/03 16:55:47 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/caos/Led.cc

    r1798 r1802  
    11#include "Led.h"
    22
     3#include <iostream.h>
    34#include <TMath.h>
    45
     
    1112    fPhi = TMath::ATan2(fY-ring.GetY(), fX-ring.GetX())*180/TMath::Pi();
    1213}
     14
     15void 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.