Changeset 7058
- Timestamp:
- 05/18/05 18:38:53 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7055 r7058 54 54 more by calculating the number of steps from the rise and fall time. 55 55 this should at least give consistent results on the same machine! 56 57 * mbase/MContinue.cc: 58 - fixed a namimg problem of the filter when it is added to 59 the tasklist and has the same name as MContinue 60 61 * mcalib/MCalibrationChargeCalc.cc: 62 - for some sceen output the manipulator (inf) was missing 63 64 * msignal/MExtractPINDiode.cc: 65 - fixed a problem with the fit (it always tried to display 66 the fit-function somewhere) 56 67 57 68 -
trunk/MagicSoft/Mars/mbase/MContinue.cc
r7023 r7058 148 148 } 149 149 150 if ((TString)GetFilter()->GetName()==fName) 151 GetFilter()->SetName(Form("MF:%s", fName.Data())); 152 150 153 if (!fTaskList->AddToListBefore(GetFilter(), this)) 151 154 { … … 295 298 MTask::SetFilter(f); 296 299 297 f->SetName(Form("MF:%s", fName.Data()));298 299 300 return kTRUE; 300 301 } -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r7028 r7058 501 501 fBlindCam = (MCalibrationBlindCam*)pList->FindObject(AddSerialNumber("MCalibrationBlindCam")); 502 502 if (!fBlindCam) 503 *fLog << "No MCalibrationBlindCam found... no Blind Pixel method!" << endl;503 *fLog << inf << "No MCalibrationBlindCam found... no Blind Pixel method!" << endl; 504 504 } 505 505 506 506 fHBlindCam = (MHCalibrationChargeBlindCam*)pList->FindObject(AddSerialNumber("MHCalibrationChargeBlindCam")); 507 507 if (!fHBlindCam) 508 *fLog << "No MHCalibrationChargeBlindCam found... no Blind Pixel method!" << endl;508 *fLog << inf << "No MHCalibrationChargeBlindCam found... no Blind Pixel method!" << endl; 509 509 510 510 fIntensBad = (MBadPixelsIntensityCam*)pList->FindObject(AddSerialNumber("MBadPixelsIntensityCam")); … … 526 526 fPINDiode = (MCalibrationChargePINDiode*)pList->FindObject("MCalibrationChargePINDiode"); 527 527 if (!fPINDiode) 528 *fLog << "No MCalibrationChargePINDiode found... no PIN Diode method!" << endl;528 *fLog << inf << "No MCalibrationChargePINDiode found... no PIN Diode method!" << endl; 529 529 530 530 MCalibrationQECam *qecam = fIntensQE -
trunk/MagicSoft/Mars/msignal/MExtractPINDiode.cc
r7043 r7058 354 354 } 355 355 356 fSlices->Fit("gaus", "RQ", "", maxpos-fLowerFitLimit,maxpos+fUpperFitLimit); 357 358 TF1 *gausfunc = fSlices->GetFunction("gaus"); 359 360 fPINDiode->SetExtractedSignal(gausfunc->GetParameter(0), gausfunc->GetParError(0)); 361 fPINDiode->SetExtractedTime (gausfunc->GetParameter(1), gausfunc->GetParError(1)); 362 fPINDiode->SetExtractedSigma (gausfunc->GetParameter(2), gausfunc->GetParError(2)); 363 fPINDiode->SetExtractedChi2 (gausfunc->GetChisquare()); 356 // Must be created manually. Otherwise we cannot use N-option 357 TF1 gaus("func", "gaus"); 358 359 fSlices->Fit(&gaus, "QN", "", maxpos-fLowerFitLimit,maxpos+fUpperFitLimit); 360 361 fPINDiode->SetExtractedSignal(gaus.GetParameter(0), gaus.GetParError(0)); 362 fPINDiode->SetExtractedTime (gaus.GetParameter(1), gaus.GetParError(1)); 363 fPINDiode->SetExtractedSigma (gaus.GetParameter(2), gaus.GetParError(2)); 364 fPINDiode->SetExtractedChi2 (gaus.GetChisquare()); 364 365 fPINDiode->SetReadyToSave(); 365 366
Note:
See TracChangeset
for help on using the changeset viewer.