Changeset 12284


Ignore:
Timestamp:
10/26/11 23:03:11 (13 years ago)
Author:
tbretz
Message:
Added elapsed time and on time to DrimTriggerRate
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/HeadersFTM.h

    r11794 r12284  
    573573        float    fPatchRate[160];
    574574
    575         DimTriggerRates(const Header &h, const DynamicData &d, const StaticData &s, float rate) :
     575        float fElapsedTime;
     576        float fOnTime;
     577
     578        DimTriggerRates(const Header &h, const DynamicData &d, const StaticData &s, float rate, float et, float ot) :
    576579            fTimeStamp(h.fTimeStamp), fOnTimeCounter(d.fOnTimeCounter),
    577             fTriggerCounter(h.fTriggerCounter), fTriggerRate(rate)
     580            fTriggerCounter(h.fTriggerCounter), fTriggerRate(rate),
     581            fElapsedTime(et), fOnTime(ot)
    578582        {
    579583            for (int i=0; i<40; i++)
Note: See TracChangeset for help on using the changeset viewer.