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

Class for making histogram of V1730 waveforms (with DPP event encoding) More...

#include <TV1730DppWaveform.h>

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

Public Member Functions

 TV1730DppWaveform ()
 Reset the histogram for this canvas. More...
 
virtual ~TV1730DppWaveform ()
 
void UpdateHistograms (TDataContainer &dataContainer)
 
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...
 
int GetNumSamples ()
 
void SetNumSamples (int numSamples)
 
int GetNsecsPerSample ()
 
void SetNanosecsPerSample (int nsecsPerSample)
 
void Reset ()
 
- 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 numSamples
 
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. 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 histogram of V1730 waveforms (with DPP event encoding)

Definition at line 8 of file TV1730DppWaveform.h.

Constructor & Destructor Documentation

◆ TV1730DppWaveform()

TV1730DppWaveform::TV1730DppWaveform ( )

Reset the histogram for this canvas.

Definition at line 8 of file TV1730DppWaveform.cxx.

Here is the call graph for this function:

◆ ~TV1730DppWaveform()

virtual TV1730DppWaveform::~TV1730DppWaveform ( )
inlinevirtual

Definition at line 11 of file TV1730DppWaveform.h.

Member Function Documentation

◆ BeginRun()

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

Take actions at begin run.

Reimplemented from THistogramArrayBase.

Definition at line 110 of file TV1730DppWaveform.cxx.

Here is the call graph for this function:

◆ CreateHistograms()

void TV1730DppWaveform::CreateHistograms ( )
privatevirtual

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

Reimplemented from THistogramArrayBase.

Definition at line 19 of file TV1730DppWaveform.cxx.

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

◆ EndRun()

void TV1730DppWaveform::EndRun ( int  transition,
int  run,
int  time 
)
virtual

Take actions at end run

Reimplemented from THistogramArrayBase.

Definition at line 117 of file TV1730DppWaveform.cxx.

◆ GetNsecsPerSample()

int TV1730DppWaveform::GetNsecsPerSample ( )
inline

Definition at line 25 of file TV1730DppWaveform.h.

◆ GetNumSamples()

int TV1730DppWaveform::GetNumSamples ( )
inline

Definition at line 23 of file TV1730DppWaveform.h.

◆ Reset()

void TV1730DppWaveform::Reset ( )

Definition at line 94 of file TV1730DppWaveform.cxx.

Here is the call graph for this function:

◆ SetNanosecsPerSample()

void TV1730DppWaveform::SetNanosecsPerSample ( int  nsecsPerSample)
inline

Definition at line 26 of file TV1730DppWaveform.h.

Here is the caller graph for this function:

◆ SetNumSamples()

void TV1730DppWaveform::SetNumSamples ( int  numSamples)
inline

Definition at line 24 of file TV1730DppWaveform.h.

Here is the caller graph for this function:

◆ UpdateHistograms()

void TV1730DppWaveform::UpdateHistograms ( TDataContainer dataContainer)
virtual

Update the histogram for this canvas. This method works, but is generally not used; instead, TDeapAnaManager handles filling this histogram.

Implements THistogramArrayBase.

Definition at line 53 of file TV1730DppWaveform.cxx.

Here is the call graph for this function:

Field Documentation

◆ nanosecsPerSample

int TV1730DppWaveform::nanosecsPerSample
private

Definition at line 34 of file TV1730DppWaveform.h.

◆ numSamples

int TV1730DppWaveform::numSamples
private

Definition at line 33 of file TV1730DppWaveform.h.


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