Changeset 3243
- Timestamp:
- 02/19/04 21:44:24 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3242 r3243 12 12 - standardized naming of variables containing "Error", this also affected 13 13 the calling functions MCalibrate, MMcCalibrationUpdate and MCalibrateData 14 15 * mcalib/MCalibrationCam.cc 16 * mcalib/MCalibrationConfig.h 17 - took out some configuration numbers and put them directly into 18 the class 14 19 15 20 -
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.cc
r3242 r3243 141 141 const Float_t MCalibrationCam::gkBlindPixelArea = 100; 142 142 const Float_t MCalibrationCam::gkPINDiodeArea = 100; 143 // Average QE of Blind Pixel (three colours) 144 const Float_t MCalibrationCam::gkCalibrationBlindPixelQEGreen = 0.154; 145 const Float_t MCalibrationCam::gkCalibrationBlindPixelQEBlue = 0.226; 146 const Float_t MCalibrationCam::gkCalibrationBlindPixelQEUV = 0.247; 147 const Float_t MCalibrationCam::gkCalibrationBlindPixelQECT1 = 0.247; 148 // Average QE Error of Blind Pixel (three colours) 149 const Float_t MCalibrationCam::gkCalibrationBlindPixelQEGreenErr = 0.015; 150 const Float_t MCalibrationCam::gkCalibrationBlindPixelQEBlueErr = 0.02; 151 const Float_t MCalibrationCam::gkCalibrationBlindPixelQEUVErr = 0.02; 152 const Float_t MCalibrationCam::gkCalibrationBlindPixelQECT1Err = 0.02; 153 // Attenuation factor Blind Pixel (three colours) 154 const Float_t MCalibrationCam::gkCalibrationBlindPixelAttGreen = 1.97; 155 const Float_t MCalibrationCam::gkCalibrationBlindPixelAttBlue = 1.96; 156 const Float_t MCalibrationCam::gkCalibrationBlindPixelAttUV = 1.95; 157 const Float_t MCalibrationCam::gkCalibrationBlindPixelAttCT1 = 1.95; 158 159 143 160 144 161 // -------------------------------------------------------------------------- … … 841 858 case kECGreen: 842 859 fMeanFluxInsidePlexiglass /= gkCalibrationBlindPixelQEGreen; 843 fMeanFluxErrInsidePlexiglass += gkCalibrationBlindPixelQEGreenErr or*gkCalibrationBlindPixelQEGreenError860 fMeanFluxErrInsidePlexiglass += gkCalibrationBlindPixelQEGreenErr*gkCalibrationBlindPixelQEGreenErr 844 861 / gkCalibrationBlindPixelQEGreen / gkCalibrationBlindPixelQEGreen; 845 862 … … 849 866 case kECBlue: 850 867 fMeanFluxInsidePlexiglass /= gkCalibrationBlindPixelQEBlue; 851 fMeanFluxErrInsidePlexiglass += gkCalibrationBlindPixelQEBlueErr or*gkCalibrationBlindPixelQEBlueError868 fMeanFluxErrInsidePlexiglass += gkCalibrationBlindPixelQEBlueErr*gkCalibrationBlindPixelQEBlueErr 852 869 / gkCalibrationBlindPixelQEBlue / gkCalibrationBlindPixelQEBlue; 853 870 … … 857 874 case kECUV: 858 875 fMeanFluxInsidePlexiglass /= gkCalibrationBlindPixelQEUV; 859 fMeanFluxErrInsidePlexiglass += gkCalibrationBlindPixelQEUVErr or*gkCalibrationBlindPixelQEUVError876 fMeanFluxErrInsidePlexiglass += gkCalibrationBlindPixelQEUVErr*gkCalibrationBlindPixelQEUVErr 860 877 / gkCalibrationBlindPixelQEUV / gkCalibrationBlindPixelQEUV; 861 878 … … 866 883 default: 867 884 fMeanFluxInsidePlexiglass /= gkCalibrationBlindPixelQECT1; 868 fMeanFluxErrInsidePlexiglass += gkCalibrationBlindPixelQECT1Err or*gkCalibrationBlindPixelQECT1Error885 fMeanFluxErrInsidePlexiglass += gkCalibrationBlindPixelQECT1Err*gkCalibrationBlindPixelQECT1Err 869 886 / gkCalibrationBlindPixelQECT1 / gkCalibrationBlindPixelQECT1; 870 887 … … 956 973 // Start calculation of number of photons relative Variance (!!) 957 974 fMeanFluxErrOutsidePlexiglass = merr*merr/mean/mean; 958 fMeanFluxErrOutsidePlexiglass += gkCalibrationFluxCameravsPINDiodeErr or*gkCalibrationFluxCameravsPINDiodeError975 fMeanFluxErrOutsidePlexiglass += gkCalibrationFluxCameravsPINDiodeErr*gkCalibrationFluxCameravsPINDiodeErr 959 976 / gkCalibrationFluxCameravsPINDiode/gkCalibrationFluxCameravsPINDiode; 960 977 … … 963 980 case kECGreen: 964 981 fMeanFluxOutsidePlexiglass /= gkCalibrationPINDiodeQEGreen; 965 fMeanFluxErrOutsidePlexiglass += gkCalibrationPINDiodeQEGreenErr or*gkCalibrationPINDiodeQEGreenError982 fMeanFluxErrOutsidePlexiglass += gkCalibrationPINDiodeQEGreenErr*gkCalibrationPINDiodeQEGreenErr 966 983 / gkCalibrationPINDiodeQEGreen/gkCalibrationPINDiodeQEGreen; 967 984 break; 968 985 case kECBlue: 969 986 fMeanFluxOutsidePlexiglass /= gkCalibrationPINDiodeQEBlue; 970 fMeanFluxErrOutsidePlexiglass += gkCalibrationPINDiodeQEBlueErr or*gkCalibrationPINDiodeQEBlueError987 fMeanFluxErrOutsidePlexiglass += gkCalibrationPINDiodeQEBlueErr*gkCalibrationPINDiodeQEBlueErr 971 988 / gkCalibrationPINDiodeQEBlue/gkCalibrationPINDiodeQEBlue; 972 989 break; 973 990 case kECUV: 974 991 fMeanFluxOutsidePlexiglass /= gkCalibrationPINDiodeQEUV; 975 fMeanFluxErrOutsidePlexiglass += gkCalibrationPINDiodeQEUVErr or*gkCalibrationPINDiodeQEUVError992 fMeanFluxErrOutsidePlexiglass += gkCalibrationPINDiodeQEUVErr*gkCalibrationPINDiodeQEUVErr 976 993 / gkCalibrationPINDiodeQEUV/gkCalibrationPINDiodeQEUV; 977 994 break; … … 979 996 default: 980 997 fMeanFluxOutsidePlexiglass /= gkCalibrationPINDiodeQECT1; 981 fMeanFluxErrOutsidePlexiglass += gkCalibrationPINDiodeQECT1Err or*gkCalibrationPINDiodeQECT1Error998 fMeanFluxErrOutsidePlexiglass += gkCalibrationPINDiodeQECT1Err*gkCalibrationPINDiodeQECT1Err 982 999 / gkCalibrationPINDiodeQECT1/gkCalibrationPINDiodeQECT1; 983 1000 break; -
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
r3077 r3243 25 25 static const Float_t gkBlindPixelArea; // The Blind Pixel area in mm^2 26 26 static const Float_t gkPINDiodeArea; // The Blind Pixel area in mm^2 27 28 static const Float_t gkCalibrationBlindPixelQEGreen; 29 static const Float_t gkCalibrationBlindPixelQEBlue ; 30 static const Float_t gkCalibrationBlindPixelQEUV ; 31 static const Float_t gkCalibrationBlindPixelQECT1 ; 32 33 static const Float_t gkCalibrationBlindPixelQEGreenErr; 34 static const Float_t gkCalibrationBlindPixelQEBlueErr ; 35 static const Float_t gkCalibrationBlindPixelQEUVErr ; 36 static const Float_t gkCalibrationBlindPixelQECT1Err ; 37 38 static const Float_t gkCalibrationBlindPixelAttGreen; 39 static const Float_t gkCalibrationBlindPixelAttBlue ; 40 static const Float_t gkCalibrationBlindPixelAttUV ; 41 static const Float_t gkCalibrationBlindPixelAttCT1 ; 27 42 28 43 Int_t fNumPixels; -
trunk/MagicSoft/Mars/mcalib/MCalibrationConfig.h
r3192 r3243 11 11 // 12 12 ///////////////////////////////////////////////////////////////////////////// 13 // ----- BLIND PIXEL ----------------------//14 15 // Average QE of Blind Pixel (three colours)16 const Float_t gkCalibrationBlindPixelQEGreen = 0.154;17 const Float_t gkCalibrationBlindPixelQEBlue = 0.226;18 const Float_t gkCalibrationBlindPixelQEUV = 0.247;19 const Float_t gkCalibrationBlindPixelQECT1 = 0.247;20 21 // Average QE Error of Blind Pixel (three colours)22 const Float_t gkCalibrationBlindPixelQEGreenError = 0.015;23 const Float_t gkCalibrationBlindPixelQEBlueError = 0.02;24 const Float_t gkCalibrationBlindPixelQEUVError = 0.02;25 const Float_t gkCalibrationBlindPixelQECT1Error = 0.02;26 27 // Attenuation factor Blind Pixel (three colours)28 const Float_t gkCalibrationBlindPixelAttGreen = 1.97;29 const Float_t gkCalibrationBlindPixelAttBlue = 1.96;30 const Float_t gkCalibrationBlindPixelAttUV = 1.95;31 const Float_t gkCalibrationBlindPixelAttCT1 = 1.95;32 33 const Float_t gkCalibrationOutervsInnerPixelArea = 4.0;34 const Float_t gkCalibrationOutervsInnerPixelAreaError = 0.2;35 36 13 // ----- PIN DIODE ------------------------// 37 14 … … 53 30 // 54 31 const Float_t gkCalibrationFluxCameravsPINDiode = 0.007; 55 const Float_t gkCalibrationFluxCameravsPINDiodeErr or= 0.003;32 const Float_t gkCalibrationFluxCameravsPINDiodeErr = 0.003; 56 33 57 34 // … … 66 43 // Average QE of the PIN Diode 67 44 // 68 const Float_t gkCalibrationPINDiodeQEGreenErr or= -1.0;69 const Float_t gkCalibrationPINDiodeQEBlueErr or= -1.0;70 const Float_t gkCalibrationPINDiodeQEUVErr or= -1.0;71 const Float_t gkCalibrationPINDiodeQECT1Err or= -1.0;45 const Float_t gkCalibrationPINDiodeQEGreenErr = -1.0; 46 const Float_t gkCalibrationPINDiodeQEBlueErr = -1.0; 47 const Float_t gkCalibrationPINDiodeQEUVErr = -1.0; 48 const Float_t gkCalibrationPINDiodeQECT1Err = -1.0; 72 49 73 50 #endif /* MARS_MCalibrationConfig */
Note:
See TracChangeset
for help on using the changeset viewer.