Changeset 9318 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 02/11/09 17:35:54 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r9315 r9318 123 123 if (TString(obj->GetName())=="/dev/null" && TString(obj->GetTitle())==title) 124 124 { 125 *fLog << inf 3 << "Found file '/dev/null' <Title=" << title << ">" << endl;125 *fLog << inf2 << "Found open file '/dev/null' <Title=" << title << ">... re-using." << endl; 126 126 file = dynamic_cast<TFile*>(obj); 127 127 break; … … 138 138 gSystem->ExpandPathName(fqp); 139 139 file = dynamic_cast<TFile*>(gROOT->GetListOfFiles()->FindObject(fqp)); 140 } 141 142 if (file) 143 { 144 *fLog << inf2; 145 *fLog << "Found open file '" << name << "'... re-using." << endl; 146 *fLog << inf3; 147 *fLog << "Make sure that you do NOT write to trees which are" << endl; 148 *fLog << "scheduled already by a different MWriteRootFile..." << endl; 140 149 } 141 150 } … … 162 171 SetBit(kIsNotOwner); 163 172 164 *fLog << inf;165 *fLog << "File '" << name << "' already open... using." << endl;166 *fLog << inf3;167 *fLog << "Make sure that you do NOT write to trees which are" << endl;168 *fLog << "scheduled already by a different MWriteRootFile..." << endl;169 173 return fOut; 170 174 }
Note:
See TracChangeset
for help on using the changeset viewer.