Changeset 6954 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 04/18/05 20:11:09 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MBinning.cc
r6938 r6954 78 78 // -------------------------------------------------------------------------- 79 79 // 80 // Copy Constructor. If necessary give also name and title. 81 // 82 MBinning::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 // 80 92 // Instantiate MBinning with nbins number of bins between lo (lower edge) 81 93 // and hi (upper edge), name name and title title. -
trunk/MagicSoft/Mars/mhbase/MBinning.h
r6938 r6954 40 40 MBinning(const char *name=NULL, const char *title=NULL); 41 41 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); 43 43 MBinning(const TH1 &h, const Char_t axis='x', const char *name=0, const char *title=0); 44 44 MBinning(const TAxis &a, const char *name=0, const char *title=0);
Note:
See TracChangeset
for help on using the changeset viewer.