Changeset 2971
- Timestamp:
- 01/30/04 10:16:10 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2970 r2971 16 16 - include storage of number of used FADC slices to compare later 17 17 the pedestal per slice ( and sigma per slice_ 18 19 * mcalib/MCalibrationCalc.[h,cc] 20 - fBlindPixelId and fPINDiodeId now like in PedestalCam 21 - fill Blind Pixel with information about its fitted pedestal if 22 available 23 18 24 19 25 2004/01/29: Abelardo Moralejo -
trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.cc
r2951 r2971 230 230 MExtractedSignalPix &sig = (*fSignals)[idx]; 231 231 const Float_t signal = sig.GetExtractedSignalHiGain(); 232 const Float_t signalPerSlice = signal/(Float_t)fSignals->GetNumUsedFADCSlices(); 233 (*fPedestals)[idx].FillHists(signalPerSlice); 232 (*fPedestals)[idx].FillHists(signal); 234 233 } 235 234 } … … 248 247 Int_t MPedCalcPedRun::PostProcess() 249 248 { 249 250 250 // Compute pedestals and rms from the whole run 251 251 const ULong_t n = fNumSamplesTot; … … 278 278 } 279 279 280 fPedestals->SetNumTotSlices(fNumSamplesTot); 281 282 if (fUseHists) 283 fPedestals->SetNumExtractSlices(fSignals->GetNumUsedHiGainFADCSlices()); 284 280 285 return kTRUE; 281 286 } -
trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.h
r2956 r2971 39 39 private: 40 40 41 static const Int_t fBlindPixelId; // ID of the blind pixel 42 static const Int_t fPINDiodeId; // ID of the PIN Diode 43 41 44 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 42 45 MCalibrationCam *fCalibrations; // Calibration events of all pixels in the camera … … 50 53 MTime *fEvtTime; // Time of the event 51 54 52 enum { kBlindPixelId = 559, // ID of the blind pixel53 kPINDiodeId = 9999}; // ID of the PIN Diode54 55 55 Int_t fEvents; // Number of events 56 56 Int_t fCosmics; // Number of events due to supposed cosmics
Note:
See TracChangeset
for help on using the changeset viewer.