Changeset 3723 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 04/13/04 19:41:03 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.h
r3688 r3723 122 122 123 123 // Setters 124 void SetAverageQEBlindPixelAvailable ( const Bool_t b );125 void SetAverageQECombinedAvailable ( const Bool_t b );126 void SetAverageQEFFactorAvailable ( const Bool_t b );127 void SetAverageQEPINDiodeAvailable ( const Bool_t b );124 void SetAverageQEBlindPixelAvailable ( const Bool_t b=kTRUE ); 125 void SetAverageQECombinedAvailable ( const Bool_t b=kTRUE ); 126 void SetAverageQEFFactorAvailable ( const Bool_t b=kTRUE ); 127 void SetAverageQEPINDiodeAvailable ( const Bool_t b=kTRUE ); 128 128 void SetBlindPixelMethodValid ( const Bool_t b, const MCalibrationCam::PulserColor_t col); 129 129 void SetCombinedMethodValid ( const Bool_t b, const MCalibrationCam::PulserColor_t col); -
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
r3696 r3723 400 400 if (!fBadPixels) 401 401 { 402 402 403 fBadPixels = (MBadPixelsCam*)pList->FindCreateObj(AddSerialNumber("MBadPixelsCam")); 403 404 if (!fBadPixels) … … 547 548 if (bad.IsBad()) 548 549 hist.SetExcluded(); 549 550 550 551 hist.InitBins(); 551 552 hist.ChangeHistId(i); -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc
r3672 r3723 424 424 fBlindPix->SetOscillating ( !IsFourierSpectrumOK() ); 425 425 426 fBlindPix->SetValid(kTRUE); 427 426 428 fMeanPedestal = fSignal->GetPed(); 427 429 fMeanPedestalErr = fSignal->GetPedErr(); … … 437 439 438 440 FitPedestal(); 439 441 440 442 if (FitSinglePhe()) 441 fBlindPix->SetSinglePheFitOK(); 443 fBlindPix->SetSinglePheFitOK(); 444 else 445 fBlindPix->SetValid(kFALSE); 442 446 443 447 fBlindPix->SetLambda ( fLambda ); -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargePINDiode.cc
r3719 r3723 284 284 fPINDiode->SetRmsChargeSigmaErr( GetRmsChargeSigmaErr() ); 285 285 286 fPINDiode->SetValid(kTRUE); 287 286 288 const Byte_t loweredge = fSigPIN->GetFirstUsedSlice(); 287 289 const Byte_t upperedge = fSigPIN->GetLastUsedSlice(); … … 291 293 if (GetAbsTimeMean() < lowerlimit) 292 294 { 293 *fLog << warn << GetDescriptor() << ": Mean ArrivalTime in first " << fTimeLowerLimit 294 << " extraction bin in PIN Diode " << endl; 295 *fLog << GetAbsTimeMean() << " " << lowerlimit << endl; 296 return kFALSE; 295 *fLog << warn << GetDescriptor() 296 << Form("%s%3.1f%s%2.1f%s",": Mean ArrivalTime: ",GetAbsTimeMean()," smaller than ", 297 lowerlimit," FADC slices from lower edge in PIN Diode") << endl; 298 *fLog << warn << GetDescriptor() << ": No PIN Diode calibration!! " << endl; 299 fPINDiode->SetValid(kFALSE); 297 300 } 298 301 299 302 if ( GetAbsTimeMean() > upperlimit ) 300 303 { 301 *fLog << warn << GetDescriptor() << ": Mean ArrivalTime in last " << fTimeUpperLimit 302 << " two extraction bins in PIN Diode " << endl; 303 *fLog << GetAbsTimeMean() << " " << upperlimit << endl; 304 return kFALSE; 304 *fLog << warn << GetDescriptor() 305 << Form("%s%3.1f%s%2.1f%s",": Mean ArrivalTime: ",GetAbsTimeMean()," bigger than ", 306 upperlimit," FADC slices from upper edge in PIN Diode") << endl; 307 *fLog << warn << GetDescriptor() << ": No PIN Diode calibration!! " << endl; 308 fPINDiode->SetValid(kFALSE); 305 309 } 306 310
Note:
See TracChangeset
for help on using the changeset viewer.