Ignore:
Timestamp:
06/19/08 16:18:57 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/plotstat.C

    r8927 r8983  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: plotstat.C,v 1.5 2008-06-06 17:02:07 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: plotstat.C,v 1.6 2008-06-19 15:18:57 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    322322    query[0]  = "select SUM(TIME_TO_SEC(TIMEDIFF(fRunStop, fRunStart)))/3600 ";
    323323    query[0] += "from RunData left join RunProcessStatus on RunData.fRunNumber=RunProcessStatus.fRunNumber ";
    324     query[0] += "where fRunTypeKey=2 and ";
    325     query[0] += " not ISNULL(fRawFileAvail)";
     324    query[0] += "where fRunTypeKey=2 and not ISNULL(fRawFileAvail)";
    326325
    327326    // 1: All data
     
    386385    MH::SetBinning(&h8, &binsp, &binst);
    387386    h8.SetNameTitle("ObsTime", "Distribution of observation time per exposure");
    388     h8.SetXTitle("Obs. time per exposure [h]");
    389     h8.SetYTitle("Counts");
     387    h8.SetXTitle("Observation Period");
     388    h8.SetYTitle("Obs. time per exposure [h]");
     389    h8.SetZTitle("Counts");
    390390    h8.SetDirectory(0);
    391391
     
    447447    TH1 * p = h8.ProjectionY();
    448448
     449    p->SetYTitle("Counts");
    449450    p->SetDirectory(0);
    450451    p->SetBit(kCanDelete);
     
    579580        p->SetBit(TH1::kNoStats);
    580581        p->SetTitle("");
    581         p->SetXTitle("Obs. time per exposure [h]");
    582582        p->SetYTitle("Counts");
    583583        p->SetDirectory(0);
Note: See TracChangeset for help on using the changeset viewer.