Changeset 2832 for trunk/MagicSoft/Mars
- Timestamp:
- 01/16/04 14:59:52 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2831 r2832 18 18 19 19 * mcalib/MCalibrationCalc.cc 20 * mcalib/MCalibrationPix.cc 21 * mcalib/MCalibrationCam.cc 20 22 - fixed the warns and errs in fLog's 21 23 -
trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
r2831 r2832 424 424 425 425 426 *fLog << GetDescriptor() << ": Cut Histogram Edges" << endl;426 *fLog << inf << GetDescriptor() << ": Cut Histogram Edges" << endl; 427 427 428 428 // … … 436 436 MCalibrationBlindPix &blindpixel = *(fCalibrations->GetBlindPixel()); 437 437 438 *fLog << GetDescriptor() << ": Fitting the Blind Pixel" << endl;438 *fLog << inf << GetDescriptor() << ": Fitting the Blind Pixel" << endl; 439 439 440 440 // … … 454 454 } 455 455 456 *fLog << GetDescriptor() << ": Fitting the Normal Pixels" << endl;456 *fLog << inf << GetDescriptor() << ": Fitting the Normal Pixels" << endl; 457 457 458 458 // … … 500 500 return kTRUE; 501 501 502 *fLog << endl;502 *fLog << inf << endl; 503 503 *fLog << dec << setfill(' ') << fCosmics << " Events presumably cosmics" << endl; 504 504 -
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.cc
r2795 r2832 248 248 int id = 0; 249 249 250 *fLog << "Succesfully calibrated pixels:" << endl;251 *fLog << endl;250 *fLog << all << "Succesfully calibrated pixels:" << endl; 251 *fLog << all << endl; 252 252 253 253 TIter Next(fPixels); … … 263 263 rsigma = TMath::Sqrt(rsigma); 264 264 265 *fLog << pix->GetPixId() << " Pedestals: " << pix->GetPed() << " +- " << pix->GetPedRms()266 265 *fLog << all << pix->GetPixId() << " Pedestals: " << pix->GetPed() << " +- " 266 << pix->GetPedRms() << " Reduced Charge: " << pix->GetCharge() << " +- " 267 267 << pix->GetSigmaCharge() << " Reduced Sigma: " << rsigma 268 268 << " Nr Phe's: " << pix->GetPheFFactorMethod() << endl; … … 271 271 } 272 272 273 *fLog << id << " succesful pixels :-))" << endl;273 *fLog << all << id << " succesful pixels :-))" << endl; 274 274 id = 0; 275 275 276 *fLog << endl;277 *fLog << "Pixels with errors:" << endl;278 *fLog << endl;276 *fLog << all << endl; 277 *fLog << all << "Pixels with errors:" << endl; 278 *fLog << all << endl; 279 279 280 280 TIter Next2(fPixels); … … 289 289 rsigma = TMath::Sqrt(rsigma); 290 290 291 *fLog << pix->GetPixId() << " Pedestals: " << pix->GetPed() << " +- " << pix->GetPedRms()292 << " Reduced Charge: " << pix->GetCharge() << " +- "293 291 *fLog << all << pix->GetPixId() << " Pedestals: " << pix->GetPed() << " +- " 292 << pix->GetPedRms() << " Reduced Charge: " << pix->GetCharge() << " +- " 293 << pix->GetSigmaCharge() << " Reduced Sigma: " << rsigma << endl; 294 294 id++; 295 295 } 296 296 } 297 *fLog << id << " pixels with errors :-((" << endl;297 *fLog << all << id << " pixels with errors :-((" << endl; 298 298 299 299 } … … 455 455 fNumPhotInsidePlexiglassAvailable = kTRUE; 456 456 457 *fLog << endl; 458 *fLog << mean << " Mean number of Photons for an Inner Pixel: " << fMeanPhotInsidePlexiglass << endl; 459 *fLog << endl; 457 *fLog << inf << endl; 458 *fLog << inf << mean << " Mean number of Photons for an Inner Pixel (inside Plexiglass): " 459 << fMeanPhotInsidePlexiglass << endl; 460 *fLog << inf << endl; 460 461 461 462 TIter Next(fPixels); … … 510 511 511 512 fNumPhotOutsidePlexiglassAvailable = kTRUE; 513 514 *fLog << inf << endl; 515 *fLog << inf << mean << " Mean number of Photons for an Inner Pixel (outside Plexiglass): " 516 << fMeanPhotOutsidePlexiglass << endl; 517 *fLog << inf << endl; 512 518 513 519 TIter Next(fPixels); -
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
r2793 r2832 178 178 fHist->SetLowerFitRange(1.5*fPedRms); 179 179 else 180 *fLog << warn << " Cannot set lower fit range: Pedestals not available" << endl;180 *fLog << warn << "WARNING: Cannot set lower fit range: Pedestals not available" << endl; 181 181 182 182 // … … 193 193 if(!fHist->FitChargeLoGain()) 194 194 { 195 *fLog << warn << " Could not fit Lo Gain charges of pixel " << fPixId << endl;195 *fLog << warn << "WARNING: Could not fit Lo Gain charges of pixel " << fPixId << endl; 196 196 // 197 197 // 5) In case of failure print out the fit results … … 207 207 if(!fHist->FitChargeHiGain()) 208 208 { 209 *fLog << warn << " Could not fit Hi Gain charges of pixel " << fPixId << endl;209 *fLog << warn << "WARNING: Could not fit Hi Gain charges of pixel " << fPixId << endl; 210 210 // 211 211 // 5) In case of failure print out the fit results … … 227 227 if (fCharge <= 0.) 228 228 { 229 *fLog << warn << " Cannot apply calibration: Mean Fitted Charges are smaller than 0 in pixel "229 *fLog << warn << "WARNING: Cannot apply calibration: Mean Fitted Charges are smaller than 0 in pixel " 230 230 << fPixId << endl; 231 231 return kFALSE; … … 308 308 if (fRSigmaSquare <= 0.) 309 309 { 310 *fLog << warn << "Cannot apply F-Factor calibration: Reduced Sigma smaller than 0 in pixel " 310 *fLog << warn 311 << "WARNING: Cannot apply F-Factor calibration: Reduced Sigma smaller than 0 in pixel " 311 312 << fPixId << endl; 312 313 if (fHiGainSaturation) … … 439 440 440 441 442 // 443 // The check returns kTRUE if: 444 // 445 // 446 // 447 Bool_t MCalibrationPix::CheckOscillations() 448 { 449 450 451 return kTRUE; 452 } 453 454 441 455 442 456 void MCalibrationPix::ApplyLoGainConversion() … … 492 506 if(!fHist->FitTimeLoGain()) 493 507 { 494 *fLog << warn << " Could not fit Lo Gain times of pixel " << fPixId << endl;508 *fLog << warn << "WARNING: Could not fit Lo Gain times of pixel " << fPixId << endl; 495 509 fHist->PrintTimeFitResult(); 496 510 return kFALSE; … … 505 519 if(!fHist->FitTimeHiGain()) 506 520 { 507 *fLog << warn << " Could not fit Hi Gain times of pixel " << fPixId << endl;521 *fLog << warn << "WARNING: Could not fit Hi Gain times of pixel " << fPixId << endl; 508 522 fHist->PrintTimeFitResult(); 509 523 return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.