Changeset 7354 for trunk/MagicSoft/Mars
- Timestamp:
- 09/16/05 12:04:53 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7353 r7354 26 26 interpolation but was never used 27 27 28 * mcalib/MCalibrateData.cc :28 * mcalib/MCalibrateData.cc : 29 29 - removed an obsolete calibConv=-1 in case the pixel is unsuitable 30 30 (UpdateConversionFactors) … … 40 40 depending on the flag IsLoGainUsed() 41 41 42 * msignal/MSignalPix.h: 43 - removed '!' from fRing data member to allow the status unmapped 44 to be stored after the badpixel treatment 45 - increased version number 46 - removed some obsolete comments 47 - added Copy() member function 48 42 49 43 50 … … 65 72 66 73 * mbase/MStatusDisplay.[h,cc]: 67 - a simple improvement to t ehusage of DrawClonePad.74 - a simple improvement to the usage of DrawClonePad. 68 75 69 76 * mgui/MCamEvent.[h,cc]: -
trunk/MagicSoft/Mars/NEWS
r7349 r7354 3 3 *** Version <cvs> 4 4 5 *general: added new tutorial macro macros/tutorials/threshold.C:5 - general: added new tutorial macro macros/tutorials/threshold.C: 6 6 how to calculate the threshold 7 7 8 * general: added a new game. Start it from the interpreter with 9 MagicJam j; 10 11 * callisto: MBadPixelsCalc now raises an error instead of simply stopping 8 - general: added a new game. Start it from the interpreter with 9 MagicJam j; (other games are: MineSweeper, MagicSnake, MagicDomino 10 and MagicReversi) 11 12 - callisto: MBadPixelsCalc now raises an error instead of simply stopping 12 13 the eventloop if something went wrong. This is necessary for the 13 14 automatic processing 14 15 15 *callisto: Fixed a bug in the treatment of times in the bad pixel16 - callisto: Fixed a bug in the treatment of times in the bad pixel 16 17 treatment. No neighbors have been taken into account, the new 17 18 arrival time was always calculated by the pixels 0 to 5. 18 19 19 * callisto: Fixed a bug which caused the random and peak-search pedestal 20 - callisto: The status "unmapped" (for pixel which cannot be interpolated) 21 got lost when the events were stored by the calibration... fixed. 22 23 - callisto: Fixed a bug which caused the random and peak-search pedestal 20 24 extracted with an extractor to be exchanged for the first (roughly) 21 500 events. (The were simpleexchanged in callisto.cc) This bug might25 500 events. (They were simply exchanged in callisto.cc) This bug might 22 26 have been introduced in Mars 0.9.4 when the order of calculation of the 23 27 two types of pedestal in callisto got exchanged. The bug only effects -
trunk/MagicSoft/Mars/msignal/MSignalPix.h
r6856 r7354 13 13 private: 14 14 Bool_t fIsCore; //! the pixel is a Core pixel -> kTRUE 15 Short_t fRing; // !NT: number of analyzed rings around the core pixels, fRing>0 means: used, fRing= 0 means: unused, fRing= -1 means: unmapped (no possible to use in the calculation of the image parameters)15 Short_t fRing; // NT: number of analyzed rings around the core pixels, fRing>0 means: used, fRing= 0 means: unused, fRing= -1 means: unmapped (no possible to use in the calculation of the image parameters) 16 16 Short_t fIdxIsland; //! the pixel is a Core pixel -> kTRUE 17 17 … … 19 19 Float_t fErrPhot; // the error of fPhot 20 20 Float_t fArrivalTime; // Calibrated Arrival Time 21 // FIXME: arrival time t, and it's error sigma t22 21 23 22 public: 24 MSignalPix( /*Int_t pix=-1,*/Float_t phot=0, Float_t errphot=0);23 MSignalPix(Float_t phot=0, Float_t errphot=0); 25 24 26 25 void Clear(Option_t *o=0); 26 void Copy(TObject &obj) const 27 { 28 MSignalPix &pix = (MSignalPix&)obj; 29 pix.fIsCore = fIsCore; 30 pix.fRing = fRing; 31 pix.fIdxIsland = fIdxIsland; 32 pix.fPhot = fPhot; 33 pix.fErrPhot = fErrPhot; 34 } 27 35 28 36 Float_t GetNumPhotons() const { return fPhot; } … … 32 40 Bool_t IsPixelUsed() const { return fRing>0; } 33 41 Bool_t IsPixelUnmapped() const { return fRing==-1; } 34 void SetPixelUnused() { fRing=0; }35 void SetPixelUsed() { fRing=1; }36 void SetPixelUnmapped() { fRing=-1; }42 void SetPixelUnused() { fRing=0; } 43 void SetPixelUsed() { fRing=1; } 44 void SetPixelUnmapped() { fRing=-1; } 37 45 void SetIdxIsland(Short_t num) { fIdxIsland=num; } 38 46 Short_t GetIdxIsland() const { return fIdxIsland; } … … 44 52 Bool_t IsPixelCore() const { return fIsCore; } 45 53 46 void SetNumPhotons(Float_t f) { MMath::ReducePrecision(f); fPhot 54 void SetNumPhotons(Float_t f) { MMath::ReducePrecision(f); fPhot = f; } 47 55 void SetErrorPhot(Float_t f) { MMath::ReducePrecision(f); fErrPhot = f; } 48 56 void Set(Float_t np, Float_t ep) { MMath::ReducePrecision(np); MMath::ReducePrecision(ep); fPhot = np; fErrPhot = ep; } … … 56 64 Bool_t IsSortable() const { return kTRUE; } 57 65 58 ClassDef(MSignalPix, 6) // class containing information about the Cerenkov Photons in a pixel66 ClassDef(MSignalPix, 7) // class containing information about the Cerenkov Photons in a pixel 59 67 }; 60 68
Note:
See TracChangeset
for help on using the changeset viewer.