Changeset 4838 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 09/03/04 09:33:43 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc
r4826 r4838 211 211 // 212 212 // 213 // ABSOLUTE CLEANING 214 // ================= 215 // This method takes signal height (photons) times area ratio 216 // ad the cleaning levels. 217 // 218 // The cleaning now is done in these levels (eg. 16, 20) 219 // The meaning of the cleaning levels is essentially the same (the same cleaning 220 // algorithm is used) but the cleaning is not done in different 'units' 221 // 222 // Example: 223 // 224 // MImgCleanStd clean(20, 16); 225 // clean.SetMethod(MImgCleanStd::kAbsolulte); 226 // 227 // 213 228 // Member Function: SetMethod() 214 229 // ============================ … … 579 594 fData->CalcCleaningProbability(*fEvt, *fPed, *fCam, fTime); 580 595 break; 596 case kAbsolute: 597 fData->CalcCleaningAbsolute(*fEvt, *fCam); 598 break; 581 599 default: 582 600 break; … … 637 655 case kProbability: 638 656 *fLog << "probability"; 657 break; 658 case kAbsolute: 659 *fLog << "absolute"; 639 660 break; 640 661 } … … 769 790 case kDemocratic: out << "Democratic"; break; 770 791 case kProbability: out << "Probability"; break; 792 case kAbsolute: out << "Absolute"; break; 771 793 default: 772 794 break; … … 786 808 // MImgCleanStd.CleanLevel1: 3.0 787 809 // MImgCleanStd.CleanLevel2: 2.5 788 // MImgCleanStd.CleanMethod: Standard, Scaled, Democratic, Probability 810 // MImgCleanStd.CleanMethod: Standard, Scaled, Democratic, Probability, Absolute 789 811 // MImgCleanStd.CleanRings: 1 790 812 // … … 821 843 if (s.BeginsWith("probability")) 822 844 SetMethod(kProbability); 845 if (s.BeginsWith("absolute")) 846 SetMethod(kAbsolute); 823 847 } 824 848 -
trunk/MagicSoft/Mars/mimage/MImgCleanStd.h
r4702 r4838 23 23 kScaled, 24 24 kDemocratic, 25 kProbability 25 kProbability, 26 kAbsolute 26 27 } CleaningMethod_t; 27 28
Note:
See TracChangeset
for help on using the changeset viewer.