Ignore:
Timestamp:
01/23/04 10:44:57 (21 years ago)
Author:
reyes
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r2882 r2887  
    127127  plist.AddToList(&bins2);
    128128  plist.AddToList(&bins3);
     129  MH3 hTempOptLink("MCameraCooling.fTempOptLink");
     130  hTempOptLink.SetName("TOptLink");
     131  MBinning bins4("BinningTOptLinkX");
     132  bins4.SetEdges(50, 0, 50);
     133  plist.AddToList(&bins4);
    129134
    130135  // Fill all the MH classes defined before
     
    142147  MFillH fillTWater(&hTWater,     "MTimeCamera");
    143148  MFillH fillTOptLink(&hTOptLink, "MTimeCamera");
     149  MFillH fillTempOptLink(&hTempOptLink);
    144150  MFillH fillHWall(&hHWall,       "MTimeCamera");
    145151  MFillH fillHCenter(&hHCenter,   "MTimeCamera");
     
    165171  fillTWater.SetBit(MFillH::kDoNotDisplay);
    166172  fillTOptLink.SetBit(MFillH::kDoNotDisplay);
     173  fillTempOptLink.SetBit(MFillH::kDoNotDisplay);
    167174  fillHWall.SetBit(MFillH::kDoNotDisplay);
    168175  fillHCenter.SetBit(MFillH::kDoNotDisplay);
     
    189196  tlist.AddToList(&fillTWater,   "Camera");
    190197  tlist.AddToList(&fillTOptLink, "Camera");
     198  tlist.AddToList(&fillTempOptLink, "Camera");
    191199  tlist.AddToList(&fillHWall,    "Camera");
    192200  tlist.AddToList(&fillHCenter,  "Camera");
     
    414422  // Camera relative humidity
    415423  c3->cd(2);
    416   TLegend *leghum = new TLegend(0.85,0.75,0.99,0.99);
     424  gPad->SetBorderMode(0);
     425  gPad->Divide(2, 1);
     426  TVirtualPad *c = gPad;
     427  c->cd(1);
     428  TLegend *leghum = new TLegend(0.75,0.75,0.99,0.99);
    417429  TGraph *g = hHCenter.GetGraph();
    418430  g->SetMarkerColor(8);
     
    426438  clone1 = (MHVsTime*)hHCenter.DrawClone("nonew");
    427439  clone2 = (MHVsTime*)hHWall.DrawClone("nonewsame");
    428   TH1 *hist = clone1->GetGraph()->GetHistogram();
     440  hist = clone1->GetGraph()->GetHistogram();
    429441  hist->SetXTitle("Time");
    430442  hist->SetYTitle("Relative humidity [%]");
     
    432444  hist->SetMinimum(0);
    433445  leghum->DrawClone();
    434  
     446  // Temperature distribution
     447  c->cd(2);
     448  TH1F *h3 = hTempOptLink.GetHistByName("TOptLink");
     449  h3->SetXTitle("Temperature [\\circ C]");
     450  h3->SetYTitle("");
     451  h3->SetLineColor(2);
     452  h3->SetTitle("Distribution of opt. links temperature (31.6+/-3.8\\circ)");
     453  h3->SetStats(0);
     454  MH3 *mh3 = (MH3*)hTempOptLink.DrawClone("nonew");
     455
    435456  //
    436457  // Trigger report
Note: See TracChangeset for help on using the changeset viewer.