294 TGeometry* fGeometry;
316 TGLayoutHints* fMenuBarLayout;
317 TGLayoutHints* fMenuBarFirstItemLayout;
318 TGLayoutHints* fMenuBarItemLayout;
319 TGLayoutHints* fMenuBarLastItemLayout;
320 TGLayoutHints* fECLayout;
324 TGPopupMenu* fMenuFile;
325 TGPopupMenu* fMenuEdit;
326 TGPopupMenu* fMenuView;
327 TGPopupMenu* fMenuHelp;
329 TGPopupMenu* fMenuViewOptionHeader;
330 TGPopupMenu* fMenuViewOptionMdc;
331 TGPopupMenu* fMenuViewOptionTof;
332 TGPopupMenu* fMenuViewOptionEmc;
333 TGPopupMenu* fMenuViewOptionMuc;
334 TGPopupMenu* fMenuViewOptionFull3D;
335 TGPopupMenu* fMenuViewOptionOthers;
336 TGPopupMenu* fMenuViewOptionMdcHits;
337 TGPopupMenu* fMenuViewOptionTofHits;
338 TGPopupMenu* fMenuViewOptionEmcHits;
339 TGPopupMenu* fMenuViewOptionMucHits;
340 TGPopupMenu* fMenuViewOptionTracks;
341 TGPopupMenu* fMenuViewOptionMC;
343 TGLayoutHints* fUpButtonBarFirstItemLayout;
344 TGLayoutHints* fUpButtonBarItemLayout;
345 TGLayoutHints* fUpButtonBarLastItemLayout;
346 TGCompositeFrame* fUpButtonBarFrame;
348 static const int kNUpSplitter = 4;
355 static const int kNCursorState = 2;
362 TGNumberEntryField* fZoomRatioNumber;
372 TGLayoutHints* fDisplayModeBarItemLayout;
373 TGCompositeFrame* fDisplayModeBarFrame;
374 static const int kNDisplayMode = 5;
377 TGLayoutHints* fToolBarFirstItemLayout;
378 TGLayoutHints* fToolBarItemLayout;
379 TGLayoutHints* fToolBarLastItemLayout;
380 TGCompositeFrame* fToolBarFrame;
382 static const int kNToolSplitter = 4;
393 TGCanvas* fEventListView;
394 TRootEmbeddedCanvas* fEmbeddedCanvas;
398 TGVerticalFrame* fV1;
402 TGListTree* fEventListTree;
403 TGListTreeItem* fItem;
404 TGListTreeItem* fRunItem;
406 TGCompositeFrame* fEventDownFrame;
407 TGCompositeFrame* fEventControlFrame;
408 TGCompositeFrame* fEventControlTextFrame;
409 TGCompositeFrame* fEventNavFrame;
410 TGCompositeFrame* fEventPlayTextFrame;
411 TGCompositeFrame* fEventPlayButtonFrame;
412 TGCompositeFrame* fEventPlaySpeedFrame;
413 TGCompositeFrame* fEventListFrame;
414 TGCompositeFrame* fEventListTextFrame;
415 TGCompositeFrame* fEventListContentFrame;
417 TGCompositeFrame* fAutoFrame;
418 TGCompositeFrame* fAutoTextFrame;
420 TGCompositeFrame* fViewFrame;
421 TGCompositeFrame* fViewTextFrame;
422 TGCompositeFrame* fViewContentFrame;
423 TGCompositeFrame* fViewContent1Frame;
424 TGCompositeFrame* fViewContent2Frame;
425 TGCompositeFrame* fViewContent3Frame;
426 TGCompositeFrame* fViewAngleFrame;
427 TGCompositeFrame* fViewAngleThetaFrame;
428 TGCompositeFrame* fViewAnglePhiFrame;
429 TGCompositeFrame* fViewAnglePsiFrame;
431 TGNumberEntry* fNumEntryRunNo;
432 TGNumberEntry* fNumEntryEventNo;
433 TGNumberEntry* fNumEntryEventPlaySpeed;
436 TGLabel* fEventControlTextLabel;
437 TGLabel* fBesLabelRun;
438 TGLabel* fBesLabelEvent;
439 TGLabel* fEventPlayTextLabel;
440 TGLabel* fEventPlaySpeedLabel;
441 TGLabel* fEventListTextLabel;
442 TGLabel* fViewTextLabel;
443 TGLabel* fAutoTextLabel;
445 TGHSlider* fEventPlaySlider;
462 TGVSlider* fViewAngleThetaSlider;
463 TGNumberEntryField* fViewAngleThetaNumber;
464 TGLabel* fViewAngleThetaLabel;
468 TGVSlider* fViewAnglePhiSlider;
469 TGNumberEntryField* fViewAnglePhiNumber;
470 TGLabel* fViewAnglePhiLabel;
474 TGVSlider* fViewAnglePsiSlider;
475 TGNumberEntryField* fViewAnglePsiNumber;
476 TGLabel* fViewAnglePsiLabel;
478 TGCompositeFrame* fRotateStepFrame;
479 TGLabel* fRotateStepLabel;
480 TGNumberEntryField* fNumEntryRotateStep;
481 TGLabel* fRotateStepUnitLabel;
483 TGGroupFrame* fFrameAutoRotate;
484 TGCheckButton* fChkBtnAutoRotate;
486 TGCompositeFrame* fRotateSpeedFrame;
487 TGNumberEntryField* fNumEntryRotateSpeed;
488 TGLabel* fRotateSpeedLabel;
490 TGCompositeFrame* fRotateFPSFrame;
491 TGNumberEntry* fNumEntryRotateFPS;
492 TGLabel* fRotateFPSLabel;
494 TGStatusBar* fStatusBar;
496 TGGroupFrame* fFrameHeader;
497 TGGroupFrame* fFrameHits;
498 TGGroupFrame* fFrameTracks;
500 TGGroupFrame* fFrameSubDetector;
505 TGGroupFrame* fFrameOthers;
507 TGGroupFrame* fFrameMdcMatch;
508 TGGroupFrame* fFrameTofMatch;
509 TGGroupFrame* fFrameMagnetic;
511 TGHorizontalFrame* fTitleFrame;
512 TGHorizontalFrame* fMainFrame;
514 TGHorizontalFrame* fBesRunFrame;
515 TGHorizontalFrame* fBesEventFrame;
517 TGCheckButton* fChkBtnHeaderGlobal;
519 TGCheckButton* fChkBtnMdcHitsGlobal;
520 TGCheckButton* fChkBtnTofHitsGlobal;
521 TGCheckButton* fChkBtnTofHitsEast;
522 TGCheckButton* fChkBtnTofHitsBarrel;
523 TGCheckButton* fChkBtnTofHitsWest;
524 TGCheckButton* fChkBtnEmcHitsGlobal;
525 TGCheckButton* fChkBtnEmcHitsEast;
526 TGCheckButton* fChkBtnEmcHitsBarrel;
527 TGCheckButton* fChkBtnEmcHitsWest;
528 TGCheckButton* fChkBtnEmcHitsSide;
529 TGCheckButton* fChkBtnMucHitsGlobal;
530 TGCheckButton* fChkBtnMucHitsEast;
531 TGCheckButton* fChkBtnMucHitsBarrel;
532 TGCheckButton* fChkBtnMucHitsWest;
534 TGCheckButton* fChkBtnTracksGlobal;
535 TGCheckButton* fChkBtnTracksMdc;
536 TGCheckButton* fChkBtnTracksIdeal;
537 TGCheckButton* fChkBtnTracksTof;
538 TGCheckButton* fChkBtnTracksEmc;
539 TGCheckButton* fChkBtnTracksMuc;
540 TGCheckButton* fChkBtnTracksExt;
541 TGCheckButton* fChkBtnMCTruthTrack;
543 TGCheckButton* fChkBtnMdcGlobal;
544 TGCheckButton* fChkBtnMdcTubes;
545 TGCheckButton* fChkBtnMdcWires;
546 TGCheckButton* fChkBtnTofGlobal;
547 TGCheckButton* fChkBtnTofEast;
548 TGCheckButton* fChkBtnTofBarrel;
549 TGCheckButton* fChkBtnTofWest;
550 TGCheckButton* fChkBtnEmcGlobal;
551 TGCheckButton* fChkBtnEmcEast;
552 TGCheckButton* fChkBtnEmcBarrel;
553 TGCheckButton* fChkBtnEmcWest;
554 TGCheckButton* fChkBtnEmcSide;
555 TGCheckButton* fChkBtnMucGlobal;
556 TGCheckButton* fChkBtnMucEast;
557 TGCheckButton* fChkBtnMucBarrel;
558 TGCheckButton* fChkBtnMucWest;
559 TGCheckButton* fChkBtnMucStrips;
561 TGCheckButton* fChkBtnBeamPipe;
562 TGCheckButton* fChkBtnZRPlaneOnXY;
563 TGCheckButton* fChkBtnAxis;
565 TGCheckButton* fChkBtnMdcTOverflowGlobal;
566 TGCheckButton* fChkBtnMdcQOverflowGlobal;
567 TGCheckButton* fChkBtnMdcTMatchGlobal;
568 TGCheckButton* fChkBtnMdcQMatchGlobal;
569 TGCheckButton* fChkBtnMdcColorfulWireGlobal;
570 TGCheckButton* fChkBtnMdcTimeSubEvTimeGlobal;
571 TGCheckButton* fChkBtnTofTMatchGlobal;
572 TGCheckButton* fChkBtnTofQMatchGlobal;
574 TGNumberEntry* fNumEntryMagnetic;
579 Long64_t fBesEventNo;
580 Long64_t fCurrentEvent;
581 Int_t fEventPlaySpeed;
582 Bool_t fAutoDisplayEvent;
583 TTimer* fAutoDisplayEventTimer;
585 Double_t fMoveFactor;
586 Double_t fRotateStep;
588 Double_t fRotateSpeed;
590 TTimer* fAutoRotateTimer;
591 Int_t fAutoRotateClockWise;
592 Int_t fAutoRotateTheta;
593 Int_t fAutoRotatePhi;
594 Int_t fAutoRotatePsi;
598 Double_t fViewThetaPreStep;
599 Double_t fViewPhiPreStep;
601 Double_t fHomeX[3], fHomeY[3];
607 TGLayoutHints* fLayout;
618 std::string f_HelpText;
630 void SetMdcQNotOverflow( Bool_t input );
631 void SetMdcTFire( Bool_t input );
632 void SetMdcQFire( Bool_t input );
633 void SetMdcColorfulWire( Bool_t input );
634 void SetMdcTimeSubEvTime( Bool_t input );
635 void SetTofTMatch( Bool_t input );
636 void SetTofQMatch( Bool_t input );
639 BesClient(
const TGWindow* p,
const char*
title, UInt_t width, UInt_t height,
640 Option_t* option =
"", Int_t argc = 0,
char** argv = 0 );
677 virtual void OpenEventFile( TString filename,
bool auto_sel_geom =
false );
698 virtual Bool_t
GetEvent( Long64_t i,
bool openfile =
false,
bool sel_geom =
false );
714 virtual void ExecuteEvent( Int_t event, Int_t px, Int_t py, TObject* sel );
715 virtual void SetState( Int_t
id = -1 );
724 virtual void SetRange( Double_t& input, Double_t
min, Double_t
max );
737 if ( fRotateFPS != 0 ) fRotateStep = fRotateSpeed / fRotateFPS;
738 else fRotateStep = 0.0;