Changeset 9323 for trunk/MagicSoft


Ignore:
Timestamp:
02/11/09 18:50:09 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9319 r9323  
    172172    for (int i=0; i<fElectronicNoise->GetSize(); i++)
    173173    {
     174        // 64 -> Dynamic range 12 bit left
    174175        MPedestalPix &ped = (*fElectronicNoise)[i];
    175         ped.SetPedestal(15*256); // Baseline at 15 like in MAGIC
    176         ped.SetPedestalRms(1.5*256);//2.0); // 1.5 bit noise for a gain of 64
     176        ped.SetPedestal(15*64);    // Baseline at 15 like in MAGIC
     177        ped.SetPedestalRms(1.5*64); //2.0); // 1.5 bit noise for a gain of 64
    177178        ped.SetPedestalABoffset(0);
    178179        ped.SetNumEvents(0);
     
    181182        // 8 signal height of one phe
    182183        MPedestalPix &gain = (*fGain)[i];
    183         gain.SetPedestal(8*256);
    184         gain.SetPedestalRms(0); 
     184        gain.SetPedestal(4*64);     // This allows a maximum of 200phe/pix
     185        gain.SetPedestalRms(0);
    185186        gain.SetPedestalABoffset(0);
    186187        gain.SetNumEvents(0);
Note: See TracChangeset for help on using the changeset viewer.