GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | Static Private Attributes | List of all members
TGo4Marker Class Reference

#include <TGo4Marker.h>

+ Inheritance diagram for TGo4Marker:

Public Member Functions

 TGo4Marker ()
 
 TGo4Marker (Double_t x, Double_t y, Int_t style)
 
virtual ~TGo4Marker ()
 
void Print (Option_t *opt="") const override
 
void Paint (Option_t *opt="") override
 
void Draw (Option_t *opt="") override
 
virtual void UnDraw (Option_t *opt="")
 
void Pop () override
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 
virtual TGo4MarkerPainterCreatePainter ()
 
void DeletePainter ()
 
void SetVisible (Bool_t on)
 
Bool_t IsVisible () const
 
virtual void SetName (const char *name)
 
void SetToBin (Int_t xbin, Int_t ybin=0)
 
void SetLabelDraw (Bool_t on)
 
Bool_t HasLabel () const
 
void SetLineDraw (Bool_t on)
 
Bool_t HasConnector () const
 
void SetXDraw (Bool_t on)
 
Bool_t IsXDraw () const
 
void SetYDraw (Bool_t on)
 
Bool_t IsYDraw () const
 
void SetXbinDraw (Bool_t on)
 
Bool_t IsXbinDraw () const
 
void SetYbinDraw (Bool_t on)
 
Bool_t IsYbinDraw () const
 
void SetContDraw (Bool_t on)
 
Bool_t IsContDraw () const
 
const char * GetNumFormat () const
 
void SetNumFormat (const char *fmt="%.4E")
 
void SaveLabelStyle ()
 
void ResetLabel ()
 
void InitLabelStyle ()
 
void SetHistogram (TH1 *histo)
 
TH1 * GetHistogram () const
 
const char * GetName () const override
 
void SetXY (Double_t x, Double_t y)
 
Int_t GetXbin () const
 
Int_t GetYbin () const
 
Int_t GetCont () const
 
Double_t GetLabelX () const
 
Double_t GetLabelY () const
 
TVirtualPad * GetDrawPad () const
 
Bool_t CheckDrawPad () const
 
Bool_t CheckHistogram () const
 

Static Public Member Functions

static Int_t GetInstances ()
 
static void SetGlobalStyle (Bool_t HASLABEL, Bool_t HASCONNECTOR, Bool_t XDRAW, Bool_t YDRAW, Bool_t XBINDRAW, Bool_t YBINDRAW, Bool_t CONTDRAW, const char *NUMFORMAT)
 
static void GetGlobalStyle (Bool_t &HASLABEL, Bool_t &HASCONNECTOR, Bool_t &XDRAW, Bool_t &YDRAW, Bool_t &XBINDRAW, Bool_t &YBINDRAW, Bool_t &CONTDRAW, TString &NUMFORMAT)
 

Static Public Attributes

static Bool_t fgbHASLABEL = kTRUE
 
static Bool_t fgbHASCONNECTOR = kTRUE
 
static Bool_t fgbXDRAW = kTRUE
 
static Bool_t fgbYDRAW = kTRUE
 
static Bool_t fgbXBINDRAW = kFALSE
 
static Bool_t fgbYBINDRAW = kFALSE
 
static Bool_t fgbCONTDRAW = kTRUE
 
static TString fgxNUMFORMAT = "%.4E"
 

Protected Member Functions

void SetPainted (Bool_t on)
 
Bool_t IsPainted () const
 
void SetDrawPad (TVirtualPad *pad)
 

Protected Attributes

TGo4MarkerPainterfxPainter {nullptr}
 

Private Attributes

TString fxName
 
Bool_t fbIsPainted {kFALSE}
 
Bool_t fbVisible {kTRUE}
 
Bool_t fbHasLabel {kTRUE}
 
Bool_t fbHasConnector {kTRUE}
 
Bool_t fbXDraw {kTRUE}
 
Bool_t fbYDraw {kTRUE}
 
Bool_t fbXbinDraw {kTRUE}
 
Bool_t fbYbinDraw {kTRUE}
 
Bool_t fbContDraw {kTRUE}
 
TString fxNumFormat
 
TH1 * fxHisto {nullptr}
 
TVirtualPad * fxDrawPad {nullptr}
 

Static Private Attributes

static UInt_t fguInstanceCounter = 0
 

Detailed Description

Extended graphical marker class for go4 condition editor and viewpanel. Offers coordinate label updated from pad. Scans work histogram for bin numbers and contents.

Author
Joern Adamczewski
Since
06/2004

Definition at line 32 of file TGo4Marker.h.

Constructor & Destructor Documentation

◆ TGo4Marker() [1/2]

TGo4Marker::TGo4Marker ( )

Definition at line 50 of file TGo4Marker.cxx.

References InitLabelStyle().

◆ TGo4Marker() [2/2]

TGo4Marker::TGo4Marker ( Double_t  x,
Double_t  y,
Int_t  style 
)

Definition at line 42 of file TGo4Marker.cxx.

References fguInstanceCounter, fxName, and InitLabelStyle().

◆ ~TGo4Marker()

TGo4Marker::~TGo4Marker ( )
virtual

Definition at line 57 of file TGo4Marker.cxx.

References fxPainter, and UnDraw().

Member Function Documentation

◆ CheckDrawPad()

Bool_t TGo4Marker::CheckDrawPad ( ) const

True if current draw pad is still existing

Definition at line 69 of file TGo4Marker.cxx.

References fxDrawPad.

Referenced by GetCont(), GetDrawPad(), GetLabelX(), GetLabelY(), GetXbin(), GetYbin(), and Paint().

◆ CheckHistogram()

Bool_t TGo4Marker::CheckHistogram ( ) const

True if current histogram is still existing

Definition at line 79 of file TGo4Marker.cxx.

References fxHisto.

Referenced by GetCont(), GetDrawPad(), GetXbin(), GetYbin(), and SetToBin().

◆ CreatePainter()

TGo4MarkerPainter * TGo4Marker::CreatePainter ( )
virtual

Factory method to generate (optional subclass) implementation for painter

Definition at line 142 of file TGo4Marker.cxx.

References GetName(), and TGo4MarkerPainter::SetMarker().

Referenced by Paint().

◆ DeletePainter()

void TGo4Marker::DeletePainter ( )

Definition at line 293 of file TGo4Marker.cxx.

References fxPainter.

Referenced by TGo4ViewPanel::MakePictureForPad().

◆ Draw()

void TGo4Marker::Draw ( Option_t *  opt = "")
override

Draw this marker on current pad

Definition at line 101 of file TGo4Marker.cxx.

References IsVisible(), SetDrawPad(), SetPainted(), and UnDraw().

Referenced by TGo4ViewPanel::PadClickedSlot().

◆ ExecuteEvent()

void TGo4Marker::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
override

Reimplemented to pop our labels to front when selected

Definition at line 131 of file TGo4Marker.cxx.

References TGo4MarkerPainter::DisplayToFront(), and fxPainter.

◆ GetCont()

Int_t TGo4Marker::GetCont ( ) const

Deliver bin content of work histogram at marker position

Definition at line 180 of file TGo4Marker.cxx.

References CheckDrawPad(), CheckHistogram(), fxHisto, GetXbin(), and GetYbin().

Referenced by TGo4MarkerPainter::PaintLabel(), Print(), and SetXY().

◆ GetDrawPad()

TVirtualPad* TGo4Marker::GetDrawPad ( ) const
inline

Definition at line 122 of file TGo4Marker.h.

References CheckDrawPad(), CheckHistogram(), and fxDrawPad.

Referenced by Paint().

◆ GetGlobalStyle()

void TGo4Marker::GetGlobalStyle ( Bool_t &  HASLABEL,
Bool_t &  HASCONNECTOR,
Bool_t &  XDRAW,
Bool_t &  YDRAW,
Bool_t &  XBINDRAW,
Bool_t &  YBINDRAW,
Bool_t &  CONTDRAW,
TString &  NUMFORMAT 
)
static

◆ GetHistogram()

TH1* TGo4Marker::GetHistogram ( ) const
inline

Definition at line 98 of file TGo4Marker.h.

References fxHisto.

Referenced by TGo4ViewPanel::CheckObjectsAssigments(), TGo4MarkerPainter::PaintLabel(), and Print().

◆ GetInstances()

Int_t TGo4Marker::GetInstances ( )
static

Definition at line 36 of file TGo4Marker.cxx.

References fguInstanceCounter.

Referenced by TGo4ViewPanel::PadClickedSlot(), and SetXY().

◆ GetLabelX()

Double_t TGo4Marker::GetLabelX ( ) const

Calculate initial label coordinate from marker position

Definition at line 188 of file TGo4Marker.cxx.

References CheckDrawPad(), and fxDrawPad.

Referenced by TGo4MarkerPainter::PaintLabel(), and SetXY().

◆ GetLabelY()

Double_t TGo4Marker::GetLabelY ( ) const

Calculate initial label coordinate from marker position

Definition at line 197 of file TGo4Marker.cxx.

References CheckDrawPad(), and fxDrawPad.

Referenced by TGo4MarkerPainter::PaintLabel(), and SetXY().

◆ GetName()

const char* TGo4Marker::GetName ( ) const
inlineoverride

TMarker is not TNamed, so we implement name ourself

Definition at line 101 of file TGo4Marker.h.

References fxName.

Referenced by CreatePainter(), TGo4MarkerPainter::PaintLabel(), Print(), and TGo4ViewPanel::ProcessCanvasAdopt().

◆ GetNumFormat()

const char* TGo4Marker::GetNumFormat ( ) const
inline

Definition at line 85 of file TGo4Marker.h.

References fxNumFormat.

Referenced by TGo4MarkerPainter::PaintLabel().

◆ GetXbin()

Int_t TGo4Marker::GetXbin ( ) const

Deliver x axis bin number of work histogram at marker position

Definition at line 166 of file TGo4Marker.cxx.

References CheckDrawPad(), CheckHistogram(), fxDrawPad, and fxHisto.

Referenced by GetCont(), TGo4MarkerPainter::PaintLabel(), Print(), and SetXY().

◆ GetYbin()

Int_t TGo4Marker::GetYbin ( ) const

Deliver y axis bin number of work histogram at marker position

Definition at line 173 of file TGo4Marker.cxx.

References CheckDrawPad(), CheckHistogram(), fxDrawPad, and fxHisto.

Referenced by GetCont(), TGo4MarkerPainter::PaintLabel(), Print(), and SetXY().

◆ HasConnector()

Bool_t TGo4Marker::HasConnector ( ) const
inline

Definition at line 73 of file TGo4Marker.h.

References fbHasConnector.

Referenced by TGo4MarkerPainter::PaintConnector().

◆ HasLabel()

Bool_t TGo4Marker::HasLabel ( ) const
inline

Definition at line 71 of file TGo4Marker.h.

References fbHasLabel.

Referenced by TGo4MarkerPainter::PaintLabel().

◆ InitLabelStyle()

void TGo4Marker::InitLabelStyle ( )

Initialize label setup from static default variables

Definition at line 245 of file TGo4Marker.cxx.

References fbContDraw, fbHasConnector, fbHasLabel, fbXbinDraw, fbXDraw, fbYbinDraw, fbYDraw, fgbCONTDRAW, fgbHASCONNECTOR, fgbHASLABEL, fgbXBINDRAW, fgbXDRAW, fgbYBINDRAW, fgbYDRAW, fgxNUMFORMAT, and fxNumFormat.

Referenced by SetNumFormat(), and TGo4Marker().

◆ IsContDraw()

Bool_t TGo4Marker::IsContDraw ( ) const
inline

Definition at line 83 of file TGo4Marker.h.

References fbContDraw.

Referenced by TGo4MarkerPainter::PaintLabel().

◆ IsPainted()

Bool_t TGo4Marker::IsPainted ( ) const
inlineprotected

Definition at line 167 of file TGo4Marker.h.

References fbIsPainted, and SetDrawPad().

Referenced by Paint().

◆ IsVisible()

Bool_t TGo4Marker::IsVisible ( ) const
inline

Definition at line 64 of file TGo4Marker.h.

References fbVisible.

Referenced by Draw(), and Paint().

◆ IsXbinDraw()

Bool_t TGo4Marker::IsXbinDraw ( ) const
inline

Definition at line 79 of file TGo4Marker.h.

References fbXbinDraw.

Referenced by TGo4MarkerPainter::PaintLabel().

◆ IsXDraw()

Bool_t TGo4Marker::IsXDraw ( ) const
inline

Definition at line 75 of file TGo4Marker.h.

References fbXDraw.

Referenced by TGo4MarkerPainter::PaintLabel().

◆ IsYbinDraw()

Bool_t TGo4Marker::IsYbinDraw ( ) const
inline

Definition at line 81 of file TGo4Marker.h.

References fbYbinDraw.

Referenced by TGo4MarkerPainter::PaintLabel().

◆ IsYDraw()

Bool_t TGo4Marker::IsYDraw ( ) const
inline

Definition at line 77 of file TGo4Marker.h.

References fbYDraw.

Referenced by TGo4MarkerPainter::PaintLabel().

◆ Paint()

void TGo4Marker::Paint ( Option_t *  opt = "")
override

Display marker with plain root canvas and in go4 viewpanel

Definition at line 85 of file TGo4Marker.cxx.

References CheckDrawPad(), CreatePainter(), fxPainter, GetDrawPad(), IsPainted(), IsVisible(), TGo4MarkerPainter::PaintLabel(), SetDrawPad(), and SetPainted().

◆ Pop()

void TGo4Marker::Pop ( )
override

Re-implement TObject method to pop all our views to front

Definition at line 125 of file TGo4Marker.cxx.

References TGo4MarkerPainter::DisplayToFront(), and fxPainter.

◆ Print()

void TGo4Marker::Print ( Option_t *  opt = "") const
override

Implement standard root print. If option is "go4log", print to TGo4Log::Message. Otherwise use cout

Definition at line 210 of file TGo4Marker.cxx.

References GetCont(), GetHistogram(), GetName(), GetXbin(), GetYbin(), TGo4Log::Message(), and TGo4Status::PrintLine().

◆ ResetLabel()

void TGo4Marker::ResetLabel ( )

Will reset label position to defaults

Definition at line 285 of file TGo4Marker.cxx.

References fxPainter, TGo4MarkerPainter::PaintLabel(), and TGo4MarkerPainter::UnPaintLabel().

Referenced by SetNumFormat().

◆ SaveLabelStyle()

void TGo4Marker::SaveLabelStyle ( )

This will save draw flags into static default setup

Definition at line 233 of file TGo4Marker.cxx.

References fbContDraw, fbHasConnector, fbHasLabel, fbXbinDraw, fbXDraw, fbYbinDraw, fbYDraw, fgbCONTDRAW, fgbHASCONNECTOR, fgbHASLABEL, fgbXBINDRAW, fgbXDRAW, fgbYBINDRAW, fgbYDRAW, fgxNUMFORMAT, and fxNumFormat.

Referenced by SetNumFormat().

◆ SetContDraw()

void TGo4Marker::SetContDraw ( Bool_t  on)
inline

Definition at line 82 of file TGo4Marker.h.

References fbContDraw.

◆ SetDrawPad()

void TGo4Marker::SetDrawPad ( TVirtualPad *  pad)
protected

Definition at line 64 of file TGo4Marker.cxx.

References fxDrawPad.

Referenced by Draw(), IsPainted(), Paint(), and UnDraw().

◆ SetGlobalStyle()

void TGo4Marker::SetGlobalStyle ( Bool_t  HASLABEL,
Bool_t  HASCONNECTOR,
Bool_t  XDRAW,
Bool_t  YDRAW,
Bool_t  XBINDRAW,
Bool_t  YBINDRAW,
Bool_t  CONTDRAW,
const char *  NUMFORMAT 
)
static

◆ SetHistogram()

void TGo4Marker::SetHistogram ( TH1 *  histo)

◆ SetLabelDraw()

void TGo4Marker::SetLabelDraw ( Bool_t  on)
inline

Definition at line 70 of file TGo4Marker.h.

References fbHasLabel.

◆ SetLineDraw()

void TGo4Marker::SetLineDraw ( Bool_t  on)
inline

Definition at line 72 of file TGo4Marker.h.

References fbHasConnector.

◆ SetName()

virtual void TGo4Marker::SetName ( const char *  name)
inlinevirtual

Definition at line 65 of file TGo4Marker.h.

References fxName, and SetToBin().

◆ SetNumFormat()

void TGo4Marker::SetNumFormat ( const char *  fmt = "%.4E")
inline

Definition at line 86 of file TGo4Marker.h.

References fxNumFormat, InitLabelStyle(), ResetLabel(), SaveLabelStyle(), and SetHistogram().

◆ SetPainted()

void TGo4Marker::SetPainted ( Bool_t  on)
inlineprotected

Definition at line 166 of file TGo4Marker.h.

References fbIsPainted.

Referenced by Draw(), Paint(), and UnDraw().

◆ SetToBin()

void TGo4Marker::SetToBin ( Int_t  xbin,
Int_t  ybin = 0 
)

Set marker to position according to work histogram axis.

Definition at line 149 of file TGo4Marker.cxx.

References CheckHistogram(), and fxHisto.

Referenced by SetName().

◆ SetVisible()

void TGo4Marker::SetVisible ( Bool_t  on)
inline

Definition at line 63 of file TGo4Marker.h.

References fbVisible.

◆ SetXbinDraw()

void TGo4Marker::SetXbinDraw ( Bool_t  on)
inline

Definition at line 78 of file TGo4Marker.h.

References fbXbinDraw.

◆ SetXDraw()

void TGo4Marker::SetXDraw ( Bool_t  on)
inline

Definition at line 74 of file TGo4Marker.h.

References fbXDraw.

◆ SetXY()

void TGo4Marker::SetXY ( Double_t  x,
Double_t  y 
)
inline

Definition at line 103 of file TGo4Marker.h.

References GetCont(), GetInstances(), GetLabelX(), GetLabelY(), GetXbin(), and GetYbin().

◆ SetYbinDraw()

void TGo4Marker::SetYbinDraw ( Bool_t  on)
inline

Definition at line 80 of file TGo4Marker.h.

References fbYbinDraw.

◆ SetYDraw()

void TGo4Marker::SetYDraw ( Bool_t  on)
inline

Definition at line 76 of file TGo4Marker.h.

References fbYDraw.

◆ UnDraw()

void TGo4Marker::UnDraw ( Option_t *  opt = "")
virtual

Erase view of this marker from the pad

Definition at line 115 of file TGo4Marker.cxx.

References fxPainter, SetDrawPad(), SetPainted(), and TGo4MarkerPainter::UnPaintLabel().

Referenced by Draw(), and ~TGo4Marker().

Member Data Documentation

◆ fbContDraw

Bool_t TGo4Marker::fbContDraw {kTRUE}
private

If true, draw corresponding value as label on working pad

Definition at line 203 of file TGo4Marker.h.

Referenced by InitLabelStyle(), IsContDraw(), SaveLabelStyle(), and SetContDraw().

◆ fbHasConnector

Bool_t TGo4Marker::fbHasConnector {kTRUE}
private

Switch connection line between marker and label on or off.

Definition at line 188 of file TGo4Marker.h.

Referenced by HasConnector(), InitLabelStyle(), SaveLabelStyle(), and SetLineDraw().

◆ fbHasLabel

Bool_t TGo4Marker::fbHasLabel {kTRUE}
private

Switch marker label on or off.

Definition at line 185 of file TGo4Marker.h.

Referenced by HasLabel(), InitLabelStyle(), SaveLabelStyle(), and SetLabelDraw().

◆ fbIsPainted

Bool_t TGo4Marker::fbIsPainted {kFALSE}
private

Flag to prevent Paint() method to redraw marker views after UnDraw. Problem with Paint() called from ROOT event loop.

Definition at line 179 of file TGo4Marker.h.

Referenced by IsPainted(), and SetPainted().

◆ fbVisible

Bool_t TGo4Marker::fbVisible {kTRUE}
private

Visibility of this marker on pad. For marker array in editor

Definition at line 182 of file TGo4Marker.h.

Referenced by IsVisible(), and SetVisible().

◆ fbXbinDraw

Bool_t TGo4Marker::fbXbinDraw {kTRUE}
private

If true, draw corresponding value as label on working pad

Definition at line 197 of file TGo4Marker.h.

Referenced by InitLabelStyle(), IsXbinDraw(), SaveLabelStyle(), and SetXbinDraw().

◆ fbXDraw

Bool_t TGo4Marker::fbXDraw {kTRUE}
private

If true, draw corresponding value as label on working pad

Definition at line 191 of file TGo4Marker.h.

Referenced by InitLabelStyle(), IsXDraw(), SaveLabelStyle(), and SetXDraw().

◆ fbYbinDraw

Bool_t TGo4Marker::fbYbinDraw {kTRUE}
private

If true, draw corresponding value as label on working pad

Definition at line 200 of file TGo4Marker.h.

Referenced by InitLabelStyle(), IsYbinDraw(), SaveLabelStyle(), and SetYbinDraw().

◆ fbYDraw

Bool_t TGo4Marker::fbYDraw {kTRUE}
private

If true, draw corresponding value as label on working pad

Definition at line 194 of file TGo4Marker.h.

Referenced by InitLabelStyle(), IsYDraw(), SaveLabelStyle(), and SetYDraw().

◆ fgbCONTDRAW

Bool_t TGo4Marker::fgbCONTDRAW = kTRUE
static

default setting for all markers of bin content flag.

Definition at line 148 of file TGo4Marker.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbHASCONNECTOR

Bool_t TGo4Marker::fgbHASCONNECTOR = kTRUE
static

default setting for all markers of connector line flag.

Definition at line 133 of file TGo4Marker.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbHASLABEL

Bool_t TGo4Marker::fgbHASLABEL = kTRUE
static

default setting for all markers of label on/off flag.

Definition at line 130 of file TGo4Marker.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbXBINDRAW

Bool_t TGo4Marker::fgbXBINDRAW = kFALSE
static

default setting for all markers of xbindraw flag.

Definition at line 142 of file TGo4Marker.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbXDRAW

Bool_t TGo4Marker::fgbXDRAW = kTRUE
static

default setting for all markers of xdraw flag.

Definition at line 136 of file TGo4Marker.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbYBINDRAW

Bool_t TGo4Marker::fgbYBINDRAW = kFALSE
static

default setting for all markers of ybindraw flag.

Definition at line 145 of file TGo4Marker.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fgbYDRAW

Bool_t TGo4Marker::fgbYDRAW = kTRUE
static

default setting for all markers of ydraw flag.

Definition at line 139 of file TGo4Marker.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fguInstanceCounter

UInt_t TGo4Marker::fguInstanceCounter = 0
staticprivate

use this counter for automatic naming and coloring

Definition at line 216 of file TGo4Marker.h.

Referenced by GetInstances(), and TGo4Marker().

◆ fgxNUMFORMAT

TString TGo4Marker::fgxNUMFORMAT = "%.4E"
static

default setting for all conditions with format string for numbers.

Definition at line 151 of file TGo4Marker.h.

Referenced by GetGlobalStyle(), InitLabelStyle(), SaveLabelStyle(), and SetGlobalStyle().

◆ fxDrawPad

TVirtualPad* TGo4Marker::fxDrawPad {nullptr}
private

Remember last pad used for Draw. Needed for condition editor to prevent displaying marker on pad other than the working pad.

Definition at line 213 of file TGo4Marker.h.

Referenced by CheckDrawPad(), GetDrawPad(), GetLabelX(), GetLabelY(), GetXbin(), GetYbin(), and SetDrawPad().

◆ fxHisto

TH1* TGo4Marker::fxHisto {nullptr}
private

Reference to currently used histogram (for bin contents).

Definition at line 209 of file TGo4Marker.h.

Referenced by CheckHistogram(), GetCont(), GetHistogram(), GetXbin(), GetYbin(), SetHistogram(), and SetToBin().

◆ fxName

TString TGo4Marker::fxName
private

since TMarker is not TNamed, we provide identifier string here:

Definition at line 175 of file TGo4Marker.h.

Referenced by GetName(), SetName(), and TGo4Marker().

◆ fxNumFormat

TString TGo4Marker::fxNumFormat
private

format string for all label numbers.

Definition at line 206 of file TGo4Marker.h.

Referenced by GetNumFormat(), InitLabelStyle(), SaveLabelStyle(), and SetNumFormat().

◆ fxPainter

TGo4MarkerPainter* TGo4Marker::fxPainter {nullptr}
protected

Painter instance to display the condition in root pad. To be used in Paint() which is called on TPad::Update automatically for all TObjects appended to the pad.

Definition at line 164 of file TGo4Marker.h.

Referenced by DeletePainter(), ExecuteEvent(), Paint(), Pop(), ResetLabel(), UnDraw(), and ~TGo4Marker().


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