Changeset 5946 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 01/23/05 13:49:09 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationHiLoCam.cc
r5749 r5946 139 139 *fLog << all 140 140 << Form("%s%4i%s%4.2f%s%4.2f%s%4.2f%s%4.2f","Pix ",pix->GetPixId(), 141 ": Ratio: ",pix->GetHiLo Ratio()," +- ",pix->GetHiLoRatioErr(),142 " Sigma: ",pix->GetHiLo Sigma()," +- ",pix->GetHiLoSigmaErr())141 ": Ratio: ",pix->GetHiLoChargeRatio()," +- ",pix->GetHiLoChargeRatioErr(), 142 " Sigma: ",pix->GetHiLoChargeRatioSigma()," +- ",pix->GetHiLoChargeRatioSigmaErr()) 143 143 << endl; 144 144 id++; … … 173 173 *fLog << all 174 174 << Form("%s%4i%s%4.2f%s%4.2f%s%4.2f%s%4.2f","Average Area ",pix->GetPixId(), 175 ": Ratio: ",pix->GetHiLo Ratio()," +- ",pix->GetHiLoRatioErr(),176 " Sigma: ",pix->GetHiLo Sigma()," +- ",pix->GetHiLoSigmaErr())175 ": Ratio: ",pix->GetHiLoChargeRatio()," +- ",pix->GetHiLoChargeRatioErr(), 176 " Sigma: ",pix->GetHiLoChargeRatioSigma()," +- ",pix->GetHiLoChargeRatioSigmaErr()) 177 177 << endl; 178 178 } … … 183 183 *fLog << all 184 184 << Form("%s%4i%s%4.2f%s%4.2f%s%4.2f%s%4.2f","Average Sector ",pix->GetPixId(), 185 ": Ratio: ",pix->GetHiLo Ratio()," +- ",pix->GetHiLoRatioErr(),186 " Sigma: ",pix->GetHiLo Sigma()," +- ",pix->GetHiLoSigmaErr())185 ": Ratio: ",pix->GetHiLoChargeRatio()," +- ",pix->GetHiLoChargeRatioErr(), 186 " Sigma: ",pix->GetHiLoChargeRatioSigma()," +- ",pix->GetHiLoChargeRatioSigmaErr()) 187 187 << endl; 188 188 } … … 225 225 if (pix.IsExcluded()) 226 226 return kFALSE; 227 val = pix.Get Mean();227 val = pix.GetHiLoChargeRatio(); 228 228 break; 229 229 case 1: 230 230 if (pix.IsExcluded()) 231 231 return kFALSE; 232 val = pix.Get MeanErr();232 val = pix.GetHiLoChargeRatioErr(); 233 233 break; 234 234 case 2: 235 235 if (pix.IsExcluded()) 236 236 return kFALSE; 237 val = pix.Get Sigma();237 val = pix.GetHiLoChargeRatioSigma(); 238 238 break; 239 239 case 3: 240 240 if (pix.IsExcluded()) 241 241 return kFALSE; 242 val = pix.Get SigmaErr();242 val = pix.GetHiLoChargeRatioSigmaErr(); 243 243 break; 244 244 case 4: 245 245 if (pix.IsExcluded()) 246 246 return kFALSE; 247 val = pix.GetProb(); 247 val = pix.GetHiLoChargeRatioProb(); 248 break; 249 case 5: 250 if (pix.IsExcluded()) 251 return kFALSE; 252 val = pix.GetHiLoTimeDiff(); 253 break; 254 case 6: 255 if (pix.IsExcluded()) 256 return kFALSE; 257 val = pix.GetHiLoTimeDiffErr(); 258 break; 259 case 7: 260 if (pix.IsExcluded()) 261 return kFALSE; 262 val = pix.GetHiLoTimeDiffSigma(); 263 break; 264 case 8: 265 if (pix.IsExcluded()) 266 return kFALSE; 267 val = pix.GetHiLoTimeDiffSigmaErr(); 268 break; 269 case 9: 270 if (pix.IsExcluded()) 271 return kFALSE; 272 val = pix.GetHiLoTimeDiffProb(); 248 273 break; 249 274 default: -
trunk/MagicSoft/Mars/mcalib/MCalibrationHiLoPix.h
r5749 r5946 15 15 ~MCalibrationHiLoPix() {} 16 16 17 Float_t GetHiLoRatio() const { return GetMean(); } 18 Float_t GetHiLoRatioErr() const { return GetMeanErr(); } 19 Float_t GetHiLoSigma() const { return GetSigma(); } 20 Float_t GetHiLoSigmaErr() const { return GetSigmaErr(); } 17 Float_t GetHiLoChargeRatio() const { return GetHiGainMean(); } 18 Float_t GetHiLoChargeRatioErr() const { return GetHiGainMeanErr(); } 19 Float_t GetHiLoChargeRatioSigma() const { return GetHiGainSigma(); } 20 Float_t GetHiLoChargeRatioSigmaErr() const { return GetHiGainSigmaErr(); } 21 Float_t GetHiLoChargeRatioProb() const { return GetHiGainProb(); } 22 23 Float_t GetHiLoTimeDiff() const { return GetLoGainMean(); } 24 Float_t GetHiLoTimeDiffErr() const { return GetLoGainMeanErr(); } 25 Float_t GetHiLoTimeDiffSigma() const { return GetLoGainSigma(); } 26 Float_t GetHiLoTimeDiffSigmaErr() const { return GetLoGainSigmaErr(); } 27 Float_t GetHiLoTimeDiffProb() const { return GetLoGainProb(); } 21 28 22 29 ClassDef(MCalibrationHiLoPix, 1) // Container HiLo conversion Calibration Results Pixel -
trunk/MagicSoft/Mars/mcalib/MCalibrationIntensityHiLoCam.cc
r5749 r5946 139 139 continue; 140 140 // 141 ratio[cnt] = relpix.GetHiLo Ratio();142 ratioerr[cnt] = relpix.GetHiLo RatioErr();141 ratio[cnt] = relpix.GetHiLoChargeRatio(); 142 ratioerr[cnt] = relpix.GetHiLoChargeRatioErr(); 143 143 // 144 144 sig [cnt] = pix.GetPheFFactorMethod(); … … 219 219 continue; 220 220 221 ratiool += relpix.GetHiLo Ratio();222 ratiool2 += relpix.GetHiLo Ratio()*relpix.GetHiLoRatio();221 ratiool += relpix.GetHiLoChargeRatio(); 222 ratiool2 += relpix.GetHiLoChargeRatio()*relpix.GetHiLoChargeRatio(); 223 223 num++; 224 224 }
Note:
See TracChangeset
for help on using the changeset viewer.