Changeset 4777 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 08/27/04 20:14:56 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.