Ignore:
Timestamp:
10/27/11 16:30:58 (13 years ago)
Author:
lyard
Message:
added RMS tab and fixed time for old format
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc

    r12297 r12300  
    638638    catch (const runtime_error&)
    639639    {
     640        try
     641        {
     642            inputFile->SetPtrAddress("PCTime", pcTime);
     643        }
     644        catch (const runtime_error&)
     645        {
     646
     647        }
    640648    }
    641649
     
    11031111    updateGL();
    11041112}
    1105 
     1113void RawDataViewer::setCurrentPixel(int pix)
     1114{
     1115    if (pix == -1)
     1116        return;
     1117    selectedPixel = pix;
     1118    if (isVisible())
     1119    updateGL();
     1120     emit signalCurrentPixel(pix);
     1121}
    11061122void RawDataViewer::computePulsesStatistics()
    11071123{
     
    12021218
    12031219    GLWindow_2->enableText(false);
     1220 //   GLWindow_2->ShowPatchCursor(true);
    12041221
    12051222    QObject::connect(GLWindow, SIGNAL(colorPaletteHasChanged()),
     
    12131230    QObject::connect(GLWindow, SIGNAL(newFileLoaded()),
    12141231                     this, SLOT(newFileLoaded()));
     1232
     1233    QObject::connect(GLWindow_2, SIGNAL(signalCurrentPixel(int)),
     1234                     GLWindow, SLOT(setCurrentPixel(int)));
     1235
    12151236
    12161237    show();
     
    19812002void UIConnector::pixelChanged(int pixel)
    19822003{
     2004    GLWindow_2->fWhite = pixel;
     2005    GLWindow_2->fWhitePatch = GLWindow_2->pixelsPatch[pixel];
     2006
     2007
    19832008    pixel = GLWindow->hardwareMapping[pixel];
    19842009
Note: See TracChangeset for help on using the changeset viewer.