Changeset 3908
- Timestamp:
- 04/30/04 14:50:27 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3907 r3908 20 20 2004/04/30: Markus Gaug 21 21 22 * mcalib/MHCalibrationRelTimePix.[h,cc] 23 - take out commented part of code related to re-normalization 24 22 25 * mcalib/MHCalibrationCam.[h,cc] 23 26 - retrieve the used run numbers in order to store them in teh -
trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimePix.cc
r3840 r3908 31 31 // pixel number 1 (hardware index: 2). Times are taken from MArrivalTimePix 32 32 // 33 // Results are re-normalized to a value per time (ns) with the formulae:34 //35 // - Mean Rel. Time = Mean Rel. Time * fFADCSliceWidth36 // - Mean Rel. Time Error = Mean Rel. Time Error * fFADCSliceWidth37 // - Sigma Rel. Time = Sigma Rel. Time * fFADCSliceWidth38 // - Sigma Rel. Time Error = Sigma Rel. Time Error * fFADCSliceWidth39 //40 33 ////////////////////////////////////////////////////////////////////////////// 41 34 #include "MHCalibrationRelTimePix.h" … … 95 88 } 96 89 97 // --------------------------------------------------------------------------98 //99 // If mean and sigma have not yet been set, returns.100 //101 // HAS BEEN COMMENTED IN ORDER TO ALLOW FURTHER CALIBRATION OF OFFSETS IN DATA102 // RETURNS ALWAYS WITHOUT RENORMALIZING!!103 // Results are re-normalized to a value per time (ns) with the formulae:104 //105 // - Mean Rel. Time = Mean Rel. Time * fFADCSliceWidth106 // - Mean Rel. Time Error = Mean Rel. Time Error * fFADCSliceWidth107 // - Sigma Rel. Time = Sigma Rel. Time * fFADCSliceWidth108 // - Sigma Rel. Time Error = Sigma Rel. Time Error * fFADCSliceWidth109 //110 void MHCalibrationRelTimePix::Renorm()111 {112 113 /*114 if (fMean == fMeanErr == fSigma == fSigmaErr == 0.)115 return;116 117 fMean *= fFADCSliceWidth;118 fMeanErr *= fFADCSliceWidth;119 fSigma *= fFADCSliceWidth;120 fSigmaErr*= fFADCSliceWidth;121 */122 } -
trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimePix.h
r3840 r3908 16 16 static const Float_t fgFADCSliceWidth; //! Default for fFADCSliceWidth (now set to: 3.333) 17 17 18 Float_t fFADCSliceWidth; 18 Float_t fFADCSliceWidth; // Time FADC Slice Width in ns. 19 19 20 20 public: … … 30 30 31 31 void Reset(); 32 void Renorm();33 32 34 33 ClassDef(MHCalibrationRelTimePix, 1) // Histogram class for Relative Time Pixel Calibration
Note:
See TracChangeset
for help on using the changeset viewer.