1#ifndef THistogramArrayBase_h
2#define THistogramArrayBase_h
55 virtual void EndRun(
int transition,
int run,
int time){};
virtual void BeginRun(int transition, int run, int time)
Take actions at begin run.
virtual std::string GetSubTabName()
Get the name of the sub-tab for these plots, if running DaqDisplay.
void SetNumberChannelsInGroup(int numberChannelsInGroups)
virtual void SetSubTabName(std::string name)
Set the name of the sub-tab for these plots, if running DaqDisplay.
const std::string GetChannelName()
virtual ~THistogramArrayBase()
const int GetNumberChannelsInGroup()
const std::string GetGroupName()
virtual void UpdateHistograms(TDataContainer &dataContainer)=0
Update the histograms for this canvas.
void SetGroupName(std::string name)
Set name for the 'group'.
virtual void SetUpdateOnlyWhenPlotted(bool whenupdate)
std::string fGroupName
The name for the 'group'.
virtual void SetTabName(std::string name)
Set the name of the top-level tab for these plots, if running DaqDisplay.
virtual bool IsUpdateWhenPlotted()
virtual TCanvasHandleBase * CreateCanvas()
virtual void EndRun(int transition, int run, int time)
Take actions at end run
std::string fChannelName
The name for the 'channel'.
int fNumberChannelsInGroups
TH1 * GetHistogram(unsigned i)
A helper method for accessing each histogram. Does bounds checking.
void DisableAutoUpdate(bool DisableautoUpdate=true)
const bool GetDisableAutoUpdate()
const bool HasAutoUpdate()
virtual std::string GetTabName()
Get the name of the top-level tab for these plots, if running DaqDisplay.
virtual void CreateHistograms()
Function to create histograms; users will want to implement this function.
void SetChannelName(std::string name)
Set name for the 'channel'.