Changeset 7567 for trunk/MagicSoft/Mars
- Timestamp:
- 03/04/06 22:51:56 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7566 r7567 18 18 19 19 -*-*- END OF LINE -*-*- 20 2006/03/04 Daniela Dorner 21 22 * callisto.cc: 23 - changed return values to improve the failure handling in the db 24 25 26 20 27 2006/03/03 Thomas Bretz 21 28 -
trunk/MagicSoft/Mars/callisto.cc
r7560 r7567 261 261 { 262 262 gLog << err << "Sorry, sequence file '" << kSequence << "' doesn't exist." << endl; 263 return 2;263 return 3; 264 264 } 265 265 … … 267 267 { 268 268 gLog << err << "Sorry, config file '" << kConfig << "' doesn't exist." << endl; 269 return 2;269 return 4; 270 270 } 271 271 … … 287 287 { 288 288 gLog << err << "Sequence read but not valid!" << endl << endl; 289 return 2;289 return 5; 290 290 } 291 291 … … 371 371 { 372 372 gLog << err << "Calculation of pedestal failed." << endl << endl; 373 return 2;373 return 6; 374 374 } 375 375 … … 408 408 { 409 409 gLog << err << "Calculation of pedestal resolution failed." << endl << endl; 410 return 2;410 return 7; 411 411 } 412 412 … … 438 438 { 439 439 gLog << err << "Calculation of calibration failed." << endl << endl; 440 return 2;440 return 8; 441 441 } 442 442 … … 466 466 { 467 467 gLog << err << "Calibration of calibration failed." << endl << endl; 468 return 2;468 return 9; 469 469 } 470 470 … … 506 506 { 507 507 gLog << err << "Calculation of fundamental pedestal failed." << endl << endl; 508 return 2;508 return 10; 509 509 } 510 510 … … 550 550 551 551 gLog << err << "Calculation of pedestal from extrtactor (random) failed." << endl << endl; 552 553 //error coding for the automatic analysis (to be filled into the database) 554 switch (rc) 555 { 556 case 0: 557 return 11; 558 case -1: 559 return 12; 560 case -2: 561 return 13; 562 case -3: 563 return 14; 564 } 552 565 return 2; 553 566 } … … 586 599 { 587 600 gLog << err << "Calculation of pedestal from extractor failed." << endl << endl; 588 return 2;601 return 15; 589 602 } 590 603 … … 613 626 // Where to search for calibration files 614 627 if (!job4.Process(job1.GetPedestalCam(), job3.GetPedestalCam(), job2.GetPedestalCam())) 615 return 2;628 return 16; 616 629 617 630 if (kDebugEnv>0)
Note:
See TracChangeset
for help on using the changeset viewer.