Changeset 8082 for trunk/MagicSoft/Mars/mhbase/MH3.cc
- Timestamp:
- 10/17/06 09:38:43 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MH3.cc
r7804 r8082 69 69 // plist.AddToList(&bins); 70 70 // 71 // 72 // Class Version 2: 73 // ---------------- 74 // - MDataChain *fData[3]; // Object from which the data is filled 75 // + MData *fData[3]; // Object from which the data is filled 76 // 77 // 71 78 ///////////////////////////////////////////////////////////////////////////// 72 79 #include "MH3.h" … … 89 96 #include "MParList.h" 90 97 #include "MBinning.h" 91 #include "MData Chain.h"98 #include "MDataPhrase.h" 92 99 93 100 ClassImp(MH3); … … 148 155 fHist = new TH1D; 149 156 150 fData[0] = new MData Chain(memberx);157 fData[0] = new MDataPhrase(memberx); 151 158 fData[1] = NULL; 152 159 fData[2] = NULL; … … 178 185 { 179 186 case 3: 180 fData[2] = new MData Chain(h1.GetZaxis()->GetTitle());181 case 2: 182 fData[1] = new MData Chain(h1.GetYaxis()->GetTitle());183 case 1: 184 fData[0] = new MData Chain(h1.GetXaxis()->GetTitle());187 fData[2] = new MDataPhrase(h1.GetZaxis()->GetTitle()); 188 case 2: 189 fData[1] = new MDataPhrase(h1.GetYaxis()->GetTitle()); 190 case 1: 191 fData[0] = new MDataPhrase(h1.GetXaxis()->GetTitle()); 185 192 } 186 193 … … 207 214 fHist = new TH2D; 208 215 209 fData[0] = new MData Chain(memberx);210 fData[1] = new MData Chain(membery);216 fData[0] = new MDataPhrase(memberx); 217 fData[1] = new MDataPhrase(membery); 211 218 fData[2] = NULL; 212 219 … … 234 241 fHist = new TH3D; 235 242 236 fData[0] = new MData Chain(memberx);237 fData[1] = new MData Chain(membery);238 fData[2] = new MData Chain(memberz);243 fData[0] = new MDataPhrase(memberx); 244 fData[1] = new MDataPhrase(membery); 245 fData[2] = new MDataPhrase(memberz); 239 246 240 247 fName = gsDefName;
Note:
See TracChangeset
for help on using the changeset viewer.