Changeset 7005 for trunk/MagicSoft/Mars/mcalib/MMcCalibrationCalc.cc
- Timestamp:
- 05/10/05 12:13:12 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MMcCalibrationCalc.cc
r4710 r7005 242 242 { 243 243 // 244 // Exclude events with some saturated pixel244 // Exclude events with some high-gain saturated pixel 245 245 // 246 246 if (fPar->GetNumSatPixelsHG()>0) … … 266 266 // 267 267 268 const Float_t inner_photel = (Float_t) fMcEvt->GetPhotElfromShower() * innersize / size; 269 const Float_t outer_photel = (Float_t) fMcEvt->GetPhotElfromShower() - inner_photel; 270 271 const Float_t corrected_photel = inner_photel + outer_photel / fOuterPixelsLightCollection; 272 273 274 // fHistADC2PhotEl->Fill(TMath::Log10(fMcEvt->GetPhotElfromShower()/size)); 268 const Float_t corrected_photel = (Float_t) fMcEvt->GetPhotElfromShower() / 269 (fOuterPixelsLightCollection + innersize / size * (1. - fOuterPixelsLightCollection)); 275 270 276 271 fHistADC2PhotEl->Fill(TMath::Log10(corrected_photel/size));
Note:
See TracChangeset
for help on using the changeset viewer.