Ignore:
Timestamp:
05/05/10 09:51:51 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimcamera/MSimCalibrationSignal.cc

    r9425 r9578  
    6161
    6262#include "MGeomCam.h"
    63 #include "MParSpline.h"
    6463#include "MTriggerPattern.h"
    6564
     
    6968#include "MPhotonEvent.h"
    7069#include "MPhotonData.h"
     70
     71#include "MParSpline.h"
    7172
    7273ClassImp(MSimCalibrationSignal);
     
    197198        {
    198199            // 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);
    200201
    201202            // FIXME: How does the distribution look like? Poissonian?
Note: See TracChangeset for help on using the changeset viewer.