Ignore:
Timestamp:
07/21/05 11:44:05 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mreport/MReportStarguider.cc

    r7197 r7202  
    3232// This is the place to get the azimuth-/zenith mispointing of the telescope
    3333// given by the starguider-camera.
     34//
     35//
     36// Starguider reports are available since 2004/11/17.
     37// The nomnial pointing position is available since 2005/03/22
     38// The sky brightness and the number of identified stars since 2005/03/17
    3439//
    3540//
     
    129134Double_t MReportStarguider::GetDevAbs() const
    130135{
    131     // For the algorithm see also MReportDrive
    132     const Double_t pzd = fNominalZd * TMath::DegToRad();
    133     const Double_t azd = fDevZd/60  * TMath::DegToRad();
    134     const Double_t aaz = fDevAz/60  * TMath::DegToRad();
     136    return MAstro::GetDevAbs(fNominalZd, fDevZd/60, fDevAz/60)*60;
     137    /*
     138     // For the algorithm see also MReportDrive
     139     const Double_t pzd = fNominalZd * TMath::DegToRad();
     140     const Double_t azd = fDevZd/60  * TMath::DegToRad();
     141     const Double_t aaz = fDevAz/60  * TMath::DegToRad();
    135142
    136     const double el = TMath::Pi()/2-pzd;
     143     const double el = TMath::Pi()/2-pzd;
    137144
    138     const double dphi2 = aaz/2.;
    139     const double cos2  = cos(dphi2)*cos(dphi2);
    140     const double sin2  = sin(dphi2)*sin(dphi2);
    141     const double d     = cos(azd)*cos2 - cos(2*el)*sin2;
     145     const double dphi2 = aaz/2.;
     146     const double cos2  = cos(dphi2)*cos(dphi2);
     147     const double sin2  = sin(dphi2)*sin(dphi2);
     148     const double d     = cos(azd)*cos2 - cos(2*el)*sin2;
    142149
    143     return acos(d)*TMath::RadToDeg()*60;
     150     return acos(d)*TMath::RadToDeg()*60;
     151     */
    144152}
    145153
Note: See TracChangeset for help on using the changeset viewer.