Changeset 8132 for trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
- Timestamp:
- 10/19/06 15:09:50 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r7804 r8132 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.37 2006-10-19 13:57:40 tbretz Exp $ 3 ! -------------------------------------------------------------------------- 2 4 ! 3 5 ! * … … 499 501 { 500 502 const Int_t aidx = gpix.GetAidx(); 503 // This is to which bias level the signal fluctuates 501 504 const Double_t mean = fPedPhot1->GetArea(aidx).GetMean(); 505 // This is how the signal fluctuates 502 506 const Double_t rms = fPedPhot2->GetArea(aidx).GetRms(); 503 507 const Double_t phe = gRandom->Gaus(mean, rms); 508 504 509 (*fEvt)[i].SetNumPhotons(phe); 505 510 }
Note:
See TracChangeset
for help on using the changeset viewer.