BOSS
7.0.7
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
10
#include "
BesVisLib/BesHeader.h
"
11
12
using namespace
std
;
13
14
#ifndef __CINT__
15
ClassImp
(
BesHeader
)
16
#endif
17
18
//______________________________________________________________-
19
//BesHeader
20
//BesVis Header
21
//
22
//
23
BesHeader::BesHeader
() : TPaveText(), TQObject() {
24
25
fMdcOn = kTRUE;
26
fTofOn = kTRUE;
27
fEmcOn = kTRUE;
28
}
29
30
31
//________________________________________________________________
32
33
BesHeader::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
42
Int_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
51
BesHeader::~BesHeader
(){
52
}
ClassImp
ClassImp(BesHeader) BesHeader
Definition:
BesHeader.cxx:15
BesHeader.h
BesHeader
Definition:
BesHeader.h:12
BesHeader::DistancetoPrimitive
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Definition:
BesHeader.cxx:42
BesHeader::BesHeader
BesHeader()
BesHeader::~BesHeader
virtual ~BesHeader()
Definition:
BesHeader.cxx:51
std
Definition:
RootEventData_rootcint.cxx:16
source
EventDisplay
BesVisLib
BesVisLib-00-05-04
src
BesHeader.cxx
Generated by
1.9.6