Ignore:
Timestamp:
07/22/05 14:50:50 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7210 r7211  
    8686
    8787    // Init Graphs
    88     fDevTimeSG.SetNameTitle("DevSG",      "Drive (black) and starguider (blue) deviation");
     88    fDevTimeSG.SetNameTitle("DevSG",      "Absolute deviation of drive (black) and starguider (blue)");
    8989    fDevTimeCosy.SetNameTitle("DevCosy",  "Cosy deviation");
    9090    fBrightness.SetNameTitle("Brigtness", "Arbitrary Sky Brightness (black), No. of stars identified by starguider (blue)");
    9191    fNumStars.SetNameTitle("NumStars",    "Number of stars identified by starguider");
    92     fDevZd.SetNameTitle("DevZd",          "Starguider Deviation Zd (blue), Az(black)");
     92    fDevZd.SetNameTitle("DevZd",          "Starguider deviation Zd (blue), Az (black)");
    9393    fDevAz.SetNameTitle("DevAz",          "Starguider Deviation Az");
    94     fPosZd.SetNameTitle("PosZd",          "Nominal position Zd (black), Az (blue)");
    95     fPosAz.SetNameTitle("PosZd",          "Position Az");
     94    fPosZd.SetNameTitle("PosZd",          "Nominal position Zd");
     95    //fPosAz.SetNameTitle("PosZd",          "Position Az");
    9696
    9797    InitGraph(fDevTimeSG);
     
    102102    InitGraph(fDevAz);
    103103    InitGraph(fPosZd);
    104     InitGraph(fPosAz);
     104    //InitGraph(fPosAz);
    105105
    106106    fDevTimeSG.SetMinimum(0);
     
    112112    fDevZd.SetMarkerColor(kBlue);
    113113    fNumStars.SetMarkerColor(kBlue);
    114     fPosAz.SetMarkerColor(kBlue);
     114    //fPosAz.SetMarkerColor(kBlue);
    115115}
    116116
     
    167167        }
    168168
    169         AddPoint(fBrightness, tm, fReportSG->GetSkyBrightness());
    170         AddPoint(fNumStars,   tm, fReportSG->GetNumIdentifiedStars());
     169        // Check for old files
     170        if (fReportSG->GetSkyBrightness()>0)
     171        {
     172            AddPoint(fBrightness, tm, fReportSG->GetSkyBrightness());
     173            AddPoint(fNumStars,   tm, fReportSG->GetNumIdentifiedStars());
     174        }
    171175
    172176        const Bool_t zdok     = TMath::Abs(fReportSG->GetDevZd())<30;
     
    196200        if (fPosZd.GetY()[fPosZd.GetN()-1] != fReportCosy->GetNominalZd())
    197201            AddPoint(fPosZd, tm, fReportCosy->GetNominalZd());
    198         if (fPosAz.GetY()[fPosAz.GetN()-1] != fReportCosy->GetNominalAz())
    199             AddPoint(fPosAz, tm, fReportCosy->GetNominalAz());
     202        //if (fPosAz.GetY()[fPosAz.GetN()-1] != fReportCosy->GetNominalAz())
     203        //    AddPoint(fPosAz, tm, fReportCosy->GetNominalAz());
    200204        return kTRUE;
    201205    }
     
    302306    gPad->SetGridy();
    303307    fPosZd.Draw("AP");
    304     fPosAz.Draw("P");
    305     DrawRightAxis("Az [\\circ]");
     308    //fPosAz.Draw("P");
     309    //DrawRightAxis("Az [\\circ]");
    306310}
    307311
     
    315319    DrawGraph(fDevAz,       "\\Delta [arcmin]");
    316320    DrawGraph(fPosZd,       "Zd [\\circ]");
    317     DrawGraph(fPosAz,       "Az [\\circ]");
     321    //DrawGraph(fPosAz,       "Az [\\circ]");
    318322
    319323    TVirtualPad *pad = gPad;
     
    325329        UpdateRightAxis(fNumStars);
    326330    }
    327 
     331/*
    328332    pad->cd(4);
    329333    if (gPad)
     
    331335        fPosAz.GetHistogram()->GetYaxis()->SetTitleColor(kBlue);
    332336        UpdateRightAxis(fPosAz);
    333     }
    334 }
     337    }*/
     338}
Note: See TracChangeset for help on using the changeset viewer.