Changeset 8965 for trunk/MagicSoft
- Timestamp:
- 06/16/08 15:58:28 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8964 r8965 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 22 2008/06/15 Thomas Bretz 23 24 * datacenter/macros/plotdb.C: 25 - SetSelectedPad to 0 before calling DrawClone of TGraph 26 - small reordering of the tabs 27 - removed tab with absolute effective on time 28 29 * mbase/MLog.cc: 30 - make sure that the correct output level is restored after root 31 called the error handler 32 33 * mbase/MStatusDisplay.cc: 34 - Changed backround color to white (_not_ kWhite) 35 - made a sunken border around the canvas 36 - SetFrameBorderMode(0) per default 37 20 38 21 39 … … 74 92 - UpdatePSHeader not long needed in root >=5.12 75 93 - reorganized header file 76 - Changed backround color to white (_not_ kWhite)77 - made a sunken border around the canvas78 94 79 95 * mreport/MReportCC.[h,cc]: -
trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
r8961 r8965 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.4 4 2008-06-15 19:09:19tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.45 2008-06-16 14:58:26 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 280 280 281 281 // draw TGraph 282 gROOT->SetSelectedPad(0); 282 283 gt.DrawClone("AP"); 283 284 if (gt0.GetN()>0) … … 363 364 364 365 // draw graph 366 gROOT->SetSelectedPad(0); 365 367 gz.DrawClone("AP"); 366 368 … … 599 601 plot.Plot("Star.fMuonRate", 0, 2.0, 0.05); 600 602 //quality 603 plot.SetDescription("Datarate [Hz]", "Rate"); 604 plot.Plot("Star.fDataRate", 0, 600, 10); 601 605 plot.SetDescription("Camera Inhomogeneity;\\sigma [%]", "Inhom"); 602 606 plot.Plot("Star.fInhomogeneity", 0, 100, 1); 603 607 plot.SetDescription("Camera Spark Rate;R [Hz]", "Sparks"); 604 608 plot.Plot("Star.fSparkRate", 0.075, 2.425, 0.05); 609 plot.SetDescription("Relative effective on time;T_{eff}/T_{obs} [ratio]", "RelTime"); 610 plot.Plot("Star.fEffOnTime/Sequences.fRunTime", 0.006, 1.506, 0.01); 605 611 //imgpar 606 612 plot.SetDescription("Mean Number of Islands after cleaning;N [#]", "NumIsl"); 607 613 plot.Plot("Star.fMeanNumberIslands", 0.5, 4.5, 0.01); 608 plot.SetDescription("Measures effective on time;T_{eff} [s]", "EffOn"); 609 plot.Plot("Star.fEffOnTime", 0, 10000, 150); 610 plot.SetDescription("Relative effective on time;T_{eff}/T_{obs} [ratio]", "RelTime"); 611 plot.Plot("Star.fEffOnTime/Sequences.fRunTime", 0.006, 1.506, 0.01); 612 plot.SetDescription("Datarate [Hz]", "Rate"); 613 plot.Plot("Star.fDataRate", 0, 600, 10); 614 //weather 615 plot.SetDescription("Average Temperature [\\circ C];T [\\circ C]", "Temp"); 616 plot.Plot("Star.fAvgTemperature", -5, 25, 1); 614 617 plot.SetDescription("Average Cloudiness [%]", "AvgClouds"); 615 618 plot.Plot("Star.fAvgCloudiness", 0, 100, 1); 616 619 plot.SetDescription("RMS Cloudiness [%]", "RmsClouds"); 617 plot.Plot("Star.fRmsCloudiness", 0, 100, 1);620 plot.Plot("Star.fRmsCloudiness", 0, 30, 1); 618 621 plot.SetDescription("Sky Temperature [K]", "SkyTemp"); 619 plot.Plot("Star.fAvgTempSky", 1 50, 300, 1);622 plot.Plot("Star.fAvgTempSky", 180, 280, 1); 620 623 plot.SetDescription("Maximum Humidity [%]", "MaxHum"); 621 624 plot.Plot("Star.fMaxHumidity", 0, 100, 1); 622 625 plot.SetDescription("Average Humidity [%]", "AvgHum"); 623 626 plot.Plot("Star.fAvgHumidity", 0, 100, 1); 624 plot.SetDescription("Average Temperature [\\circ C];T [\\circ C]", "Temp");625 plot.Plot("Star.fAvgTemperature", -5, 25, 1);626 627 plot.SetDescription("Average Wind Speed [km/h];v [km/h]", "Wind"); 627 628 plot.Plot("Star.fAvgWindSpeed", 0, 50, 1); -
trunk/MagicSoft/Mars/mbase/MLog.cc
r8957 r8965 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.6 0 2008-06-14 15:55:50tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.61 2008-06-16 14:58:27 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 832 832 gLog << std::flush; 833 833 834 const Int_t store = gLog.GetOutputLevel(); 835 834 836 if (level >= kInfo) 835 837 gLog << inf; … … 842 844 843 845 gLog << std::flush; 846 847 gLog.SetOutputLevel(store); 844 848 if (!abort) 845 849 return; … … 848 852 if (gSystem) { 849 853 gSystem->StackTrace(); 854 gLog.SetOutputLevel(store); 850 855 gSystem->Abort(); 851 } else 856 } 857 else 858 { 859 gLog.SetOutputLevel(store); 852 860 ::abort(); 861 } 853 862 } 854 863 -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r8962 r8965 1048 1048 TCanvas *c = new TCanvas("", title?title:"", -cw, ch); 1049 1049 c->SetName(name); 1050 c->SetFillColor(10); // White 1051 c->SetFrameBorderMode(0); 1052 c->SetBorderMode(0); 1050 1053 fBatch->Add(c); 1051 1054 … … 1062 1065 1063 1066 // create root embedded canvas and add it to the tab 1064 TRootEmbeddedCanvas *ec = new TRootEmbeddedCanvas(name, f, f->GetWidth(), f->GetHeight(), 0);1067 TRootEmbeddedCanvas *ec = new TRootEmbeddedCanvas(name, f, f->GetWidth(), f->GetHeight(), kSunkenFrame); 1065 1068 f->AddFrame(ec, fLayCanvas); 1066 1069 fList->Add(ec); … … 1072 1075 c.SetTitle(title); 1073 1076 1074 c.SetFillColor(1 6/*165*//*17*//*203*/);1077 c.SetFillColor(10); // White 1075 1078 c.SetFrameBorderMode(0); 1076 1079 c.SetBorderMode(0);
Note:
See TracChangeset
for help on using the changeset viewer.