Changeset 8082 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 10/17/06 09:38:43 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhbase
- Files:
-
- 2 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; -
trunk/MagicSoft/Mars/mhbase/MH3.h
r7804 r8082 11 11 class TH1; 12 12 class TMethodCall; 13 class MData Chain;13 class MData; 14 14 15 15 class MH3 : public MH … … 23 23 Int_t fDimension; // Number of dimensions of histogram 24 24 TH1 *fHist; // Histogram to fill 25 MData Chain*fData[3]; // Object from which the data is filled25 MData *fData[3]; // Object from which the data is filled 26 26 Double_t fScale[3]; // Scale for the three axis (eg unit) 27 27 … … 86 86 void Paint(Option_t *opt=""); 87 87 88 ClassDef(MH3, 1) // Generalized 1/2/3D-histogram for Mars variables88 ClassDef(MH3, 2) // Generalized 1/2/3D-histogram for Mars variables 89 89 }; 90 90
Note:
See TracChangeset
for help on using the changeset viewer.