ROOTANA
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
TDT724Waveform Class Reference

Class for making histograms of raw DT724 waveforms;. More...

#include <TDT724Waveform.h>

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

Public Member Functions

 TDT724Waveform ()
 Reset the histograms for this canvas.
 
virtual ~TDT724Waveform ()
 
void UpdateHistograms (TDataContainer &dataContainer)
 Update the histograms for this canvas.
 
int GetNsecsPerSample ()
 Getters/setters.
 
void SetNanosecsPerSample (int nsecsPerSample)
 
void Reset ()
 
void CreateHistograms ()
 Function to create histograms; users will want to implement this function.
 
void BeginRun (int transition, int run, int time)
 Take actions at begin run.
 
- Public Member Functions inherited from THistogramArrayBase
 THistogramArrayBase ()
 
virtual ~THistogramArrayBase ()
 
TH1 * GetHistogram (unsigned i)
 A helper method for accessing each histogram. Does bounds checking.
 
virtual void EndRun (int transition, int run, int time)
 Take actions at end run

 
void SetNumberChannelsInGroup (int numberChannelsInGroups)
 
const int GetNumberChannelsInGroup ()
 
void SetGroupName (std::string name)
 Set name for the 'group'.
 
const std::string GetGroupName ()
 
void SetChannelName (std::string name)
 Set name for the 'channel'.
 
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.
 
virtual std::string GetSubTabName ()
 Get the name of the sub-tab for these plots, if running DaqDisplay.
 
virtual bool IsUpdateWhenPlotted ()
 
virtual TCanvasHandleBaseCreateCanvas ()
 

Private Attributes

int nanosecsPerSample
 

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.
 
virtual void SetSubTabName (std::string name)
 Set the name of the sub-tab for these plots, if running DaqDisplay.
 
virtual void SetUpdateOnlyWhenPlotted (bool whenupdate)
 

Detailed Description

Class for making histograms of raw DT724 waveforms;.

Definition at line 8 of file TDT724Waveform.h.

Constructor & Destructor Documentation

◆ TDT724Waveform()

TDT724Waveform::TDT724Waveform ( )

Reset the histograms for this canvas.

Definition at line 8 of file TDT724Waveform.cxx.

Here is the call graph for this function:

◆ ~TDT724Waveform()

virtual TDT724Waveform::~TDT724Waveform ( )
inlinevirtual

Definition at line 11 of file TDT724Waveform.h.

Member Function Documentation

◆ BeginRun()

void TDT724Waveform::BeginRun ( int  transition,
int  run,
int  time 
)
inlinevirtual

Take actions at begin run.

Reimplemented from THistogramArrayBase.

Definition at line 25 of file TDT724Waveform.h.

Here is the call graph for this function:

◆ CreateHistograms()

void TDT724Waveform::CreateHistograms ( )
virtual

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

Reimplemented from THistogramArrayBase.

Definition at line 19 of file TDT724Waveform.cxx.

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

◆ GetNsecsPerSample()

int TDT724Waveform::GetNsecsPerSample ( )
inline

Getters/setters.

Definition at line 16 of file TDT724Waveform.h.

◆ Reset()

void TDT724Waveform::Reset ( )

Definition at line 86 of file TDT724Waveform.cxx.

Here is the call graph for this function:

◆ SetNanosecsPerSample()

void TDT724Waveform::SetNanosecsPerSample ( int  nsecsPerSample)
inline

Definition at line 17 of file TDT724Waveform.h.

Here is the caller graph for this function:

◆ UpdateHistograms()

void TDT724Waveform::UpdateHistograms ( TDataContainer dataContainer)
virtual

Update the histograms for this canvas.

Implements THistogramArrayBase.

Definition at line 53 of file TDT724Waveform.cxx.

Here is the call graph for this function:

Field Documentation

◆ nanosecsPerSample

int TDT724Waveform::nanosecsPerSample
private

Definition at line 30 of file TDT724Waveform.h.


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