Changeset 4777 for trunk/MagicSoft/Mars
- Timestamp:
- 08/27/04 20:14:56 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4775 r4777 22 22 23 23 2004/08/27: Hendrik Bartko 24 24 25 * msignal/MExtractTime.cc 25 26 - check that the pixel has a low gain before calculating the time … … 29 30 30 31 * mcalib/MCalibrationChargeCalc.cc 32 * mcalib/MCalibrationChargePix.[h,cc] 31 33 - change treatment of pixels with kSigmaNotValid 34 35 * mpedestal/MPedestalCam.cc 36 - fixed a small bug in the calculation of the PedestalRms Error 37 in GetPixelContent() 32 38 33 39 * macros/bootcampstandardanalysis.C -
trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc
r4609 r4777 384 384 return kFALSE; 385 385 386 const Float_t ped = (*this)[idx].GetPedestal(); 387 const Float_t rms = (*this)[idx].GetPedestalRms(); 388 386 389 switch (type) 387 390 { 388 391 case 0: 389 val = (*this)[idx].GetPedestal();392 val = ped; 390 393 break; 391 394 case 1: 392 395 val = fTotalEntries > 0 ? 393 (*this)[idx].GetPedestalRms()/TMath::Sqrt((Float_t)fTotalEntries)394 396 rms/TMath::Sqrt((Float_t)fTotalEntries) 397 : (*this)[idx].GetPedestalError(); 395 398 break; 396 399 case 2: 397 val = (*this)[idx].GetPedestalRms();400 val = rms; 398 401 break; 399 402 case 3: 400 403 val = fTotalEntries > 0 ? 401 (*this)[idx].GetPedestalRms()/TMath::Sqrt((Float_t)fTotalEntries)/2.402 404 rms/TMath::Sqrt((Float_t)fTotalEntries*2.) 405 : (*this)[idx].GetPedestalRmsError(); 403 406 break; 404 407 default:
Note:
See TracChangeset
for help on using the changeset viewer.