Changeset 12311 for trunk/FACT++/src


Ignore:
Timestamp:
10/28/11 19:54:31 (13 years ago)
Author:
tbretz
Message:
Fixed writing of the data.
File:
1 edited

Legend:

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

    r12294 r12311  
    176176
    177177            // FIXME:
    178             reference *= sdata.fElapsedTime;
     178            reference *= sdata.fElapsedTime*10;
    179179
    180180            if ((reference==0 || sqrt(reference)>fResolution*reference) && fSeconds<fSecondsMax)
     
    200200                data[i+4] = fRateBoard[i]/fSeconds;
    201201            for (int i=0; i<160; i++)
    202                 data[i+4] = fRatePatch[i]/fSeconds;
     202                data[i+44] = fRatePatch[i]/fSeconds;
    203203
    204204            ostringstream sout1, sout2, sout3;
    205205
    206             sout1 << th << " ";
    207             sout1 << data[3] << " ";
    208             for (int i=0; i<40; i++)
    209                 sout2 << data[i+4] << " ";
    210             for (int i=0; i<160; i++)
    211                 sout2 << data[i+44] << " ";
    212             sout3 << data[1] << " " << data[2];
     206            sout1 << th << " " << data[3];
     207            for (int i=0; i<200; i++)
     208                sout2 << " " << data[i+4];
     209            sout3 << " " << data[1] << " " << data[2];
    213210
    214211            Info(sout1.str());
Note: See TracChangeset for help on using the changeset viewer.