Changeset 1666 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 11/22/02 09:23:54 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MH3.cc
r1599 r1666 223 223 { 224 224 case 3: 225 binsz = (MBinning*)plist->FindObject(bname+"Z" );225 binsz = (MBinning*)plist->FindObject(bname+"Z", "MBinning"); 226 226 if (!binsz) 227 227 { … … 235 235 return kFALSE; 236 236 case 2: 237 binsy = (MBinning*)plist->FindObject(bname+"Y" );237 binsy = (MBinning*)plist->FindObject(bname+"Y", "MBinning"); 238 238 if (!binsy) 239 239 { … … 247 247 return kFALSE; 248 248 case 1: 249 binsx = (MBinning*)plist->FindObject(bname+"X" );249 binsx = (MBinning*)plist->FindObject(bname+"X", "MBinning"); 250 250 if (!binsx) 251 251 { 252 *fLog << err << dbginf << "MBinning '" << bname << "X' not found... aborting." << endl; 253 return kFALSE; 252 if (fDimension==1) 253 binsx = (MBinning*)plist->FindObject(bname, "MBinning"); 254 255 if (!binsx) 256 { 257 *fLog << err << dbginf << "Neither MBinning '" << bname << "X' nor '" << bname << "' found... aborting." << endl; 258 return kFALSE; 259 } 254 260 } 255 261 if (binsx->IsLogarithmic())
Note:
See TracChangeset
for help on using the changeset viewer.