Changeset 3029 for trunk/MagicSoft/Mars/mcalib/MCalibrationCam.cc
- Timestamp:
- 02/05/04 17:28:52 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.cc
r3012 r3029 267 267 { 268 268 269 Float_t rsigma = pix->GetRSigmaSquare();270 if (rsigma > 0.)271 rsigma = TMath::Sqrt(rsigma);272 273 269 *fLog << all << pix->GetPixId() << " Pedestals: " << pix->GetPed() << " +- " 274 270 << pix->GetPedRms() << " Reduced Charge: " << pix->GetCharge() << " +- " 275 << pix->GetSigmaCharge() << " Reduced Sigma: " << rsigma271 << pix->GetSigmaCharge() << " Reduced Sigma: " << pix->GetRSigmaCharge() 276 272 << " Nr Phe's: " << pix->GetPheFFactorMethod() << endl; 277 273 id++; 278 274 } 279 275 } … … 293 289 { 294 290 295 Float_t rsigma = pix->GetRSigmaSquare();296 if (rsigma > 0.)297 rsigma = TMath::Sqrt(rsigma);298 299 291 *fLog << all << pix->GetPixId() << " Pedestals: " << pix->GetPed() << " +- " 300 292 << pix->GetPedRms() << " Reduced Charge: " << pix->GetCharge() << " +- " 301 << pix->GetSigmaCharge() << " Reduced Sigma: " << rsigma<< endl;293 << pix->GetSigmaCharge() << " Reduced Sigma: " << pix->GetRSigmaCharge() << endl; 302 294 id++; 303 295 } … … 420 412 if (!(*this)[idx].IsTimeFitValid()) 421 413 return kFALSE; 422 val = (*this)[idx].Get Time() * gkTimeSliceWidth;414 val = (*this)[idx].GetMeanTimeOffset() * gkTimeSliceWidth; 423 415 break; 424 416 case 6: 425 417 if (!(*this)[idx].IsTimeFitValid()) 426 418 return kFALSE; 427 val = (*this)[idx].Get SigmaTime() * gkTimeSliceWidth;419 val = (*this)[idx].GetTimingPrecision() * gkTimeSliceWidth; 428 420 break; 429 421 case 7: … … 439 431 break; 440 432 case 10: 441 if ((*this)[idx].GetRSigmaSquare() > 0.) 442 val = TMath::Sqrt((*this)[idx].GetRSigmaSquare()); 443 else 444 val = -1.; 433 val = (*this)[idx].GetRSigmaCharge(); 445 434 break; 446 435 case 11: … … 469 458 break; 470 459 case 17: 471 if ( (*this)[idx].GetRSigmaSquare() > 0. && (*this)[idx].GetCharge() > 0. ) 472 val = TMath::Sqrt((*this)[idx].GetRSigmaSquare()) / (*this)[idx].GetCharge(); 473 else 474 val = -1.; 460 val = (*this)[idx].GetRSigmaCharge() / (*this)[idx].GetCharge(); 475 461 break; 476 462 case 18:
Note:
See TracChangeset
for help on using the changeset viewer.