Ignore:
Timestamp:
12/27/04 13:13:32 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/CCDataCheck.C

    r3866 r5690  
    509509  // Drive report (pointing.C from T. Bretz)
    510510  //
     511  TCanvas *c1;
    511512  if ((d = evtloop.GetDisplay()))
    512     TCanvas &c1 = d.AddTab("DRIVE SYSTEM");
     513      c1 = &d->AddTab("DRIVE SYSTEM");
    513514  else
    514     TCanvas *c1 = new TCanvas();
     515      c1 = new TCanvas();
     516
    515517  // ************* Plot the telescope tracking positions on the sky ***********
    516518  TGraph *g1 = hZd.GetGraph();
     
    563565  gStyle->SetStatFormat(".2g");
    564566  mh3 = (MH3*)hError.DrawClone("nonew");
    565   mh3->GetHist()->SetXTitle("\\Delta [arcmin]");
    566   mh3->GetHist()->SetYTitle("");
    567   mh3->GetHist()->SetTitle("Control deviation of the motors");
    568   mh3->GetHist()->SetStats(1);
    569   mh3->GetHist()->SetLabelSize(0.06,"X");
    570   mh3->GetHist()->SetLabelSize(0.06,"Y");
    571   mh3->GetHist()->SetTitleSize(0.06,"X");
     567  mh3->GetHist().SetXTitle("\\Delta [arcmin]");
     568  mh3->GetHist().SetYTitle("");
     569  mh3->GetHist().SetTitle("Control deviation of the motors");
     570  mh3->GetHist().SetStats(1);
     571  mh3->GetHist().SetLabelSize(0.06,"X");
     572  mh3->GetHist().SetLabelSize(0.06,"Y");
     573  mh3->GetHist().SetTitleSize(0.06,"X");
    572574  TLine ln;
    573575  ln.SetLineColor(kGreen);
    574   ln.DrawLine(0.5*360*60/16384., 0, 0.5*360*60/16384., hError.GetHist()->GetMaximum());
     576  ln.DrawLine(0.5*360*60/16384., 0, 0.5*360*60/16384., hError.GetHist().GetMaximum());
    575577  ln.SetLineColor(kYellow);
    576   ln.DrawLine(1.0*360*60/16384., 0, 1.0*360*60/16384., hError.GetHist()->GetMaximum());
     578  ln.DrawLine(1.0*360*60/16384., 0, 1.0*360*60/16384., hError.GetHist().GetMaximum());
    577579  ln.SetLineColor(kRed);
    578   ln.DrawLine(2.0*360*60/16384., 0, 2.0*360*60/16384., hError.GetHist()->GetMaximum());
     580  ln.DrawLine(2.0*360*60/16384., 0, 2.0*360*60/16384., hError.GetHist().GetMaximum());
    579581  // ---------------------- Plot the drive status vs time ---------------------
    580582  c1->cd();
     
    616618  gStyle->SetStatFormat(".2g");
    617619  mh3 = (MH3*)hError2.DrawClone("nonew");
    618   mh3->GetHist()->SetXTitle("Zd [\\circ]");
    619   mh3->GetHist()->SetYTitle("\\Delta [arcmin]");
    620   mh3->GetHist()->SetTitle("Control deviation of the motors");
    621   mh3->GetHist()->SetLabelSize(0.06,"X");
    622   mh3->GetHist()->SetLabelSize(0.06,"Y");
    623   mh3->GetHist()->SetTitleSize(0.06,"X");
    624   mh3->GetHist()->SetTitleSize(0.06,"Y");
    625   mh3->GetHist()->SetStats(1);
    626   mh3->GetHist()->Draw("box");
     620  mh3->GetHist().SetXTitle("Zd [\\circ]");
     621  mh3->GetHist().SetYTitle("\\Delta [arcmin]");
     622  mh3->GetHist().SetTitle("Control deviation of the motors");
     623  mh3->GetHist().SetLabelSize(0.06,"X");
     624  mh3->GetHist().SetLabelSize(0.06,"Y");
     625  mh3->GetHist().SetTitleSize(0.06,"X");
     626  mh3->GetHist().SetTitleSize(0.06,"Y");
     627  mh3->GetHist().SetStats(1);
     628  mh3->GetHist().Draw("box");
    627629  // -------------------------- Zenith angle vs time --------------------------
    628630  c1->cd();
Note: See TracChangeset for help on using the changeset viewer.