Changeset 4635 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 08/16/04 17:40:37 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbadpixels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc
r4632 r4635 268 268 { 269 269 Bool_t rc = kFALSE; 270 if (IsEnvDefined(env, prefix, "PedestalLevel" ))270 if (IsEnvDefined(env, prefix, "PedestalLevel", print)) 271 271 { 272 272 rc = kTRUE; -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r4633 r4635 591 591 // 592 592 // Read the setup from a TEnv, eg: 593 // MBadPixels Calc.UseInterpolation: no594 // MBadPixels Calc.UseCentralPixel: no595 // MBadPixels Calc.HardTreatment: no596 // MBadPixels Calc.ProcessRMS: no597 // MBadPixels Calc.NumMinNeighbors: 3593 // MBadPixelsTreat.UseInterpolation: no 594 // MBadPixelsTreat.UseCentralPixel: no 595 // MBadPixelsTreat.HardTreatment: no 596 // MBadPixelsTreat.ProcessRMS: no 597 // MBadPixelsTreat.NumMinNeighbors: 3 598 598 // 599 599 Int_t MBadPixelsTreat::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 600 600 { 601 601 Bool_t rc = kFALSE; 602 if (IsEnvDefined(env, prefix, "UseInterpolation" ))602 if (IsEnvDefined(env, prefix, "UseInterpolation", print)) 603 603 { 604 604 rc = kTRUE; 605 605 SetUseInterpolation(GetEnvValue(env, prefix, "UseInterpolation", IsUseInterpolation())); 606 606 } 607 if (IsEnvDefined(env, prefix, "UseCentralPixel" ))607 if (IsEnvDefined(env, prefix, "UseCentralPixel", print)) 608 608 { 609 609 rc = kTRUE; 610 610 SetUseCentralPixel(GetEnvValue(env, prefix, "UseCentralPixel", IsUseCentralPixel())); 611 611 } 612 if (IsEnvDefined(env, prefix, "HardTreatment" ))612 if (IsEnvDefined(env, prefix, "HardTreatment", print)) 613 613 { 614 614 rc = kTRUE; 615 615 SetHardTreatment(GetEnvValue(env, prefix, "HardTreatment", IsHardTreatment())); 616 616 } 617 if (IsEnvDefined(env, prefix, "ProcessRMS" ))617 if (IsEnvDefined(env, prefix, "ProcessRMS", print)) 618 618 { 619 619 rc = kTRUE; 620 620 SetProcessRMS(GetEnvValue(env, prefix, "ProcessRMS", IsProcessRMS())); 621 621 } 622 if (IsEnvDefined(env, prefix, "NumMinNeighbors" ))622 if (IsEnvDefined(env, prefix, "NumMinNeighbors", print)) 623 623 { 624 624 rc = kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.