Changeset 5126 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 09/24/04 16:01:33 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationBlindCamTwoNewStyle.cc
r4986 r5126 54 54 : MCalibrationBlindCam(2,name,"Two Blind Pixels in camera - new style") 55 55 { 56 57 56 CreatePixs (); 58 57 CreateAreas (); … … 60 59 CreateQEs (); 61 60 CreateCollEffs(); 62 63 61 } 64 62 … … 83 81 { 84 82 85 MCalibrationBlindPix &pix = (MCalibrationBlindPix&)(*this)[0];86 pix .SetArea(100.);87 88 pix= (MCalibrationBlindPix&)(*this)[1];89 pix .SetArea(100.);90 91 } 83 MCalibrationBlindPix &pix0 = (MCalibrationBlindPix&)(*this)[0]; 84 pix0.SetArea(100.); 85 86 MCalibrationBlindPix &pix1 = (MCalibrationBlindPix&)(*this)[1]; 87 pix1.SetArea(100.); 88 } 89 92 90 93 91 // -------------------------------------------------------------------------- … … 99 97 { 100 98 101 MCalibrationBlindPix &pix = (MCalibrationBlindPix&)(*this)[0];99 MCalibrationBlindPix &pix0 = (MCalibrationBlindPix&)(*this)[0]; 102 100 103 101 Float_t qe[4]; … … 108 106 qe[ MCalibrationCam::kCT1 ] = 0.273; 109 107 110 pix .SetQE(4,qe);108 pix0.SetQE(4,qe); 111 109 112 110 Float_t qeerr[4]; … … 117 115 qeerr[ MCalibrationCam::kCT1 ] = 0.006; 118 116 119 pix .SetQEErr(4,qeerr);120 121 pix= (MCalibrationBlindPix&)(*this)[1];117 pix0.SetQEErr(4,qeerr); 118 119 MCalibrationBlindPix &pix1 = (MCalibrationBlindPix&)(*this)[1]; 122 120 123 121 qe[ MCalibrationCam::kGREEN ] = 0.155; … … 126 124 qe[ MCalibrationCam::kCT1 ] = 0.261; 127 125 128 pix .SetQE(4,qe);126 pix1.SetQE(4,qe); 129 127 130 128 qeerr[ MCalibrationCam::kGREEN ] = 0.004; … … 133 131 qeerr[ MCalibrationCam::kCT1 ] = 0.006; 134 132 135 pix .SetQEErr(4,qeerr);133 pix1.SetQEErr(4,qeerr); 136 134 137 135 } … … 145 143 { 146 144 147 MCalibrationBlindPix &pix = (MCalibrationBlindPix&)(*this)[0];145 MCalibrationBlindPix &pix0 = (MCalibrationBlindPix&)(*this)[0]; 148 146 149 147 Float_t colleff[4]; … … 154 152 colleff[ MCalibrationCam::kCT1 ] = 0.90; 155 153 156 pix .SetCollEff(4,colleff);154 pix0.SetCollEff(4,colleff); 157 155 158 156 Float_t collefferr[4]; … … 163 161 collefferr[ MCalibrationCam::kCT1 ] = 0.05; 164 162 165 pix .SetCollEffErr(4,collefferr);166 167 pix= (MCalibrationBlindPix&)(*this)[1];163 pix0.SetCollEffErr(4,collefferr); 164 165 MCalibrationBlindPix &pix1 = (MCalibrationBlindPix&)(*this)[1]; 168 166 169 167 colleff[ MCalibrationCam::kGREEN ] = 0.99; … … 172 170 colleff[ MCalibrationCam::kCT1 ] = 0.90; 173 171 174 pix .SetCollEff(4,colleff);172 pix1.SetCollEff(4,colleff); 175 173 176 174 collefferr[ MCalibrationCam::kGREEN ] = 0.05; … … 179 177 collefferr[ MCalibrationCam::kCT1 ] = 0.05; 180 178 181 pix .SetCollEffErr(4,collefferr);179 pix1.SetCollEffErr(4,collefferr); 182 180 } 183 181 … … 193 191 { 194 192 195 MCalibrationBlindPix &pix = (MCalibrationBlindPix&)(*this)[0];193 MCalibrationBlindPix &pix0 = (MCalibrationBlindPix&)(*this)[0]; 196 194 197 195 Float_t att[4]; … … 202 200 att[MCalibrationCam::kCT1 ] = 1.95; 203 201 204 pix .SetAtt(4,att);202 pix0.SetAtt(4,att); 205 203 206 204 Float_t atterr[4]; … … 211 209 atterr[ MCalibrationCam::kCT1 ] = 0.01; 212 210 213 pix .SetAttErr(4,atterr);214 215 pix= (MCalibrationBlindPix&)(*this)[1];211 pix0.SetAttErr(4,atterr); 212 213 MCalibrationBlindPix &pix1 = (MCalibrationBlindPix&)(*this)[1]; 216 214 217 215 att[MCalibrationCam::kGREEN ] = 3.00; … … 220 218 att[MCalibrationCam::kCT1 ] = 3.00; 221 219 222 pix .SetAtt(4,att);220 pix1.SetAtt(4,att); 223 221 224 222 atterr[ MCalibrationCam::kGREEN ] = 0.15; … … 227 225 atterr[ MCalibrationCam::kCT1 ] = 0.15; 228 226 229 pix .SetAttErr(4,atterr);230 231 } 232 227 pix1.SetAttErr(4,atterr); 228 229 } 230
Note:
See TracChangeset
for help on using the changeset viewer.