Ignore:
Timestamp:
10/26/09 14:31:19 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhbase
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MH3.cc

    r9362 r9518  
    367367MH3::~MH3()
    368368{
    369     delete fHist;
     369    if (fHist)
     370        delete fHist;
    370371
    371372    for (int i=0; i<4; i++)
  • trunk/MagicSoft/Mars/mhbase/MHn.cc

    r9302 r9518  
    596596    }
    597597}
     598
     599void MHn::RecursiveRemove(TObject *obj)
     600{
     601    for (int i=0; i<6; i++)
     602    {
     603        if (!fHist[i])
     604            continue;
     605
     606        if (obj==fHist[i])
     607            fHist[i] = 0;
     608        else
     609            fHist[i]->RecursiveRemove(obj);
     610    }
     611}
  • trunk/MagicSoft/Mars/mhbase/MHn.h

    r9195 r9518  
    7575    //void Paint(Option_t *opt="");
    7676
     77    void RecursiveRemove(TObject *obj);
     78
    7779    ClassDef(MHn, 1) // Generalized histogram class for up to six histograms
    7880};
  • trunk/MagicSoft/Mars/mhbase/Makefile

    r8695 r9518  
    66#
    77##################################################################
     8include ../Makefile.conf.general
    89include ../Makefile.conf.$(OSTYPE)
    9 include ../Makefile.conf.general
    1010
    1111#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.