Ignore:
Timestamp:
10/19/06 15:09:50 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc

    r7804 r8132  
    11/* ======================================================================== *\
     2! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.37 2006-10-19 13:57:40 tbretz Exp $
     3! --------------------------------------------------------------------------
    24!
    35! *
     
    499501            {
    500502                const Int_t    aidx = gpix.GetAidx();
     503                // This is to which bias level the signal fluctuates
    501504                const Double_t mean = fPedPhot1->GetArea(aidx).GetMean();
     505                // This is how the signal fluctuates
    502506                const Double_t rms  = fPedPhot2->GetArea(aidx).GetRms();
    503507                const Double_t phe  = gRandom->Gaus(mean, rms);
     508
    504509                (*fEvt)[i].SetNumPhotons(phe);
    505510            }
Note: See TracChangeset for help on using the changeset viewer.