Changeset 12862 for trunk/Mars/mreport


Ignore:
Timestamp:
02/08/12 10:23:32 (13 years ago)
Author:
tbretz
Message:
Also update the trigger rates and allor SetPtrAddress to verify the length of the array
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mreport/MReportRates.cc

    r12860 r12862  
    6060        file.SetRefAddress("TriggerCounter", fTriggerCounter)  &&
    6161        file.SetRefAddress("TriggerRate",    fTriggerRate)     &&
    62         file.SetPtrAddress("BoardRate",      fBoardRate)       &&
    63         file.SetPtrAddress("PatchRate",      fPatchRate)       &&
     62        file.SetPtrAddress("BoardRate",      fBoardRate,  40)  &&
     63        file.SetPtrAddress("PatchRate",      fPatchRate, 160)  &&
    6464        file.SetRefAddress("ElapsedTime",    fElapsedTime)     &&
    6565        file.SetRefAddress("OnTime",         fElapsedOnTime);
     
    7373    fElapsedTime   = fTimeStamp*1e-6;
    7474    fElapsedOnTime = fOnTimeCounter*1e-6;
     75    fTriggerRate   = fTriggerCounter*1e6/fTimeStamp;
    7576
    7677    return kTRUE;
Note: See TracChangeset for help on using the changeset viewer.