Changeset 11778 for trunk/FACT++/gui


Ignore:
Timestamp:
08/04/11 20:51:44 (14 years ago)
Author:
tbretz
Message:
Decrease update frequency for Event display; Set a better maximum for the raw data display.
File:
1 edited

Legend:

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

    r11765 r11778  
    170170        //  calculate the positions of the pixel corners
    171171        //
    172         Double_t x[7], y[7];
     172        static Double_t x[7], y[7];
    173173        for (Int_t i=0; i<7; i++)
    174174        {
     
    179179        gPad->PaintFillArea(6, x, y);
    180180        gPad->PaintPolyLine(7, x, y);
    181 
    182181    }
    183182
     
    13201319            if (h->GetMaximumStored()==-1111)
    13211320            {
    1322                 h->SetMaximum(2550);//1025);
    1323                 hf->SetMaximum(2550);//1025);
     1321                h->SetMaximum(2150);//1025);
     1322                hf->SetMaximum(2150);//1025);
    13241323            }
    13251324        }
     
    14291428            return;
    14301429
    1431        // static int cnt=0;
    1432        // if (cnt++%10>0)
    1433        //     return;
     1430       static int cnt=0;
     1431       if (cnt++%10>0)
     1432           return;
    14341433
    14351434        const float *ptr = d.ptr<float>();
     
    14611460        c->GetPad(1)->Modified();
    14621461        c->GetPad(2)->Modified();
    1463         c->GetPad(3)->Modified();
    1464         c->GetPad(4)->Modified();
     1462//        c->GetPad(3)->Modified();
     1463//        c->GetPad(4)->Modified();
    14651464
    14661465        c->Update();
Note: See TracChangeset for help on using the changeset viewer.