Changeset 9578 for trunk/MagicSoft/Mars/msimcamera
- Timestamp:
- 05/05/10 09:51:51 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimcamera/MSimCalibrationSignal.cc
r9425 r9578 61 61 62 62 #include "MGeomCam.h" 63 #include "MParSpline.h"64 63 #include "MTriggerPattern.h" 65 64 … … 69 68 #include "MPhotonEvent.h" 70 69 #include "MPhotonData.h" 70 71 #include "MParSpline.h" 71 72 72 73 ClassImp(MSimCalibrationSignal); … … 197 198 { 198 199 // FIXME: Scale number of photons with the pixel size! 199 const Int_t num = TMath::Nint(gRandom->Gaus(fNumPhotons, fNumPhotons/10));200 const Int_t num = gRandom->Poisson(fNumPhotons); 200 201 201 202 // FIXME: How does the distribution look like? Poissonian?
Note:
See TracChangeset
for help on using the changeset viewer.