Changeset 5059 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 09/16/04 09:12:50 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHillasCalc.cc
r5058 r5059 355 355 if (TestBit(kCalcHillas)) 356 356 { 357 PrintSkipped( 1, "Less than 3 pixels (before cleaning)");358 PrintSkipped( 2, "Calculated Size == 0 (after cleaning)");359 PrintSkipped( 3, "Number of used pixels < 3");360 PrintSkipped( 4, "CorrXY==0");357 PrintSkipped(fErrors[1], "Less than 3 pixels (before cleaning)"); 358 PrintSkipped(fErrors[2], "Calculated Size == 0 (after cleaning)"); 359 PrintSkipped(fErrors[3], "Number of used pixels < 3"); 360 PrintSkipped(fErrors[4], "CorrXY==0"); 361 361 } 362 362 if (TestBit(kCalcHillasSrc)) 363 363 { 364 PrintSkipped( 5, "Dist==0");365 PrintSkipped( 6, "Arg2==0");366 } 367 *fLog << " " << (int)fErrors[0] << " (" << (int)(100.*fErrors[0]/GetNumExecutions()) << "%) Evts survived Hillas calculation!" << endl;364 PrintSkipped(fErrors[5], "Dist==0"); 365 PrintSkipped(fErrors[6], "Arg2==0"); 366 } 367 *fLog << " " << (int)fErrors[0] << " (" << Form("%.1f", 100.*fErrors[0]/GetNumExecutions()) << "%) Evts survived Hillas calculation!" << endl; 368 368 *fLog << endl; 369 369 -
trunk/MagicSoft/Mars/mimage/MHillasCalc.h
r5039 r5059 63 63 Short_t fIdxIsland; // Number of island to use for calculation 64 64 65 // Helper66 void PrintSkipped(UInt_t i, const char *str);67 68 65 // MParContainer 69 66 void StreamPrimitive(ofstream &out) const;
Note:
See TracChangeset
for help on using the changeset viewer.