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