Changeset 16854


Ignore:
Timestamp:
06/15/13 18:18:31 (11 years ago)
Author:
tbretz
Message:
The length of the bytes released must be converted from short to bytes.
File:
1 edited

Legend:

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

    r16836 r16854  
    13051305                // package_len is 0 if nothing was received.
    13061306                for (int ib=0; ib<40; ib++)
    1307                     rd[ib].relBytes += (*it)->FADhead[ib].package_length;
     1307                    rd[ib].relBytes += uint32_t((*it)->FADhead[ib].package_length)*2;
    13081308
    13091309                it++;
     
    13821382            // package_len is 0 when nothing was received from this board
    13831383            for (int ib=0; ib<40; ib++)
    1384                 rd[ib].relBytes += (*it)->FADhead[ib].package_length;
     1384                rd[ib].relBytes += uint32_t((*it)->FADhead[ib].package_length)*2;
    13851385
    13861386            it++;
Note: See TracChangeset for help on using the changeset viewer.