ROOTANA
Public Member Functions | Private Member Functions | Private Attributes
TTRB3DiffHistograms Class Reference

Class for making diff histograms of TRB3 FPGA-TDC data. More...

#include <TTRB3Histogram.hxx>

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

Public Member Functions

 TTRB3DiffHistograms ()
 Reset the histograms for this canvas. More...
 
virtual ~TTRB3DiffHistograms ()
 
void UpdateHistograms (TDataContainer &dataContainer)
 Update the histograms for this canvas. More...
 
void BeginRun (int transition, int run, int time)
 Take actions at begin run. More...
 
void EndRun (int transition, int run, int time)
 Take actions at end run
More...
 
- Public Member Functions inherited from THistogramArrayBase
 THistogramArrayBase ()
 
virtual ~THistogramArrayBase ()
 
TH1 * GetHistogram (unsigned i)
 A helper method for accessing each histogram. Does bounds checking. More...
 
void SetNumberChannelsInGroup (int numberChannelsInGroups)
 
const int GetNumberChannelsInGroup ()
 
void SetGroupName (std::string name)
 Set name for the 'group'. More...
 
const std::string GetGroupName ()
 
void SetChannelName (std::string name)
 Set name for the 'channel'. More...
 
const std::string GetChannelName ()
 
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. More...
 
virtual std::string GetSubTabName ()
 Get the name of the sub-tab for these plots, if running DaqDisplay. More...
 
virtual bool IsUpdateWhenPlotted ()
 
virtual TCanvasHandleBaseCreateCanvas ()
 

Private Member Functions

void CreateHistograms ()
 Function to create histograms; users will want to implement this function. More...
 

Private Attributes

int fReferenceFpga
 
int fReferenceCh
 

Additional Inherited Members

- Protected Member Functions inherited from THistogramArrayBase
virtual void SetTabName (std::string name)
 Set the name of the top-level tab for these plots, if running DaqDisplay. More...
 
virtual void SetSubTabName (std::string name)
 Set the name of the sub-tab for these plots, if running DaqDisplay. More...
 
virtual void SetUpdateOnlyWhenPlotted (bool whenupdate)
 

Detailed Description

Class for making diff histograms of TRB3 FPGA-TDC data.

Definition at line 50 of file TTRB3Histogram.hxx.

Constructor & Destructor Documentation

◆ TTRB3DiffHistograms()

TTRB3DiffHistograms::TTRB3DiffHistograms ( )

Reset the histograms for this canvas.

Definition at line 164 of file TTRB3Histogram.cxx.

Here is the call graph for this function:

◆ ~TTRB3DiffHistograms()

virtual TTRB3DiffHistograms::~TTRB3DiffHistograms ( )
inlinevirtual

Definition at line 53 of file TTRB3Histogram.hxx.

Member Function Documentation

◆ BeginRun()

void TTRB3DiffHistograms::BeginRun ( int  transition,
int  run,
int  time 
)
virtual

Take actions at begin run.

Reimplemented from THistogramArrayBase.

Definition at line 260 of file TTRB3Histogram.cxx.

Here is the call graph for this function:

◆ CreateHistograms()

void TTRB3DiffHistograms::CreateHistograms ( )
privatevirtual

Function to create histograms; users will want to implement this function.

Reimplemented from THistogramArrayBase.

Definition at line 176 of file TTRB3Histogram.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndRun()

void TTRB3DiffHistograms::EndRun ( int  transition,
int  run,
int  time 
)
inlinevirtual

Take actions at end run

Reimplemented from THistogramArrayBase.

Definition at line 62 of file TTRB3Histogram.hxx.

◆ UpdateHistograms()

void TTRB3DiffHistograms::UpdateHistograms ( TDataContainer dataContainer)
virtual

Update the histograms for this canvas.

Implements THistogramArrayBase.

Definition at line 214 of file TTRB3Histogram.cxx.

Here is the call graph for this function:

Field Documentation

◆ fReferenceCh

int TTRB3DiffHistograms::fReferenceCh
private

Definition at line 70 of file TTRB3Histogram.hxx.

◆ fReferenceFpga

int TTRB3DiffHistograms::fReferenceFpga
private

Definition at line 69 of file TTRB3Histogram.hxx.


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