Ignore:
Timestamp:
07/21/05 11:44:05 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mpointing
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MHPointing.cc

    r7201 r7202  
    4242
    4343#include "MTime.h"
     44#include "MAstro.h"
    4445
    4546#include "MReportDrive.h"
     
    165166    if (t->GetName()==(TString)"MTimeStarguider")
    166167    {
    167         const Double_t max = 30; // [arcsec] maximum starguider deviation which makes sense
    168 
    169168        AddPoint(fBrightness, tm, fReportSG->GetSkyBrightness());
    170169        AddPoint(fNumStars,   tm, fReportSG->GetNumIdentifiedStars());
    171         if (fReportSG->GetDevAbs()<max)
     170
     171        const Bool_t zdok     = TMath::Abs(fReportSG->GetDevZd())<30;
     172        const Bool_t azok     = TMath::Abs(fReportSG->GetDevAz())<90;
     173
     174        const Double_t devzd  = fReportSG->GetDevZd();
     175        const Double_t devaz  = fReportSG->GetDevAz();
     176
     177        if (zdok && azok)
    172178            AddPoint(fDevTimeSG, tm, fReportSG->GetDevAbs());
    173         if (TMath::Abs(fReportSG->GetDevZd())<max)
    174             AddPoint(fDevZd,  tm, fReportSG->GetDevZd());
    175         if (TMath::Abs(fReportSG->GetDevAz())<max)
    176             AddPoint(fDevAz,  tm, fReportSG->GetDevAz());
     179        if (zdok)
     180            AddPoint(fDevZd, tm, devzd);
     181        if (azok)
     182            AddPoint(fDevAz, tm, devaz);
    177183        return kTRUE;
    178184    }
     
    198204        TAxis *axe = h->GetXaxis();
    199205        axe->SetLabelSize(0.033);
    200         axe->SetTimeFormat("%H:%M:%S %F1995-01-01 00:00:00 GMT");
     206        axe->SetTimeFormat("%H:%M %F1995-01-01 00:00:00 GMT");
    201207        axe->SetTimeDisplay(1);
    202208        axe->SetTitle("Time");
  • trunk/MagicSoft/Mars/mpointing/Makefile

    r7199 r7202  
    2323
    2424SRCFILES = MPointing.cc \
     25           MPointingDev.cc \
     26           MPointingDevCalc.cc \
    2527           MPointingPos.cc \
    2628           MPointingPosCalc.cc \
  • trunk/MagicSoft/Mars/mpointing/PointingIncl.h

    r3570 r7202  
    11#ifndef __CINT__
    22
    3 #include <TVector2.h>
    4 
    53#endif // __CINT__
  • trunk/MagicSoft/Mars/mpointing/PointingLinkDef.h

    r7199 r7202  
    66
    77#pragma link C++ class MPointing+;
     8
     9#pragma link C++ class MPointingDev+;
     10#pragma link C++ class MPointingDevCalc+;
    811
    912#pragma link C++ class MPointingPos+;
Note: See TracChangeset for help on using the changeset viewer.