Changeset 2887
- Timestamp:
- 01/23/04 10:44:57 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2886 r2887 4 4 5 5 -*-*- END OF LINE -*-*- 6 7 2004/01/23: Raquel de los Reyes 8 9 * macros/CCDataCheck.C 10 - Added the temperature distribution of the optical links. 6 11 7 12 2004/01/22: Abelardo Moralejo -
trunk/MagicSoft/Mars/macros/CCDataCheck.C
r2882 r2887 127 127 plist.AddToList(&bins2); 128 128 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); 129 134 130 135 // Fill all the MH classes defined before … … 142 147 MFillH fillTWater(&hTWater, "MTimeCamera"); 143 148 MFillH fillTOptLink(&hTOptLink, "MTimeCamera"); 149 MFillH fillTempOptLink(&hTempOptLink); 144 150 MFillH fillHWall(&hHWall, "MTimeCamera"); 145 151 MFillH fillHCenter(&hHCenter, "MTimeCamera"); … … 165 171 fillTWater.SetBit(MFillH::kDoNotDisplay); 166 172 fillTOptLink.SetBit(MFillH::kDoNotDisplay); 173 fillTempOptLink.SetBit(MFillH::kDoNotDisplay); 167 174 fillHWall.SetBit(MFillH::kDoNotDisplay); 168 175 fillHCenter.SetBit(MFillH::kDoNotDisplay); … … 189 196 tlist.AddToList(&fillTWater, "Camera"); 190 197 tlist.AddToList(&fillTOptLink, "Camera"); 198 tlist.AddToList(&fillTempOptLink, "Camera"); 191 199 tlist.AddToList(&fillHWall, "Camera"); 192 200 tlist.AddToList(&fillHCenter, "Camera"); … … 414 422 // Camera relative humidity 415 423 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); 417 429 TGraph *g = hHCenter.GetGraph(); 418 430 g->SetMarkerColor(8); … … 426 438 clone1 = (MHVsTime*)hHCenter.DrawClone("nonew"); 427 439 clone2 = (MHVsTime*)hHWall.DrawClone("nonewsame"); 428 TH1 *hist = clone1->GetGraph()->GetHistogram();440 hist = clone1->GetGraph()->GetHistogram(); 429 441 hist->SetXTitle("Time"); 430 442 hist->SetYTitle("Relative humidity [%]"); … … 432 444 hist->SetMinimum(0); 433 445 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 435 456 // 436 457 // Trigger report
Note:
See TracChangeset
for help on using the changeset viewer.