ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
THistPainterStock Class Reference

#include <THistPainterStock.h>

Inheritance diagram for THistPainterStock:
Inheritance graph
[legend]
Collaboration diagram for THistPainterStock:
Collaboration graph
[legend]

Public Member Functions

 THistPainterStock ()
 
virtual ~THistPainterStock ()
 
virtual Int_t MakeChopt (Option_t *choptin)
 
virtual void PaintFrame ()
 
virtual void RecalculateRange ()
 
virtual Int_t PaintInit ()
 setup minimum/ maximum of the frame Called by Paint() More...
 
virtual void PaintTitle ()
 
virtual void PaintAxis (Bool_t drawGridOnly=kFALSE)
 
virtual void Paint (Option_t *option="")
 
void SetLabelXAxis ()
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Check distance to TAxis, broadcast to THStock, and select the object. More...
 
void PrintInfo ()
 
 ClassDef (THistPainterStock, 1)
 

Detailed Description

Definition at line 82 of file THistPainterStock.h.

Constructor & Destructor Documentation

THistPainterStock::THistPainterStock ( )

Definition at line 56 of file THistPainterStock.cxx.

THistPainterStock::~THistPainterStock ( )
virtual

Definition at line 64 of file THistPainterStock.cxx.

Member Function Documentation

THistPainterStock::ClassDef ( THistPainterStock  ,
 
)
Int_t THistPainterStock::DistancetoPrimitive ( Int_t  px,
Int_t  py 
)
virtual

Check distance to TAxis, broadcast to THStock, and select the object.

Second to be called after TPadStock::DtP

After this function, a signal is send to MainIndicatorTHStockFrame::EventInfo Certainly done by TCanvas::HandleInput

Definition at line 1168 of file THistPainterStock.cxx.

Int_t THistPainterStock::MakeChopt ( Option_t *  choptin)
virtual

Definition at line 73 of file THistPainterStock.cxx.

Referenced by Paint().

Here is the caller graph for this function:

void THistPainterStock::Paint ( Option_t *  option = "")
virtual

Definition at line 952 of file THistPainterStock.cxx.

References MakeChopt(), PaintAxis(), PaintFrame(), PaintInit(), PaintTitle(), and SetLabelXAxis().

Here is the call graph for this function:

void THistPainterStock::PaintAxis ( Bool_t  drawGridOnly = kFALSE)
virtual

Definition at line 693 of file THistPainterStock.cxx.

References Hparam_stock, Hparam_stock_t::xmax, Hparam_stock_t::xmin, Hparam_stock_t::ymax, and Hparam_stock_t::ymin.

Referenced by Paint().

Here is the caller graph for this function:

void THistPainterStock::PaintFrame ( )
virtual

Definition at line 305 of file THistPainterStock.cxx.

References Hparam_stock, RecalculateRange(), Hparam_stock_t::xmax, Hparam_stock_t::xmin, Hparam_stock_t::ymax, and Hparam_stock_t::ymin.

Referenced by Paint().

Here is the call graph for this function:

Here is the caller graph for this function:

Int_t THistPainterStock::PaintInit ( )
virtual

setup minimum/ maximum of the frame Called by Paint()

All Hparam_stock set here, directly or indirectly.

Used partially for painting

Call THStock::SetObjectStock which will set Paint to false or true.
Then easy to know in ObjectStock which to consider ( GetExtrema, Paint...)

Latest version, simplify code, still send Hparam_stock to SetObjectStock Maybe not needed, could use Common_axis and recopute some

Definition at line 506 of file THistPainterStock.cxx.

References ListDataStockBase::GetSize(), Hparam_stock, PrintInfo(), Hparam_stock_t::shift_futur, Hparam_stock_t::shift_left, Hparam_stock_t::xbinsize, Hparam_stock_t::xfirst, Hparam_stock_t::xlast, Hparam_stock_t::xlowedge, Hparam_stock_t::xmax, Hparam_stock_t::xmin, Hparam_stock_t::ymax, and Hparam_stock_t::ymin.

Referenced by Paint().

Here is the call graph for this function:

Here is the caller graph for this function:

void THistPainterStock::PaintTitle ( )
virtual

Definition at line 368 of file THistPainterStock.cxx.

Referenced by Paint().

Here is the caller graph for this function:

void THistPainterStock::PrintInfo ( )
void THistPainterStock::RecalculateRange ( )
virtual

Definition at line 339 of file THistPainterStock.cxx.

References Hparam_stock, Hparam_stock_t::xmax, Hparam_stock_t::xmin, Hparam_stock_t::ymax, and Hparam_stock_t::ymin.

Referenced by PaintFrame().

Here is the caller graph for this function:

void THistPainterStock::SetLabelXAxis ( )

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