/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/EventDisplay/BesVisLib/BesVisLib-00-04-04/src/BesHeader.cxx

Go to the documentation of this file.
00001 //
00002 // BesHeader.cxx
00003 //
00004 // $Author: tianhl $
00005 // $Date: 2007/12/10 07:50:42 $
00006 // $Revision: 1.2 $
00007 //
00008 
00009 
00010 #include "BesVisLib/BesHeader.h"
00011 
00012 using namespace std;
00013 
00014 #ifndef __CINT__
00015 ClassImp(BesHeader)
00016 #endif
00017 
00018 //______________________________________________________________-
00019 //BesHeader
00020 //BesVis Header
00021 //
00022 //
00023 BesHeader::BesHeader() : TPaveText(), TQObject() {
00024 
00025     fMdcOn   = kTRUE;
00026     fTofOn   = kTRUE;
00027     fEmcOn   = kTRUE;
00028 }
00029 
00030 
00031 //________________________________________________________________
00032 
00033 BesHeader::BesHeader(Double_t x1,Double_t y1,Double_t x2,Double_t y2,Option_t *option) : TPaveText(x1,y1,x2,y2,option), TQObject(){
00034 
00035     fMdcOn   = kTRUE;
00036     fTofOn   = kTRUE;
00037     fEmcOn   = kTRUE;
00038 }
00039 
00040 //________________________________________________________________
00041 
00042 Int_t BesHeader::DistancetoPrimitive(Int_t px, Int_t py)
00043 {
00044     //return TPaveText::DistancetoPrimitive(px, py);
00045 
00046     return 0;  // so that mouse right button will not call TImage Menu.
00047 }
00048 
00049 //_____________________________________________________________
00050 
00051 BesHeader::~BesHeader(){
00052 }

Generated on Tue Nov 29 23:12:04 2016 for BOSS_7.0.2 by  doxygen 1.4.7