BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesHeader.cxx
Go to the documentation of this file.
1//
2// BesHeader.cxx
3//
4// $Author: tianhl $
5// $Date: 2007/12/10 07:50:42 $
6// $Revision: 1.2 $
7//
8
9#include "BesVisLib/BesHeader.h"
10
11using namespace std;
12
13#ifndef __CINT__
15#endif
16
17 //______________________________________________________________-
18 // BesHeader
19 // BesVis Header
20 //
21 //
23 : TPaveText(), TQObject() {
24
25 fMdcOn = kTRUE;
26 fTofOn = kTRUE;
27 fEmcOn = kTRUE;
28}
29
30//________________________________________________________________
31
32BesHeader::BesHeader( Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t* option )
33 : TPaveText( x1, y1, x2, y2, option ), TQObject() {
34
35 fMdcOn = kTRUE;
36 fTofOn = kTRUE;
37 fEmcOn = kTRUE;
38}
39
40//________________________________________________________________
41
42Int_t BesHeader::DistancetoPrimitive( Int_t px, Int_t py ) {
43 // return TPaveText::DistancetoPrimitive(px, py);
44
45 return 0; // so that mouse right button will not call TImage Menu.
46}
47
48//_____________________________________________________________
49
ClassImp(BesHeader) BesHeader
Definition BesHeader.cxx:14
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Definition BesHeader.cxx:42
virtual ~BesHeader()
Definition BesHeader.cxx:50