Changeset 6888 for trunk/MagicSoft/Mars/callisto.cc
- Timestamp:
- 03/24/05 11:22:20 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/callisto.cc
r6845 r6888 155 155 { 156 156 Usage(); 157 return -1;157 return 2; 158 158 } 159 159 … … 201 201 gLog << err << "Neither calibration (-c) nor signal extraction (-y) or test-mode (--use-test) specified!" << endl; 202 202 Usage(); 203 return 0;203 return 2; 204 204 } 205 205 … … 233 233 arg.Print("options"); 234 234 gLog << endl; 235 return -1;235 return 2; 236 236 } 237 237 … … 242 242 { 243 243 Usage(); 244 return -1;244 return 2; 245 245 } 246 246 … … 253 253 { 254 254 gLog << err << "Sorry, sequence file '" << kSequence << "' doesn't exist." << endl; 255 return -1;255 return 2; 256 256 } 257 257 … … 259 259 { 260 260 gLog << err << "Sorry, config file '" << kConfig << "' doesn't exist." << endl; 261 return -1;261 return 2; 262 262 } 263 263 … … 279 279 { 280 280 gLog << err << "Sequence read but not valid!" << endl << endl; 281 return -1;281 return 2; 282 282 } 283 283 … … 310 310 gLog << (kInpathD.IsNull() ? "<defaultpath>" : kInpathD.Data()) << endl; 311 311 if (!kForceExec) 312 return -1;312 return 2; 313 313 } 314 314 … … 363 363 { 364 364 gLog << err << "Calculation of pedestal failed." << endl << endl; 365 return -1;365 return 2; 366 366 } 367 367 … … 397 397 { 398 398 gLog << err << "Calculation of pedestal resolution failed." << endl << endl; 399 return -1;399 return 2; 400 400 } 401 401 … … 427 427 { 428 428 gLog << err << "Calculation of calibration failed." << endl << endl; 429 return -1;429 return 2; 430 430 } 431 431 … … 455 455 { 456 456 gLog << err << "Calibration of calibration failed." << endl << endl; 457 return -1;457 return 2; 458 458 } 459 459 … … 495 495 { 496 496 gLog << err << "Calculation of fundamental pedestal failed." << endl << endl; 497 return -1;497 return 2; 498 498 } 499 499 … … 531 531 { 532 532 gLog << err << "Calculation of pedestal from extrtactor (random) failed." << endl << endl; 533 return -1;533 return 2; 534 534 } 535 535 … … 567 567 { 568 568 gLog << err << "Calculation of pedestal from extractor failed." << endl << endl; 569 return -1;569 return 2; 570 570 } 571 571 … … 594 594 // Where to search for calibration files 595 595 if (!job4.ProcessFile(job1.GetPedestalCam(), job2.GetPedestalCam(), job3.GetPedestalCam())) 596 return -1;596 return 2; 597 597 598 598 if (kDebugEnv>0)
Note:
See TracChangeset
for help on using the changeset viewer.