- Timestamp:
- 05/26/04 11:26:19 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4189 r4190 30 30 * mjobs/MJExtractCalibTest.[h,cc] 31 31 - don't derive from MGCamDisplays any more. 32 33 34 * msignal/MExtractBlindPixel.cc 35 - adjusted some default numbers for the current blind pixel 36 37 * msignal/MExtractedSignalBlindPixel.[h,cc] 38 - set extracted signal from UInt_t to Int_t (sometimes, less than 39 0) 32 40 33 41 -
trunk/MagicSoft/Mars/mjobs/JobsLinkDef.h
r3855 r4190 10 10 #pragma link C++ class MJExtractCalibTest+; 11 11 12 #pragma link C++ class MGCamDisplays+;13 14 12 #endif -
trunk/MagicSoft/Mars/mjobs/Makefile
r3982 r4190 28 28 MJCalibration.cc \ 29 29 MJExtractSignal.cc \ 30 MJExtractCalibTest.cc \ 31 MGCamDisplays.cc 30 MJExtractCalibTest.cc 32 31 33 32 ############################################################ -
trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc
r3962 r4190 63 63 64 64 const Int_t MExtractBlindPixel::fgBlindPixelIdx = 559; 65 const Int_t MExtractBlindPixel::fgNSBFilterLimit = 800;66 const Byte_t MExtractBlindPixel::fgHiGainFirst = 1 2;65 const Int_t MExtractBlindPixel::fgNSBFilterLimit = 100; 66 const Byte_t MExtractBlindPixel::fgHiGainFirst = 10; 67 67 const Byte_t MExtractBlindPixel::fgHiGainLast = 29; 68 68 const Byte_t MExtractBlindPixel::fgLoGainFirst = 0; 69 const Byte_t MExtractBlindPixel::fgLoGainLast = 10;69 const Byte_t MExtractBlindPixel::fgLoGainLast = 7; 70 70 // -------------------------------------------------------------------------- 71 71 // … … 168 168 if (fHiLoLast == 0) 169 169 return; 170 170 171 171 172 end = logain + fHiLoLast; … … 173 174 { 174 175 sum += *logain; 175 176 176 177 if (*logain++ >= fSaturationLimit) 177 178 sat++; … … 233 234 sat = 0; 234 235 235 FindSignalHiGain(pixel.GetHiGainSamples()+f LoGainFirst, pixel.GetLoGainSamples(), sum, sat);236 FindSignalHiGain(pixel.GetHiGainSamples()+fHiGainFirst, pixel.GetLoGainSamples(), sum, sat); 236 237 237 238 fBlindPixel->SetExtractedSignal(sum); -
trunk/MagicSoft/Mars/msignal/MExtractedSignalBlindPixel.cc
r3322 r4190 40 40 using namespace std; 41 41 42 static const UInt_t gkSignalInitializer = 99999;42 static const Int_t gkSignalInitializer = 99999; 43 43 44 44 // ------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/msignal/MExtractedSignalBlindPixel.h
r3322 r4190 12 12 private: 13 13 14 UInt_t fExtractedSignal; // mean value of the extracted signal14 Int_t fExtractedSignal; // mean value of the extracted signal 15 15 16 16 Byte_t fFirst; … … 33 33 34 34 // Setter 35 void SetExtractedSignal(const UInt_t sig ) { fExtractedSignal = sig; }35 void SetExtractedSignal(const Int_t sig ) { fExtractedSignal = sig; } 36 36 void SetNumSaturated( const Byte_t numsat ) { fNumSaturated = numsat; } 37 37 void SetUsedFADCSlices( const Byte_t first, const Byte_t num); … … 46 46 47 47 // Getter 48 UInt_tGetExtractedSignal() const { return fExtractedSignal; }48 Int_t GetExtractedSignal() const { return fExtractedSignal; } 49 49 Byte_t GetNumFADCSamples() const { return fNumFADCSamples; } 50 50 Int_t GetBlindPixelIdx() const { return fBlindPixelIdx; }
Note:
See TracChangeset
for help on using the changeset viewer.