Changeset 5701 for trunk/MagicSoft/Mars/mcalib/MCalibrationBlindPix.cc
- Timestamp:
- 01/05/05 14:29:59 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationBlindPix.cc
r5384 r5701 62 62 63 63 using namespace std; 64 64 65 const Float_t MCalibrationBlindPix::fgArea = 100; 65 66 const Float_t MCalibrationBlindPix::fgAttGreen = 1.97; … … 81 82 const Float_t MCalibrationBlindPix::fgCollEffCT1 = 0.90; 82 83 const Float_t MCalibrationBlindPix::fgCollEffErr = 0.05; 84 83 85 // -------------------------------------------------------------------------- 84 86 // … … 226 228 pix.fPixId = fPixId; 227 229 pix.fFlags = fFlags; 228 pix.fArea = fArea; 230 pix.fArea = fArea; 229 231 pix.fAreaErr = fAreaErr; 230 232 pix.fColor = fColor; … … 233 235 // Copy arrays 234 236 // 235 pix.fAtt = fAtt; 236 pix.fAttErr = fAttErr; 237 pix.fQE = fQE; 238 pix.fQEErr = fQEErr; 239 pix.fCollEff = fCollEff; 240 pix.fCollEffErr = fCollEffErr; 241 242 pix.fLambda = fLambda; 243 pix.fLambdaCheck = fLambdaCheck; 244 pix.fLambdaCheckErr = fLambdaCheckErr; 245 pix.fLambdaVar = fLambdaVar; 246 pix.fFluxInsidePlexiglass = fFluxInsidePlexiglass; 247 pix.fFluxInsidePlexiglassVar = fFluxInsidePlexiglassVar; 248 pix.fMu0 = fMu0; 249 pix.fMu0Err = fMu0Err; 250 pix.fMu1 = fMu1; 251 pix.fMu1Err = fMu1Err; 252 pix.fSigma0 = fSigma0; 253 pix.fSigma0Err = fSigma0Err; 254 pix.fSigma1 = fSigma1; 255 pix.fSigma1Err = fSigma1Err; 256 237 pix.fAtt = fAtt; 238 pix.fAttErr = fAttErr; 239 pix.fQE = fQE; 240 pix.fQEErr = fQEErr; 241 pix.fCollEff = fCollEff; 242 pix.fCollEffErr = fCollEffErr; 243 244 pix.fLambda = fLambda; 245 pix.fLambdaCheck = fLambdaCheck; 246 pix.fLambdaCheckErr = fLambdaCheckErr; 247 pix.fLambdaVar = fLambdaVar; 248 pix.fFluxInsidePlexiglass = fFluxInsidePlexiglass; 249 pix.fFluxInsidePlexiglassVar = fFluxInsidePlexiglassVar; 250 pix.fMu0 = fMu0; 251 pix.fMu0Err = fMu0Err; 252 pix.fMu1 = fMu1; 253 pix.fMu1Err = fMu1Err; 254 pix.fSigma0 = fSigma0; 255 pix.fSigma0Err = fSigma0Err; 256 pix.fSigma1 = fSigma1; 257 pix.fSigma1Err = fSigma1Err; 258 257 259 } 258 260 … … 523 525 524 526 *fLog << inf << GetDescriptor() 525 << ": Blind Pixel Nr. " << fPixId << ": Photon flux [ph/mm^2] inside Plexiglass: "526 << Form("%5.3f%s%5.3f",fFluxInsidePlexiglass," +- ",GetFluxInsidePlexiglassErr()) << endl;527 << ": BlindPix #" << fPixId << ": Flux [ph/mm^2] inside Plexiglass: " 528 << Form("%5.3f +- %5.3f",fFluxInsidePlexiglass, GetFluxInsidePlexiglassErr()) << endl; 527 529 528 530 return kTRUE; … … 533 535 534 536 *fLog << all << GetDescriptor() 535 << Form(" %s%3i","BlindPixel: ",GetPixId())536 << Form(" %s%4.2f%s%4.2f"," Lambda: ",GetLambda(),"+-",GetLambdaErr())537 << Form(" %s%4.2f%s%4.2f"," Mu0: " ,GetMu0(), "+-",GetMu0Err())538 << Form(" %s%4.2f%s%4.2f"," Mu1: " ,GetMu1(), "+-",GetMu1Err())539 << Form(" %s%4.2f%s%4.2f"," Sigma0: ",GetSigma0(),"+-",GetSigma0Err())540 << Form(" %s%4.2f%s%4.2f"," Sigma1: ",GetSigma1(),"+-",GetSigma1Err())537 << Form("BlindPixel: %3i" ,GetPixId()) 538 << Form(" Lambda: %4.2f +- %4.2f",GetLambda(),GetLambdaErr()) 539 << Form(" Mu0: %4.2f +- %4.2f" ,GetMu0(), GetMu0Err()) 540 << Form(" Mu1: %4.2f +- %4.2f" ,GetMu1(), GetMu1Err()) 541 << Form(" Sigma0: %4.2f +- %4.2f",GetSigma0(),GetSigma0Err()) 542 << Form(" Sigma1: %4.2f +- %4.2f",GetSigma1(),GetSigma1Err()) 541 543 << endl; 542 544 *fLog << all 543 545 << " Pedestal Fit OK? :" << IsPedestalFitOK() 544 << Form(" %s%4.2f%s%4.2f"," Lambda (Check): " ,GetLambdaCheck(),"+-",GetLambdaCheckErr())546 << Form(" Lambda (Check): %4.2f +- %4.2f",GetLambdaCheck(),GetLambdaCheckErr()) 545 547 << endl; 546 548 *fLog << all 547 549 << " Flux available? :" << IsFluxInsidePlexiglassAvailable() 548 << Form(" %s%4.2f%s%4.2f"," Flux: " ,GetFluxInsidePlexiglass(),"+-",GetFluxInsidePlexiglassErr())550 << Form(" Flux: %4.2f +- %4.2f",GetFluxInsidePlexiglass(),GetFluxInsidePlexiglassErr()) 549 551 << endl; 550 552 } 551 552 553 554 555 556 557 558 559
Note:
See TracChangeset
for help on using the changeset viewer.