Changeset 245 in svn for trunk/src/HEPEVTConverter.cc
- Timestamp:
- Feb 5, 2009, 2:09:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/HEPEVTConverter.cc
r220 r245 128 128 if(!it_deque->second) 129 129 { 130 cout << "** WARNING: cannot get branch '" << it_deque->first << "'" << endl; 130 cerr << left << setw(40) <<"** WARNING: cannot get branch: "<<"" 131 << left << setw(20) << it_deque->first <<"" 132 << right << setw(9) <<" **"<<""<<endl; 131 133 } 132 134 } … … 147 149 if(!infile.is_open()) 148 150 { 149 cerr << "** ERROR: Can't open '" << inputFileList << "' for input" << endl; 151 cerr << left << setw(30) <<"** ERROR: Can't open "<<"" 152 << left << setw(20) << inputFileList <<"" 153 << right << setw(19) <<"for input **"<<""<<endl; 150 154 exit(1); 151 155 } … … 156 160 infile >> buffer; 157 161 ifstream checking_the_file(buffer.c_str()); 158 if(!checking_the_file.good()) { cout << buffer << ": file not found\n"; continue;} 162 if(!checking_the_file.good()) 163 { 164 cerr << left << setw(30) <<"** ERROR: Can't find file "<<"" 165 << left << setw(20) << buffer <<"" 166 << right << setw(19) <<"for input **"<<""<<endl; 167 continue; 168 } 159 169 else checking_the_file.close(); 160 170 … … 214 224 } 215 225 treeWriter->Write(); 216 cout << "** Exiting..." << endl;217 226 218 227 delete treeWriter;
Note:
See TracChangeset
for help on using the changeset viewer.