Changeset 8965


Ignore:
Timestamp:
06/16/08 15:58:28 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8964 r8965  
    1818
    1919                                                 -*-*- 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
    2038
    2139
     
    7492     - UpdatePSHeader not long needed in root >=5.12
    7593     - reorganized header file
    76      - Changed backround color to white (_not_ kWhite)
    77      - made a sunken border around the canvas
    7894
    7995   * mreport/MReportCC.[h,cc]:
  • trunk/MagicSoft/Mars/datacenter/macros/plotdb.C

    r8961 r8965  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.44 2008-06-15 19:09:19 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.45 2008-06-16 14:58:26 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    280280
    281281        // draw TGraph
     282        gROOT->SetSelectedPad(0);
    282283        gt.DrawClone("AP");
    283284        if (gt0.GetN()>0)
     
    363364
    364365        // draw graph
     366        gROOT->SetSelectedPad(0);
    365367        gz.DrawClone("AP");
    366368
     
    599601    plot.Plot("Star.fMuonRate",                0, 2.0, 0.05);
    600602    //quality
     603    plot.SetDescription("Datarate [Hz]", "Rate");
     604    plot.Plot("Star.fDataRate",                0, 600, 10);
    601605    plot.SetDescription("Camera Inhomogeneity;\\sigma [%]", "Inhom");
    602606    plot.Plot("Star.fInhomogeneity",           0, 100, 1);
    603607    plot.SetDescription("Camera Spark Rate;R [Hz]", "Sparks");
    604608    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);
    605611    //imgpar
    606612    plot.SetDescription("Mean Number of Islands after cleaning;N [#]", "NumIsl");
    607613    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);
    614617    plot.SetDescription("Average Cloudiness [%]", "AvgClouds");
    615618    plot.Plot("Star.fAvgCloudiness",           0, 100, 1);
    616619    plot.SetDescription("RMS Cloudiness [%]", "RmsClouds");
    617     plot.Plot("Star.fRmsCloudiness",           0, 100, 1);
     620    plot.Plot("Star.fRmsCloudiness",           0,  30, 1);
    618621    plot.SetDescription("Sky Temperature [K]", "SkyTemp");
    619     plot.Plot("Star.fAvgTempSky",         150, 300, 1);
     622    plot.Plot("Star.fAvgTempSky",         180, 280, 1);
    620623    plot.SetDescription("Maximum Humidity [%]", "MaxHum");
    621624    plot.Plot("Star.fMaxHumidity",             0, 100, 1);
    622625    plot.SetDescription("Average Humidity [%]", "AvgHum");
    623626    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);
    626627    plot.SetDescription("Average Wind Speed [km/h];v [km/h]", "Wind");
    627628    plot.Plot("Star.fAvgWindSpeed",        0, 50, 1);
  • trunk/MagicSoft/Mars/mbase/MLog.cc

    r8957 r8965  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.60 2008-06-14 15:55:50 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MLog.cc,v 1.61 2008-06-16 14:58:27 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    832832    gLog << std::flush;
    833833
     834    const Int_t store = gLog.GetOutputLevel();
     835
    834836    if (level >= kInfo)
    835837       gLog << inf;
     
    842844
    843845    gLog << std::flush;
     846
     847    gLog.SetOutputLevel(store);
    844848    if (!abort)
    845849        return;
     
    848852    if (gSystem) {
    849853        gSystem->StackTrace();
     854        gLog.SetOutputLevel(store);
    850855        gSystem->Abort();
    851     } else
     856    }
     857    else
     858    {
     859        gLog.SetOutputLevel(store);
    852860        ::abort();
     861    }
    853862}
    854863
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r8962 r8965  
    10481048        TCanvas *c = new TCanvas("", title?title:"", -cw, ch);
    10491049        c->SetName(name);
     1050        c->SetFillColor(10); // White
     1051        c->SetFrameBorderMode(0);
     1052        c->SetBorderMode(0);
    10501053        fBatch->Add(c);
    10511054
     
    10621065
    10631066    // 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);
    10651068    f->AddFrame(ec, fLayCanvas);
    10661069    fList->Add(ec);
     
    10721075        c.SetTitle(title);
    10731076
    1074     c.SetFillColor(16/*165*//*17*//*203*/);
     1077    c.SetFillColor(10); // White
    10751078    c.SetFrameBorderMode(0);
    10761079    c.SetBorderMode(0);
Note: See TracChangeset for help on using the changeset viewer.