Changeset 9598 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
06/28/10 16:07:08 (14 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9597 r9598  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     21 2010/06/28 Thomas Bretz
     22
     23   * mbase/MStatusDisplay.cc:
     24     - Status displays where stored as MStatusArray instead of
     25       MStatusDisplay
     26     - Read now also can read other StatusDisplays if a key is found in
     27       the file
     28
     29
     30
    2131 2010/06/25 Thomas Bretz
    2232
     
    6070     - added SetViewCone
    6171
    62    * mmc/MMcEvt.cxx, mmc/MMcEvtBasic.h:
     72   * mmc/MMcEvt.[hxx,cxx], mmc/MMcEvtBasic.[h,cc]:
    6373     - moved fPhi and fTheta from MMcEvt to MMcEvtBasic
    6474     - increased class version number accordingly
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r9581 r9598  
    23472347        while ((key=Next()))
    23482348        {
     2349            MStatusArray *arr=0;
     2350            gFile->GetObject(key->GetName(), arr);
     2351            if (arr)
     2352            {
     2353                Display(*arr, tab);
     2354                n++;
     2355                continue;
     2356            }
     2357
     2358            if (tab && key->GetName()!=(TString)tab)
     2359                continue;
     2360
    23492361            TCanvas *c=0;
    23502362            gFile->GetObject(key->GetName(), c);
     
    23672379            }
    23682380
    2369             // Add teh canvas to the list
     2381            // Add the canvas to the list
    23702382            c->SetTitle(gFile->GetName());
    23712383            list.Add(c);
     
    30943106    TFile *fsave = gFile;
    30953107    TFile file(name, "RECREATE", GetTitle(), 9);
    3096     const Int_t keys = Write(num, plain ? "plain" : "");
     3108    const Int_t keys = Write(num, "MStatusDisplay", plain ? "plain" : "");
    30973109    gFile = fsave;
    30983110
Note: See TracChangeset for help on using the changeset viewer.