Changeset 4224 for trunk/MagicSoft/Mars
- Timestamp:
- 05/27/04 18:02:15 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4223 r4224 39 39 error remains around 20%). 40 40 41 * mcalib/MCalibrationChargeCalc.cc 42 - write the number of photons directy into MCalibrationChargeCam. 43 These numbers would otherwise have to be assembled by different 44 parts in separate code. 41 45 42 46 2004/05/27: Thomas Bretz -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r4200 r4224 1239 1239 1240 1240 const Float_t avphotons = avpix.GetPheFFactorMethod() 1241 / qepix.Get QEFFactor(fPulserColor)1241 / qepix.GetDefaultQE(fPulserColor) 1242 1242 / fQECam->GetPlexiglassQE(); 1243 1243 1244 1244 const Float_t avphotrelvar = avpix.GetPheFFactorMethodRelVar() 1245 + qepix.Get QEFFactorRelVar(fPulserColor)1245 + qepix.GetDefaultQERelVar(fPulserColor) 1246 1246 + fQECam->GetPlexiglassQERelVar(); 1247 1247 … … 1365 1365 1366 1366 const UInt_t npixels = fGeom->GetNumPixels(); 1367 1367 1368 // 1369 // Set the results in the MCalibrationChargeCam 1370 // 1371 if (fBlindPixel) 1372 { 1373 if (fBlindPixel->IsFluxInsidePlexiglassAvailable()) 1374 { 1375 const Float_t photons = fBlindPixel->GetFluxInsidePlexiglass() * (*fGeom)[0].GetA() 1376 / fQECam->GetPlexiglassQE(); 1377 fCam->SetNumPhotonsBlindPixelMethod (photons); 1378 const Float_t photrelvar = fBlindPixel->GetFluxInsidePlexiglassRelVar() 1379 + fQECam->GetPlexiglassQERelVar(); 1380 if (photrelvar > 0.) 1381 fCam->SetNumPhotonsBlindPixelMethodErr(TMath::Sqrt( photrelvar * photons * photons)); 1382 } 1383 } 1368 1384 // 1369 1385 // With the knowledge of the overall photon flux, calculate the
Note:
See TracChangeset
for help on using the changeset viewer.