Ignore:
Timestamp:
11/14/01 15:06:39 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MH.cc

    r1003 r1077  
    5858}
    5959
     60// --------------------------------------------------------------------------
     61//
     62// This is a function which should replace the creation of default
     63// canvases like root does. Because this is inconvinient in some aspects.
     64// need to change this.
     65// You can specify a name for the default canvas and a title. Also
     66// width and height can be given.
     67// MakeDefCanvas looks for a canvas with the given name. If now name is
     68// given the DefCanvasName of root is used. If no such canvas is existing
     69// it is created and returned. If such a canvas already exists a new canvas
     70// with a name plus anumber is created (the number is calculated by the
     71// number of all existing canvases plus one)
     72//
    6073TCanvas *MH::MakeDefCanvas(const char *name, const char *title,
    6174                           const UInt_t w, const UInt_t h)
     
    7891}
    7992
     93// --------------------------------------------------------------------------
     94//
     95// This function works like MakeDefCanvas(name, title, w, h) but name
     96// and title are retrieved from the given TObject.
     97//
    8098TCanvas *MH::MakeDefCanvas(const TObject *obj,
    8199                           const UInt_t w, const UInt_t h)
Note: See TracChangeset for help on using the changeset viewer.