Changeset 1388
- Timestamp:
- 07/08/02 14:20:52 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1387 r1388 34 34 * macros/MagicHillas.C: 35 35 - added read.DisableAutoScheme() 36 37 * mhist/MH.[h,cc]: 38 - changed Fill to be non abstract anymore 36 39 37 40 -
trunk/MagicSoft/Mars/mhist/MH.cc
r1330 r1388 54 54 #include <TCanvas.h> 55 55 56 #include "MLog.h" 57 56 58 #include "MBinning.h" 57 59 … … 70 72 fName = name ? name : "MH"; 71 73 fTitle = title ? title : "Base class for Mars histograms"; 74 } 75 76 // -------------------------------------------------------------------------- 77 // 78 // If you want to use the automatic filling of your derived class you 79 // must overload this function. If it is not overloaded you cannot use 80 // FillH with this class. The argument is a pointer to a container 81 // in your paremeter list which is specified in the MFillH constructor 82 // 83 Bool_t MH::Fill(const MParContainer *par) 84 { 85 *fLog << GetDescriptor() << ": Fill not overloaded! Can't be used!" << endl; 86 return kFALSE; 72 87 } 73 88 -
trunk/MagicSoft/Mars/mhist/MH.h
r1353 r1388 22 22 23 23 virtual Bool_t SetupFill(const MParList *pList) { return kTRUE; } 24 virtual Bool_t Fill(const MParContainer *par) = 0;24 virtual Bool_t Fill(const MParContainer *par); 25 25 virtual Bool_t Finalize() { return kTRUE; } 26 26
Note:
See TracChangeset
for help on using the changeset viewer.