ROOT_Application
2.0
C++ Core modules and GUIStock
|
#include <THistPainterStock.h>
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) | |
Definition at line 82 of file THistPainterStock.h.
THistPainterStock::THistPainterStock | ( | ) |
Definition at line 56 of file THistPainterStock.cxx.
|
virtual |
Definition at line 64 of file THistPainterStock.cxx.
THistPainterStock::ClassDef | ( | THistPainterStock | , |
1 | |||
) |
|
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.
|
virtual |
Definition at line 73 of file THistPainterStock.cxx.
Referenced by Paint().
|
virtual |
Definition at line 952 of file THistPainterStock.cxx.
References MakeChopt(), PaintAxis(), PaintFrame(), PaintInit(), PaintTitle(), and SetLabelXAxis().
|
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().
|
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().
|
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().
|
virtual |
Definition at line 368 of file THistPainterStock.cxx.
Referenced by Paint().
void THistPainterStock::PrintInfo | ( | ) |
Definition at line 1273 of file THistPainterStock.cxx.
References Hparam_stock, Hparam_stock_t::shift_futur, Hparam_stock_t::shift_left, Hparam_stock_t::xfirst, Hparam_stock_t::xlast, Hparam_stock_t::xmax, Hparam_stock_t::xmin, Hparam_stock_t::ymax, and Hparam_stock_t::ymin.
Referenced by PaintInit().
|
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().
void THistPainterStock::SetLabelXAxis | ( | ) |
Definition at line 1056 of file THistPainterStock.cxx.
References ListDataStockBase::ChronologicAt(), DAY, DataStock::GetDateTm(), ListDataStockBase::GetName(), ListDataStockBase::GetSize(), ListDataStockBase::GetTimeScale(), H1, Hparam_stock, Hparam_stock_t::shift_left, TRIM, WEEK, Hparam_stock_t::xfirst, Hparam_stock_t::xlast, and YEAR.
Referenced by Paint().