Changeset 18950
- Timestamp:
- 03/05/18 12:24:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r18589 r18950 945 945 946 946 EVENT *fEventData; 947 947 #ifdef HAVE_ROOT 948 948 void DrawHorizontal(TH1 *hf, double xmax, TH1 &h, double scale) 949 949 { … … 966 966 } 967 967 } 968 968 #endif 969 969 void DisplayEventData() 970 970 { … … 2326 2326 2327 2327 // ======================= Rate Scan ==================================== 2328 2328 #ifdef HAVE_ROOT 2329 2329 TGraph fGraphRateScan[201]; 2330 2330 #endif 2331 2331 void UpdateRateScan(uint32_t th, const float *rates) 2332 2332 { … … 3201 3201 } 3202 3202 3203 void slot_RootEventProcessed(TObject *obj, unsigned int evt, TCanvas *canv) 3204 { 3203 3205 #ifdef HAVE_ROOT 3204 void slot_RootEventProcessed(TObject *obj, unsigned int evt, TCanvas *canv)3205 {3206 3206 // kMousePressEvent // TCanvas processed QEvent mousePressEvent 3207 3207 // kMouseMoveEvent // TCanvas processed QEvent mouseMoveEvent … … 3252 3252 //gSystem->ProcessEvents(); 3253 3253 //QWhatsThis::display(tipText) 3254 #endif 3254 3255 } 3255 3256 3256 3257 void slot_RootUpdate() 3257 3258 { 3259 #ifdef HAVE_ROOT 3258 3260 gSystem->DispatchOneEvent(kFALSE); 3259 3261 //gSystem->ProcessEvents(); 3260 3262 QTimer::singleShot(10, this, SLOT(slot_RootUpdate())); 3261 }3262 3263 #endif 3264 } 3263 3265 3264 3266 void ChoosePatchThreshold(Camera &cam, int isw) … … 3535 3537 } 3536 3538 3539 #ifdef HAVE_ROOT 3537 3540 TGraph fGraphFtmTemp[4]; 3538 3541 TGraph fGraphFtmRate; … … 3540 3543 TGraph fGraphBoardRate[40]; 3541 3544 3542 #ifdef HAVE_ROOT3543 3545 TH1 *DrawTimeFrame(const char *ytitle) 3544 3546 {
Note:
See TracChangeset
for help on using the changeset viewer.