Changeset 11464


Ignore:
Timestamp:
07/19/11 16:34:49 (13 years ago)
Author:
tbretz
Message:
Fixed some display in the ADC tab.
File:
1 edited

Legend:

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

    r11442 r11464  
    11061106        }
    11071107
     1108        const uint32_t p = fAdcChannel->value()+fAdcBoard->value()*36+fAdcCrate->value()*360;
     1109
    11081110        ostringstream str;
    11091111        str << "Event ID = " << fEventData->EventNum;
    11101112        str << "   Trigger type = " << fEventData->TriggerType;
    1111         str << "   Board time = " << fEventData->BoardTime;
     1113        str << "   Board time[0] = " << fEventData->BoardTime[fAdcBoard->value()];
    11121114        str << "   (" << Time(fEventData->PCTime[0], fEventData->PCTime[1]) << ")";
    11131115        h->SetTitle(str.str().c_str());
    11141116        str.str("");
    1115         str << "ADC Pipeline (start=" << fEventData->StartPix << ")";
     1117        str << "ADC Pipeline (start=" << fEventData->StartPix[p] << ")";
    11161118        h->SetXTitle(str.str().c_str());
    11171119
     
    11191121        // str << "Crate=" << crate << " Board=" << board << " Channel=" << channel << " [" << d.time() << "]" << endl;
    11201122        // hist->SetTitle(str.str().c_str());
    1121 
    1122         const uint32_t p = fAdcChannel->value()+fAdcBoard->value()*36+fAdcCrate->value()*360;
    11231123
    11241124        for (int i=0; i<fEventData->Roi; i++)
Note: See TracChangeset for help on using the changeset viewer.