BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesHeader Class Reference

#include <BesHeader.h>

+ Inheritance diagram for BesHeader:

Public Member Functions

 BesHeader ()
 
 BesHeader (Double_t x1, Double_t y1, Double_t x2, Double_t y2, Option_t *option)
 
virtual ~BesHeader ()
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
void SetMdcOn (Bool_t mdcOn)
 
Bool_t GetMdcOn ()
 
void TransferMdcOn (Bool_t input)
 
void SetTofOn (Bool_t tofOn)
 
Bool_t GetTofOn ()
 
void TransferTofOn (Bool_t input)
 
void SetEmcOn (Bool_t emcOn)
 
Bool_t GetEmcOn ()
 
void TransferEmcOn (Bool_t input)
 
virtual void Clear (Option_t *option="")
 
virtual void DeleteText ()
 
virtual void EditText ()
 
virtual void InsertLine ()
 
virtual void InsertText (const char *label)
 
virtual void ReadFile (const char *filename, Option_t *option="", Int_t nlines=50, Int_t fromline=0)
 
virtual void SetAllWith (const char *text, Option_t *option, Double_t value)
 
virtual void SetLabel (const char *label)
 
virtual void SetMargin (Float_t margin=0.05)
 
virtual void SetBorderSize (Int_t bordersize=4)
 
virtual void SetCornerRadius (Double_t rad=0.2)
 
virtual void SetName (const char *name="")
 
virtual void Delete (Option_t *option="")
 
virtual void DrawClass ()
 
virtual TObject * DrawClone (Option_t *option="")
 
virtual void Dump ()
 
virtual void Inspect ()
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetLineAttributes ()
 
virtual void SetFillAttributes ()
 
virtual void SetTextAttributes ()
 
virtual void SetTextAngle (Float_t tangle=0)
 

Detailed Description

Definition at line 12 of file BesHeader.h.

Constructor & Destructor Documentation

◆ BesHeader() [1/2]

BesHeader::BesHeader ( )

◆ BesHeader() [2/2]

BesHeader::BesHeader ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
Option_t *  option 
)

Definition at line 33 of file BesHeader.cxx.

33 : TPaveText(x1,y1,x2,y2,option), TQObject(){
34
35 fMdcOn = kTRUE;
36 fTofOn = kTRUE;
37 fEmcOn = kTRUE;
38}

◆ ~BesHeader()

BesHeader::~BesHeader ( )
virtual

Definition at line 51 of file BesHeader.cxx.

51 {
52}

Member Function Documentation

◆ Clear()

virtual void BesHeader::Clear ( Option_t *  option = "")
inlinevirtual

Definition at line 42 of file BesHeader.h.

42{TPaveText ::Clear(option);}

Referenced by BesVisDisplay::DrawHeader().

◆ Delete()

virtual void BesHeader::Delete ( Option_t *  option = "")
inlinevirtual

Definition at line 57 of file BesHeader.h.

57{TObject::Delete(option);}

◆ DeleteText()

virtual void BesHeader::DeleteText ( )
inlinevirtual

Definition at line 44 of file BesHeader.h.

44{TPaveText::DeleteText();}

◆ DistancetoPrimitive()

Int_t BesHeader::DistancetoPrimitive ( Int_t  px,
Int_t  py 
)
virtual

Definition at line 42 of file BesHeader.cxx.

43{
44 //return TPaveText::DistancetoPrimitive(px, py);
45
46 return 0; // so that mouse right button will not call TImage Menu.
47}

Referenced by BesVisDisplay::DistancetoPrimitive().

◆ DrawClass()

virtual void BesHeader::DrawClass ( )
inlinevirtual

Definition at line 58 of file BesHeader.h.

58{TObject::DrawClass() ;}

◆ DrawClone()

virtual TObject * BesHeader::DrawClone ( Option_t *  option = "")
inlinevirtual

Definition at line 59 of file BesHeader.h.

59{return TObject::DrawClone(option) ;}

◆ Dump()

virtual void BesHeader::Dump ( )
inlinevirtual

Definition at line 60 of file BesHeader.h.

60{TObject::Dump() ;}

◆ EditText()

virtual void BesHeader::EditText ( )
inlinevirtual

Definition at line 45 of file BesHeader.h.

45{TPaveText::EditText();}

◆ GetEmcOn()

Bool_t BesHeader::GetEmcOn ( )
inline

Definition at line 39 of file BesHeader.h.

39{ return fEmcOn; }

◆ GetMdcOn()

Bool_t BesHeader::GetMdcOn ( )
inline

Definition at line 31 of file BesHeader.h.

31{ return fMdcOn; }

◆ GetTofOn()

Bool_t BesHeader::GetTofOn ( )
inline

Definition at line 35 of file BesHeader.h.

35{ return fTofOn; }

◆ InsertLine()

virtual void BesHeader::InsertLine ( )
inlinevirtual

Definition at line 46 of file BesHeader.h.

46{TPaveText::InsertLine();}

◆ InsertText()

virtual void BesHeader::InsertText ( const char *  label)
inlinevirtual

Definition at line 47 of file BesHeader.h.

47{TPaveText::InsertText(label);}

◆ Inspect()

virtual void BesHeader::Inspect ( )
inlinevirtual

Definition at line 61 of file BesHeader.h.

61{TObject :: Inspect() ;}

◆ ReadFile()

virtual void BesHeader::ReadFile ( const char *  filename,
Option_t *  option = "",
Int_t  nlines = 50,
Int_t  fromline = 0 
)
inlinevirtual

Definition at line 48 of file BesHeader.h.

48{TPaveText::ReadFile(filename, option, nlines, fromline);}

◆ SetAllWith()

virtual void BesHeader::SetAllWith ( const char *  text,
Option_t *  option,
Double_t  value 
)
inlinevirtual

Definition at line 49 of file BesHeader.h.

49{TPaveText::SetAllWith(text, option, value);}

◆ SetBorderSize()

virtual void BesHeader::SetBorderSize ( Int_t  bordersize = 4)
inlinevirtual

Definition at line 53 of file BesHeader.h.

53{TPave::SetBorderSize(bordersize);}

Referenced by BesVisDisplay::Init().

◆ SetCornerRadius()

virtual void BesHeader::SetCornerRadius ( Double_t  rad = 0.2)
inlinevirtual

Definition at line 54 of file BesHeader.h.

54{TPave::SetCornerRadius(rad);}
const float rad
Definition: vector3.h:134

◆ SetDrawOption()

virtual void BesHeader::SetDrawOption ( Option_t *  option = "")
inlinevirtual

Definition at line 62 of file BesHeader.h.

62{TObject::SetDrawOption(option);}

◆ SetEmcOn()

void BesHeader::SetEmcOn ( Bool_t  emcOn)
inline

Definition at line 38 of file BesHeader.h.

38{ fEmcOn = emcOn; TransferEmcOn(fEmcOn);} // *TOGGLE*
void TransferEmcOn(Bool_t input)
Definition: BesHeader.h:40

◆ SetFillAttributes()

virtual void BesHeader::SetFillAttributes ( )
inlinevirtual

Definition at line 64 of file BesHeader.h.

64{TAttFill::SetFillAttributes();}

◆ SetLabel()

virtual void BesHeader::SetLabel ( const char *  label)
inlinevirtual

Definition at line 50 of file BesHeader.h.

50{TPaveText::SetLabel(label);}

◆ SetLineAttributes()

virtual void BesHeader::SetLineAttributes ( )
inlinevirtual

Definition at line 63 of file BesHeader.h.

63{TAttLine::SetLineAttributes();}

◆ SetMargin()

virtual void BesHeader::SetMargin ( Float_t  margin = 0.05)
inlinevirtual

Definition at line 51 of file BesHeader.h.

51{TPaveText::SetMargin(margin);}

◆ SetMdcOn()

void BesHeader::SetMdcOn ( Bool_t  mdcOn)
inline

Definition at line 30 of file BesHeader.h.

30{ fMdcOn = mdcOn; TransferMdcOn(fMdcOn);} // *TOGGLE*
void TransferMdcOn(Bool_t input)
Definition: BesHeader.h:32

◆ SetName()

virtual void BesHeader::SetName ( const char *  name = "")
inlinevirtual

Definition at line 55 of file BesHeader.h.

55{TPave::SetName(name);}

◆ SetTextAngle()

virtual void BesHeader::SetTextAngle ( Float_t  tangle = 0)
inlinevirtual

Definition at line 66 of file BesHeader.h.

66{TAttText::SetTextAngle(tangle) ;}

◆ SetTextAttributes()

virtual void BesHeader::SetTextAttributes ( )
inlinevirtual

Definition at line 65 of file BesHeader.h.

65{TAttText::SetTextAttributes();}

◆ SetTofOn()

void BesHeader::SetTofOn ( Bool_t  tofOn)
inline

Definition at line 34 of file BesHeader.h.

34{ fTofOn = tofOn; TransferTofOn(fTofOn);} // *TOGGLE*
void TransferTofOn(Bool_t input)
Definition: BesHeader.h:36

◆ TransferEmcOn()

void BesHeader::TransferEmcOn ( Bool_t  input)
inline

Definition at line 40 of file BesHeader.h.

40{ Emit("TransferEmcOn(Bool_t)",input); } // *SIGNAL*

Referenced by SetEmcOn().

◆ TransferMdcOn()

void BesHeader::TransferMdcOn ( Bool_t  input)
inline

Definition at line 32 of file BesHeader.h.

32{ Emit("TransferMdcOn(Bool_t)",input); } // *SIGNAL*

Referenced by SetMdcOn().

◆ TransferTofOn()

void BesHeader::TransferTofOn ( Bool_t  input)
inline

Definition at line 36 of file BesHeader.h.

36{ Emit("TransferTofOn(Bool_t)",input); } // *SIGNAL*

Referenced by SetTofOn().


The documentation for this class was generated from the following files: