- Timestamp:
- 04/19/05 09:43:01 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6954 r6955 21 21 22 22 -*-*- END OF LINE -*-*- 23 24 2005/04/19 Thomas Bretz 25 26 * mjobs/MJCut.cc: 27 - fixed a problem when not enabling "--res" 28 29 23 30 24 31 2005/04/18 Thomas Bretz -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r6954 r6955 231 231 const Bool_t rc = WriteContainer(cont); 232 232 233 if (! fNameResult.IsNull())233 if (!(fNameResult.IsNull() && fStoreResult)) 234 234 delete file; 235 235 … … 252 252 arr.Add(o); 253 253 254 return WriteContainer(arr, GetOutputFile(num), "UPDATE"); 254 const TString fname(GetOutputFile(num)); 255 256 if (fNameResult.IsNull() && fStoreResult) 257 { 258 TFile *file = (TFile*)gROOT->GetListOfFiles()->FindObject(fname); 259 if (file) 260 { 261 file->cd(); 262 return WriteContainer(arr); 263 } 264 } 265 266 return WriteContainer(arr, fname, "UPDATE"); 255 267 } 256 268
Note:
See TracChangeset
for help on using the changeset viewer.