Changeset 4586
- Timestamp:
- 08/12/04 08:16:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4585 r4586 20 20 -*-*- END OF LINE -*-*- 21 21 22 2004/08/12: Hendrik Bartko 23 * msignal/MExtractor.[h,cc]: 24 - add SetNamePedContainer to set the name of the pedestal 25 container 26 27 * msignal/MExtractTime.[h,cc]: 28 - add SetNamePedContainer to set the name of the pedestal 29 container 30 31 * mbadpixels/MBadPixelsCalc.[h,cc] 32 - add SetNamePedPhotContainer to set the name of the pedphot 33 container 34 35 * mbadpixels/MBadPixelsTreat.[h,cc] 36 - add SetNamePedPhotContainer to set the name of the pedphot 37 container 38 39 * mimage/MImgCleanStd.[h,cc] 40 - add SetNamePedPhotContainer to set the name of the pedphot 41 container 22 42 23 43 -
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 -
trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc
r4526 r4586 291 291 const char *name, const char *title) 292 292 : fCleaningMethod(kStandard), fCleanLvl1(lvl1), 293 fCleanLvl2(lvl2), fCleanRings(1)293 fCleanLvl2(lvl2), fCleanRings(1), fNamePedPhotContainer("MPedPhotCam") 294 294 295 295 { … … 510 510 } 511 511 512 fPed = (MPedPhotCam*)pList->FindObject( AddSerialNumber("MPedPhotCam"));512 fPed = (MPedPhotCam*)pList->FindObject(fNamePedPhotContainer, AddSerialNumber("MPedPhotCam")); 513 513 if (!fPed) 514 514 { -
trunk/MagicSoft/Mars/mimage/MImgCleanStd.h
r4452 r4586 38 38 39 39 Float_t fInnerNoise; //! 40 TString fNamePedPhotContainer; // name of the 'MPedPhotCam' container 41 40 42 41 43 void CreateGuiElements(MGGroupFrame *f); … … 65 67 66 68 Bool_t ProcessMessage(Int_t msg, Int_t submsg, Long_t param1, Long_t param2); 69 void SetNamePedPhotContainer(const char *name) { fNamePedPhotContainer = name; } 67 70 68 71 ClassDef(MImgCleanStd, 2) // task doing the image cleaning -
trunk/MagicSoft/Mars/msignal/MExtractTime.cc
r4064 r4586 83 83 // 84 84 MExtractTime::MExtractTime(const char *name, const char *title) 85 : fArrTime(NULL)85 : fArrTime(NULL), fNamePedContainer("MPedestalCam") 86 86 { 87 87 … … 129 129 130 130 131 fPedestals = (MPedestalCam*)pList->FindObject( AddSerialNumber("MPedestalCam"));131 fPedestals = (MPedestalCam*)pList->FindObject(fNamePedContainer, AddSerialNumber("MPedestalCam")); 132 132 if (!fPedestals) 133 133 { -
trunk/MagicSoft/Mars/msignal/MExtractTime.h
r4273 r4586 18 18 19 19 MArrivalTimeCam *fArrTime; // Container with the photons arrival times 20 TString fNamePedContainer; // name of the 'MPedestalCam' container 20 21 22 21 23 virtual Int_t PreProcess(MParList *pList); 22 24 virtual Bool_t ReInit(MParList *pList); … … 33 35 34 36 void SetOffsetLoGain( const Float_t f=fgOffsetLoGain) { fOffsetLoGain = f; } 37 void SetNamePedContainer(const char *name) { fNamePedContainer = name; } 38 35 39 36 40 ClassDef(MExtractTime, 0) // Arrival Time Extractor Base Class -
trunk/MagicSoft/Mars/msignal/MExtractor.cc
r4538 r4586 91 91 : fPedestals(NULL), fSignals(NULL), fRawEvt(NULL), fRunHeader(NULL), 92 92 fHiLoLast(0), fNumHiGainSamples(0.), fNumLoGainSamples(0.), 93 fSaturationLimit(fgSaturationLimit) 93 fSaturationLimit(fgSaturationLimit), fNamePedContainer("MPedestalCam") 94 94 { 95 95 fName = name ? name : "MExtractor"; … … 143 143 return kFALSE; 144 144 145 fPedestals = (MPedestalCam*)pList->FindObject( AddSerialNumber("MPedestalCam"));145 fPedestals = (MPedestalCam*)pList->FindObject(fNamePedContainer, AddSerialNumber("MPedestalCam")); 146 146 if (!fPedestals) 147 147 { -
trunk/MagicSoft/Mars/msignal/MExtractor.h
r4368 r4586 46 46 47 47 Byte_t fSaturationLimit; 48 TString fNamePedContainer; // name of the 'MPedestalCam' container 48 49 49 50 virtual void FindSignalHiGain(Byte_t *firstused, Byte_t *lowgain, Float_t &sum, Byte_t &sat) const { } … … 68 69 virtual void SetRange (Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0); 69 70 void SetSaturationLimit(Byte_t lim=fgSaturationLimit) { fSaturationLimit = lim; } 71 void SetNamePedContainer(const char *name) { fNamePedContainer = name; } 70 72 71 73 ClassDef(MExtractor, 0) // Signal Extractor Base Class
Note:
See TracChangeset
for help on using the changeset viewer.