Changeset 8644 for trunk/MagicSoft/Mars/mtools
- Timestamp:
- 07/24/07 14:36:39 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mtools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtools/MTFillMatrix.cc
r8091 r8644 154 154 } 155 155 156 void MTFillMatrix::Init(const char *name, const char *title) 157 { 158 fName = name ? name : "MFillMatrix"; 159 fTitle = title ? title : "Tool to fill MHMatrix from file"; 160 } 161 162 MTFillMatrix::MTFillMatrix(const char *name, const char *title) 163 : fReference(0), fReader(0), fDestMatrix1(0), fDestMatrix2(0), 164 fNumDestEvents1(0), fNumDestEvents2(0), fWriteFile1(0), fWriteFile2(0) 165 { 166 Init(name, title); 167 } 168 156 169 // -------------------------------------------------------------------------- 157 170 // … … 164 177 // the predefined size, but it is much faster. 165 178 // 166 MTFillMatrix::MTFillMatrix(const MH3 *ref )179 MTFillMatrix::MTFillMatrix(const MH3 *ref, const char *name, const char *title) 167 180 : fReference(0), fReader(0), fDestMatrix1(0), fDestMatrix2(0), 168 181 fNumDestEvents1(0), fNumDestEvents2(0), fWriteFile1(0), fWriteFile2(0) 169 182 { 170 fName = "MFillMatrix"; 171 fTitle = "Tool to fill MHMatrix from file"; 172 183 Init(name, title); 173 184 if (ref) 174 185 fReference = (MH3*)ref->Clone(); -
trunk/MagicSoft/Mars/mtools/MTFillMatrix.h
r7714 r8644 34 34 TList fPostTasks; 35 35 36 void Init(const char *name, const char *title); 37 36 38 void Add(const TList &src, const TClass *cls, TList &dest); 37 39 … … 42 44 43 45 public: 44 MTFillMatrix(const MH3 *ref=NULL); 46 MTFillMatrix(const char *name=0, const char *title=0); 47 MTFillMatrix(const MH3 *ref, const char *name=0, const char *title=0); 45 48 ~MTFillMatrix(); 46 49
Note:
See TracChangeset
for help on using the changeset viewer.