Ignore:
Timestamp:
12/01/05 16:43:46 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mimage/MHillas.cc

    r7224 r7438  
    159159void MHillas::Print(Option_t *) const
    160160{
    161     Double_t atg = atan2(fMeanY, fMeanX)*kRad2Deg;
    162 
    163     if (atg<0)
    164         atg += 180;
     161    const Double_t atg = atan2(fMeanX, fMeanY)*kRad2Deg;
    165162
    166163    *fLog << all;
     
    182179void MHillas::Print(const MGeomCam &geom) const
    183180{
    184     Double_t atg = atan2(fMeanY, fMeanX)*kRad2Deg;
    185 
    186     if (atg<0)
    187         atg += 180;
     181    const Double_t atg = atan2(fMeanX, fMeanY)*kRad2Deg;
    188182
    189183    *fLog << all;
Note: See TracChangeset for help on using the changeset viewer.