Ignore:
Timestamp:
08/19/07 22:40:04 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r8106 r8679  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MBinning.cc,v 1.17 2006-10-17 17:16:00 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MBinning.cc,v 1.18 2007-08-19 21:35:00 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    134134// --------------------------------------------------------------------------
    135135//
     136// Initialize Binning from TArrayD.
     137//
     138MBinning::MBinning(const TArrayD &axis, const char *name, const char *title)
     139{
     140    fName  = name  ? name : gsDefName.Data();
     141    fTitle = title ? title : gsDefTitle.Data();
     142
     143    SetEdges(axis);
     144}
     145
     146// --------------------------------------------------------------------------
     147//
    136148// Search in the parameter list for the binning with name "name". If found,
    137149// set the edges and title accordingly. Default is name of object.
Note: See TracChangeset for help on using the changeset viewer.