Changeset 11466


Ignore:
Timestamp:
07/19/11 16:36:27 (13 years ago)
Author:
tbretz
Message:
Improved random data.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fad.cc

    r11422 r11466  
    143143
    144144            evtbuf.insert(evtbuf.end(), buf.begin(), buf.end());
    145             evtbuf.insert(evtbuf.end(), fChHeader[i].fRegionOfInterest, 0x42+fHeader.fEventCounter*100);
     145            evtbuf.insert(evtbuf.end(), fChHeader[i].fRegionOfInterest, 0x42+i+11.*rand()/RAND_MAX-5);
    146146
    147147            fHeader.fPackageLength += sizeof(ChannelHeader)/2;
Note: See TracChangeset for help on using the changeset viewer.