Changeset 9345 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 02/16/09 10:19:21 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc
r9343 r9345 58 58 #include "MH3.h" 59 59 #include "MHn.h" 60 #include "MEnv.h" 60 61 #include "MBinning.h" 61 62 #include "MParameters.h" … … 1539 1540 MBinning binsa("BinningAsym"); 1540 1541 MBinning binsb("BinningConc1"); 1542 1543 MEnv env("", "ganymed.rc"); 1541 1544 1542 1545 MAlphaFitter fit; … … 1963 1966 // Write the output 1964 1967 TObjArray cont; 1965 cont.Add((TObject*)GetEnv()); // const_cast 1966 cont.Add((TObject*)&set); // const_cast 1968 cont.Add(&env); // ganymed.rc 1969 cont.Add(const_cast<TEnv*>(GetEnv())); // sponde.rc 1970 cont.Add(const_cast<MDataSet*>(&set)); // Dataset 1967 1971 cont.Add(plist.FindObject("MAlphaFitter")); 1968 1972 cont.Add(&area0); -
trunk/MagicSoft/Mars/mjobs/MJob.cc
r9261 r9345 460 460 } 461 461 462 MIter Next(&list);463 MParContainer*o=0;462 TIter Next(&list); 463 TObject *o=0; 464 464 while ((o=Next())) 465 465 { 466 *fLog << inf << " - Reading " << o->GetDescriptor() << "..." << flush;466 *fLog << inf << " - Reading " << MParContainer::GetDescriptor(*o) << "..." << flush; 467 467 if (o->Read(o->GetName())<=0) 468 468 { 469 *fLog << err << dbginf << "ERROR - Reading " << o->GetDescriptor() << " from file " << gFile->GetName() << endl;469 *fLog << err << dbginf << "ERROR - Reading " << MParContainer::GetDescriptor(*o) << " from file " << gFile->GetName() << endl; 470 470 return kFALSE; 471 471 }
Note:
See TracChangeset
for help on using the changeset viewer.