Changeset 4002 in Sophya
- Timestamp:
- Jun 14, 2011, 10:42:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/corrcrtadc.cc
r4001 r4002 191 191 sprintf(fname, "%s/adcdumpN%dF%d.bd",inoutpath.c_str(),adcids[ka],ifile); 192 192 fip[ka]=fopen(fname,"rb"); 193 if (fip[ka]==NULL) 193 if (fip[ka]==NULL) { 194 194 cout << "ProcessADCFiles/ERROR opening file " << fname << " AdcId=" << adcids[ka] << " I=" << ifile << endl; 195 throw IOExc(" ADC dump file open error!"); 196 } 195 197 else 196 198 cout << "ProcessADCFiles/Info - file " << fname << " opened ... " << " AdcId=" << adcids[ka] << " I=" << ifile << endl; … … 288 290 sprintf(fname, "%s/adcdumpN%dF%d.bd",inoutpath.c_str(),adcids[ka],ifile); 289 291 fip[ka]=fopen(fname,"rb"); 290 if (fip[ka]==NULL) 292 if (fip[ka]==NULL) { 291 293 cout << "ADCFiles2Histo/ERROR opening file " << fname << " AdcId=" << adcids[ka] << " I=" << ifile << endl; 294 throw IOExc(" ADC dump file open error!"); 295 } 292 296 else 293 297 cout << "ADCFiles2Histo/Info - file " << fname << " opened ... " << " AdcId=" << adcids[ka] << " I=" << ifile << endl;
Note: See TracChangeset
for help on using the changeset viewer.