28 #ifndef CANVASSTOCK_H_
29 #define CANVASSTOCK_H_
80 CanvasStock(
const char *name, Int_t ww, Int_t wh, Int_t winid );
82 CanvasStock(
const char *name,
const char *title, Int_t ww, Int_t wh );
114 void HideListData ( std::string fullname, Int_t npad,
bool toDelete =
false );
145 void SetColor ( UInt_t npad, std::string fullname,
unsigned long color );
CanvasStock()
used this constructor ?? may be usefull for test code ?? I/ O need default constructor anyway ...
void SetColor(UInt_t npad, std::string fullname, unsigned long color)
new version with fname, really Needed ?? GetPad ( nb_pad ) from Controller not so good...
std::vector< THStock * >::const_iterator it_c_vthstock
Owns a vector of THStock.
Derive from TH1 will draw the graph.
std::vector< THStock * >::iterator it_vthstock
define typedef for the vector
void DeleteOneTHStock(Int_t npad)
delete a complete Pad
void UpdateAllPad()
group function to update all thstock
virtual ~CanvasStock()
destructor
Seems present because of ExecuteEvent not overloaded by CanvasStock CanvasStock contains Pad...
void PrintVector()
for info
Int_t AddListDataStockToMap(ListDataStockBase *, Int_t npad=0)
Add a ListDataStock, decide if new pad is created Add a pointeur to the new ListDataStock now decides...
CommonXAxis * fcommon_xaxis_cs
owns a common axis
void SetRangeCommonAxis(Double_t MinPos, Double_t MaxPos)
interface to CommonXaxis.
Derive a specific painter for THStock.
CommonXAxis * GetCommonAxis() const
Abstract base class for the ListDataStock, for storing base pointers in vectors.
UInt_t GetNPadToPaint() const
function to return the number of pad needed
std::vector< THStock * > vecTHStock
store the THStocks.
void CreateNPad()
clean all and recreate all pads, can improve
void HideListData(std::string fullname, Int_t npad, bool toDelete=false)
Used for showing listdatastock indicator.
Define a proper class CommonAxis.
void UpdateCommonAxis(int new_size)
Resize CommonXaxis, increase size of the axis Update the range (bins) of the Axis (fFirst...
void UpdateTHStock()
to redefine
void ShowListData(std::string fullname, Int_t npad)
Used for Hide and Delete, with option.