Changeset 12289


Ignore:
Timestamp:
10/27/11 00:11:09 (13 years ago)
Author:
tbretz
Message:
Store trigger rates for later display
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r12283 r12289  
    19421942    // ===================== FTM ============================================
    19431943
     1944    FTM::DimTriggerRates fTriggerRates;
     1945
    19441946    void UpdateTriggerRate(const FTM::DimTriggerRates &sdata)
    19451947    {
     
    20852087        UpdateRatesGraphs(sdata);
    20862088        UpdateRatesCam(sdata);
     2089
     2090        fTriggerRates = sdata;
    20872091    }
    20882092
     
    33473351
    33483352        fThresholdVal->setValue(fFtmStaticData.fThreshold[ihw]);
    3349         fPatchRate->setValue(cam.GetData(isw));
    3350 
    3351         // Fix me... there is no update in case of pixel index change
    3352         //fBoardRate->setValue(sdata.fBoardRate[ihw/36]);
     3353        fPatchRate->setValue(fTriggerRates.fPatchRate[ihw]);
     3354        fBoardRate->setValue(fTriggerRates.fBoardRate[ihw/4]);
    33533355
    33543356        // Loop over the software idx of all pixels
Note: See TracChangeset for help on using the changeset viewer.