Changeset 4586 for trunk/MagicSoft/Mars/mbadpixels
- Timestamp:
- 08/12/04 08:16:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbadpixels
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc
r4579 r4586 85 85 // 86 86 MBadPixelsCalc::MBadPixelsCalc(const char *name, const char *title) 87 : fPedestalLevel(3) 87 : fPedestalLevel(3), fNamePedPhotContainer("MPedPhotCam") 88 88 { 89 89 fName = name ? name : gsDefName.Data(); … … 102 102 if (fPedestalLevel>0) 103 103 { 104 fPedPhotCam = (MPedPhotCam*)pList->FindObject(AddSerialNumber("MPedPhotCam"));104 fPedPhotCam = (MPedPhotCam*)pList->FindObject(fNamePedPhotContainer, AddSerialNumber("MPedPhotCam")); 105 105 if (!fPedPhotCam) 106 106 { -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.h
r4527 r4586 21 21 22 22 Float_t fPedestalLevel; 23 23 TString fNamePedPhotContainer; // name of the 'MPedPhotCam' container 24 24 25 // void CheckPedestalRMS() const; 25 26 Bool_t CheckPedestalRms() const; … … 32 33 33 34 void SetPedestalLevel(Float_t f) { fPedestalLevel=f; } 35 void SetNamePedPhotContainer(const char *name) { fNamePedPhotContainer = name; } 34 36 35 37 ClassDef(MBadPixelsCalc, 1) // Task to find bad pixels (star, broken pixels, etc) -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r4559 r4586 87 87 // 88 88 MBadPixelsTreat::MBadPixelsTreat(const char *name, const char *title) 89 : fFlags(0), fNumMinNeighbors(3)89 : fFlags(0), fNumMinNeighbors(3), fNamePedPhotContainer("MPedPhotCam") 90 90 { 91 91 fName = name ? name : gsDefName.Data(); … … 121 121 } 122 122 123 fPedPhot = (MPedPhotCam*)pList->FindObject( AddSerialNumber("MPedPhotCam"));123 fPedPhot = (MPedPhotCam*)pList->FindObject(fNamePedPhotContainer, AddSerialNumber("MPedPhotCam")); 124 124 if (!fPedPhot) 125 125 { -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h
r4559 r4586 21 21 Byte_t fFlags; // flag for the method which is used 22 22 Byte_t fNumMinNeighbors; 23 TString fNamePedPhotContainer; // name of the 'MPedPhotCam' container 23 24 24 25 enum … … 64 65 } 65 66 void SetNumMinNeighbors(Byte_t num) { fNumMinNeighbors=num; } 67 void SetNamePedPhotContainer(const char *name) { fNamePedPhotContainer = name; } 66 68 67 69
Note:
See TracChangeset
for help on using the changeset viewer.