Changeset 8679 for trunk/MagicSoft/Mars/mhbase/MBinning.cc
- Timestamp:
- 08/19/07 22:40:04 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MBinning.cc
r8106 r8679 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBinning.cc,v 1.1 7 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 $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 134 134 // -------------------------------------------------------------------------- 135 135 // 136 // Initialize Binning from TArrayD. 137 // 138 MBinning::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 // 136 148 // Search in the parameter list for the binning with name "name". If found, 137 149 // set the edges and title accordingly. Default is name of object.
Note:
See TracChangeset
for help on using the changeset viewer.