Ignore:
Timestamp:
04/18/05 20:11:09 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhbase
Files:
2 edited

Legend:

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

    r6938 r6954  
    7878// --------------------------------------------------------------------------
    7979//
     80// Copy Constructor. If necessary give also name and title.
     81//
     82MBinning::MBinning(const MBinning &bins, const char *name, const char *title)
     83{
     84    fName  = name  ? name  : gsDefName.Data();
     85    fTitle = title ? title : gsDefTitle.Data();
     86
     87    SetEdges(bins);
     88}
     89
     90// --------------------------------------------------------------------------
     91//
    8092// Instantiate MBinning with nbins number of bins between lo (lower edge)
    8193// and hi (upper edge), name name and title title.
  • trunk/MagicSoft/Mars/mhbase/MBinning.h

    r6938 r6954  
    4040    MBinning(const char *name=NULL, const char *title=NULL);
    4141    MBinning(Int_t nbins, Axis_t lo, Axis_t hi, const char *name=0, const char *opt="", const char *title=NULL);
    42     MBinning(const MBinning &bins) { SetEdges(bins); }
     42    MBinning(const MBinning &bins, const char *name=NULL, const char *title=NULL);
    4343    MBinning(const TH1 &h, const Char_t axis='x', const char *name=0, const char *title=0);
    4444    MBinning(const TAxis &a, const char *name=0, const char *title=0);
Note: See TracChangeset for help on using the changeset viewer.