BOSS 7.0.5
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)
 
 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

Constructor & Destructor Documentation

◆ BesHeader() [1/4]

BesHeader::BesHeader ( )

◆ BesHeader() [2/4]

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() [1/2]

BesHeader::~BesHeader ( )
virtual

Definition at line 51 of file BesHeader.cxx.

51 {
52}

◆ BesHeader() [3/4]

BesHeader::BesHeader ( )

◆ BesHeader() [4/4]

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

◆ ~BesHeader() [2/2]

virtual BesHeader::~BesHeader ( )
virtual

Member Function Documentation

◆ Clear() [1/2]

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

Definition at line 42 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

42{TPaveText ::Clear(option);}

Referenced by BesVisDisplay::DrawHeader().

◆ Clear() [2/2]

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

Definition at line 42 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

42{TPaveText ::Clear(option);}

◆ Delete() [1/2]

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

Definition at line 57 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

57{TObject::Delete(option);}

◆ Delete() [2/2]

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

Definition at line 57 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

57{TObject::Delete(option);}

◆ DeleteText() [1/2]

virtual void BesHeader::DeleteText ( )
inlinevirtual

Definition at line 44 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

44{TPaveText::DeleteText();}

◆ DeleteText() [2/2]

virtual void BesHeader::DeleteText ( )
inlinevirtual

Definition at line 44 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

44{TPaveText::DeleteText();}

◆ DistancetoPrimitive() [1/2]

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().

◆ DistancetoPrimitive() [2/2]

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

◆ DrawClass() [1/2]

virtual void BesHeader::DrawClass ( )
inlinevirtual

Definition at line 58 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

58{TObject::DrawClass() ;}

◆ DrawClass() [2/2]

virtual void BesHeader::DrawClass ( )
inlinevirtual

Definition at line 58 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

58{TObject::DrawClass() ;}

◆ DrawClone() [1/2]

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

Definition at line 59 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

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

◆ DrawClone() [2/2]

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

Definition at line 59 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

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

◆ Dump() [1/2]

virtual void BesHeader::Dump ( )
inlinevirtual

Definition at line 60 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

60{TObject::Dump() ;}

◆ Dump() [2/2]

virtual void BesHeader::Dump ( )
inlinevirtual

Definition at line 60 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

60{TObject::Dump() ;}

◆ EditText() [1/2]

virtual void BesHeader::EditText ( )
inlinevirtual

Definition at line 45 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

45{TPaveText::EditText();}

◆ EditText() [2/2]

virtual void BesHeader::EditText ( )
inlinevirtual

Definition at line 45 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

45{TPaveText::EditText();}

◆ GetEmcOn() [1/2]

Bool_t BesHeader::GetEmcOn ( )
inline

Definition at line 39 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

39{ return fEmcOn; }

◆ GetEmcOn() [2/2]

Bool_t BesHeader::GetEmcOn ( )
inline

Definition at line 39 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

39{ return fEmcOn; }

◆ GetMdcOn() [1/2]

Bool_t BesHeader::GetMdcOn ( )
inline

Definition at line 31 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

31{ return fMdcOn; }

◆ GetMdcOn() [2/2]

Bool_t BesHeader::GetMdcOn ( )
inline

Definition at line 31 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

31{ return fMdcOn; }

◆ GetTofOn() [1/2]

Bool_t BesHeader::GetTofOn ( )
inline

Definition at line 35 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

35{ return fTofOn; }

◆ GetTofOn() [2/2]

Bool_t BesHeader::GetTofOn ( )
inline

Definition at line 35 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

35{ return fTofOn; }

◆ InsertLine() [1/2]

virtual void BesHeader::InsertLine ( )
inlinevirtual

Definition at line 46 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

46{TPaveText::InsertLine();}

◆ InsertLine() [2/2]

virtual void BesHeader::InsertLine ( )
inlinevirtual

Definition at line 46 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

46{TPaveText::InsertLine();}

◆ InsertText() [1/2]

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

Definition at line 47 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

47{TPaveText::InsertText(label);}

◆ InsertText() [2/2]

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

Definition at line 47 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

47{TPaveText::InsertText(label);}

◆ Inspect() [1/2]

virtual void BesHeader::Inspect ( )
inlinevirtual

Definition at line 61 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

61{TObject :: Inspect() ;}

◆ Inspect() [2/2]

virtual void BesHeader::Inspect ( )
inlinevirtual

Definition at line 61 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

61{TObject :: Inspect() ;}

◆ ReadFile() [1/2]

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 EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

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

◆ ReadFile() [2/2]

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 InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

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

◆ SetAllWith() [1/2]

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

Definition at line 49 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

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

◆ SetAllWith() [2/2]

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

Definition at line 49 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

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

◆ SetBorderSize() [1/2]

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

Definition at line 53 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

53{TPave::SetBorderSize(bordersize);}

Referenced by BesVisDisplay::Init().

◆ SetBorderSize() [2/2]

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

Definition at line 53 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

53{TPave::SetBorderSize(bordersize);}

◆ SetCornerRadius() [1/2]

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

◆ SetCornerRadius() [2/2]

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

Definition at line 54 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

54{TPave::SetCornerRadius(rad);}

◆ SetDrawOption() [1/2]

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

Definition at line 62 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

62{TObject::SetDrawOption(option);}

◆ SetDrawOption() [2/2]

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

Definition at line 62 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

62{TObject::SetDrawOption(option);}

◆ SetEmcOn() [1/2]

void BesHeader::SetEmcOn ( Bool_t  emcOn)
inline

Definition at line 38 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

38{ fEmcOn = emcOn; TransferEmcOn(fEmcOn);} // *TOGGLE*

◆ SetEmcOn() [2/2]

void BesHeader::SetEmcOn ( Bool_t  emcOn)
inline

Definition at line 38 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

38{ fEmcOn = emcOn; TransferEmcOn(fEmcOn);} // *TOGGLE*

◆ SetFillAttributes() [1/2]

virtual void BesHeader::SetFillAttributes ( )
inlinevirtual

Definition at line 64 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

64{TAttFill::SetFillAttributes();}

◆ SetFillAttributes() [2/2]

virtual void BesHeader::SetFillAttributes ( )
inlinevirtual

Definition at line 64 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

64{TAttFill::SetFillAttributes();}

◆ SetLabel() [1/2]

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

Definition at line 50 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

50{TPaveText::SetLabel(label);}

◆ SetLabel() [2/2]

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

Definition at line 50 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

50{TPaveText::SetLabel(label);}

◆ SetLineAttributes() [1/2]

virtual void BesHeader::SetLineAttributes ( )
inlinevirtual

Definition at line 63 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

63{TAttLine::SetLineAttributes();}

◆ SetLineAttributes() [2/2]

virtual void BesHeader::SetLineAttributes ( )
inlinevirtual

Definition at line 63 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

63{TAttLine::SetLineAttributes();}

◆ SetMargin() [1/2]

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

Definition at line 51 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

51{TPaveText::SetMargin(margin);}

◆ SetMargin() [2/2]

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

Definition at line 51 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

51{TPaveText::SetMargin(margin);}

◆ SetMdcOn() [1/2]

void BesHeader::SetMdcOn ( Bool_t  mdcOn)
inline

Definition at line 30 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

30{ fMdcOn = mdcOn; TransferMdcOn(fMdcOn);} // *TOGGLE*

◆ SetMdcOn() [2/2]

void BesHeader::SetMdcOn ( Bool_t  mdcOn)
inline

Definition at line 30 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

30{ fMdcOn = mdcOn; TransferMdcOn(fMdcOn);} // *TOGGLE*

◆ SetName() [1/2]

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

Definition at line 55 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

55{TPave::SetName(name);}

◆ SetName() [2/2]

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

Definition at line 55 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

55{TPave::SetName(name);}

◆ SetTextAngle() [1/2]

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

Definition at line 66 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

66{TAttText::SetTextAngle(tangle) ;}

◆ SetTextAngle() [2/2]

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

Definition at line 66 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

66{TAttText::SetTextAngle(tangle) ;}

◆ SetTextAttributes() [1/2]

virtual void BesHeader::SetTextAttributes ( )
inlinevirtual

Definition at line 65 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

65{TAttText::SetTextAttributes();}

◆ SetTextAttributes() [2/2]

virtual void BesHeader::SetTextAttributes ( )
inlinevirtual

Definition at line 65 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

65{TAttText::SetTextAttributes();}

◆ SetTofOn() [1/2]

void BesHeader::SetTofOn ( Bool_t  tofOn)
inline

Definition at line 34 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

34{ fTofOn = tofOn; TransferTofOn(fTofOn);} // *TOGGLE*

◆ SetTofOn() [2/2]

void BesHeader::SetTofOn ( Bool_t  tofOn)
inline

Definition at line 34 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

34{ fTofOn = tofOn; TransferTofOn(fTofOn);} // *TOGGLE*

◆ TransferEmcOn() [1/2]

void BesHeader::TransferEmcOn ( Bool_t  input)
inline

Definition at line 40 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

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

Referenced by SetEmcOn().

◆ TransferEmcOn() [2/2]

void BesHeader::TransferEmcOn ( Bool_t  input)
inline

Definition at line 40 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

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

◆ TransferMdcOn() [1/2]

void BesHeader::TransferMdcOn ( Bool_t  input)
inline

Definition at line 32 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

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

Referenced by SetMdcOn().

◆ TransferMdcOn() [2/2]

void BesHeader::TransferMdcOn ( Bool_t  input)
inline

Definition at line 32 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

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

◆ TransferTofOn() [1/2]

void BesHeader::TransferTofOn ( Bool_t  input)
inline

Definition at line 36 of file EventDisplay/BesVisLib/BesVisLib-00-05-04/BesVisLib/BesHeader.h.

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

Referenced by SetTofOn().

◆ TransferTofOn() [2/2]

void BesHeader::TransferTofOn ( Bool_t  input)
inline

Definition at line 36 of file InstallArea/include/BesVisLib/BesVisLib/BesHeader.h.

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

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