Changeset 1484 for trunk/MagicSoft/Mars/mhist/MBinning.cc
- Timestamp:
- 08/06/02 08:49:51 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MBinning.cc
r1483 r1484 31 31 32 32 #include <fstream.h> 33 34 #include <TH1.h> // InheritsFrom 35 36 #include "MLog.h" 37 #include "MLogManip.h" 33 38 34 39 #include "MH.h" … … 97 102 void MBinning::Apply(TH1 &h) 98 103 { 104 if (h.InheritsFrom("TH2") || h.InheritsFrom("TH3")) 105 { 106 *fLog << warn << "MBinning::Apply: '" << h.GetName() << "' is not a basic TH1 object... no binning applied." << endl; 107 return; 108 } 109 99 110 MH::SetBinning(&h, this); 100 111 }
Note:
See TracChangeset
for help on using the changeset viewer.