DigitiserCountsPlot Class Reference

Plots a histogram of the DigitiserCounts. More...

#include <DigitiserCountsPlot.h>

Inheritance diagram for DigitiserCountsPlot:
Pulsar::SimplePlot Pulsar::FramedPlot Pulsar::Plot Reference::Able Reference::HeapTracked

Public Member Functions

 DigitiserCountsPlot ()
 Constructor.
TextInterface::Parserget_interface ()
 get_interface
void preprocess (Archive *archive)
 disable default pre-processing of Plot base class
void CheckCounts (const Archive *data)
 CheckCounts.
void prepare (const Archive *data)
 prepare
void draw (const Archive *data)
 draw
std::string get_xlabel (const Archive *data)
 get_xlabel
std::string get_ylabel (const Archive *data)
 get_ylabel
pair< int, int > get_srange () const
void set_srange (const pair< int, int > &s_srange)
void set_srange (int fsub, int lsub)
int get_subint (void) const
void set_subint (int s_subint)
bool get_logscale () const
void set_logscale (bool f)
double get_zero_threshold () const
void set_zero_threshold (double f)
Public Member Functions inherited from Pulsar::SimplePlot
virtual void plot (const Archive *)
 Plot in the current viewport.
void add_annotation (PlotAnnotation *a)
 Add an annotation.
Public Member Functions inherited from Pulsar::FramedPlot
 FramedPlot ()
 Default constructor.
virtual TextInterface::Parserget_frame_interface ()
 Get the text interface to the frame attributes.
PlotAttributesget_attributes ()
 Get the plot attributes.
virtual PlotFrameget_frame ()
 Get the frame.
virtual const PlotFrameget_frame () const
 Get the frame.
virtual void set_frame (PlotFrame *)
 Set the frame.
Public Member Functions inherited from Pulsar::Plot
 Plot ()
 Default constructor.
virtual void finalize ()
 Some plots may postpone plotting.
virtual void configure (const std::string &)
 Process a configuration command.
void set_constructor (Constructor *c)
 Set the constructor.
Constructorget_constructor ()
 Get the constructor.
virtual void set_preprocessor (Processor *)
 Set the pre-processor.
virtual Processorget_preprocessor ()
 Get the pre-processor.
virtual bool has_preprocessor () const
 Return true if pre-processor has been set.
Public Member Functions inherited from Reference::Able
 Able (const Able &)
Ableoperator= (const Able &)
unsigned get_reference_count () const
Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
HeapTrackedoperator= (const HeapTracked &)
bool __is_on_heap () const

Additional Inherited Members

Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
static void operator delete (void *location, void *ptr)
static void operator delete (void *location)
static size_t get_heap_queue_size ()
Static Public Attributes inherited from Pulsar::Plot
static bool verbose = false
 Verbosity flag.
Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
void __dereference (bool auto_delete=true) const
Protected Attributes inherited from Pulsar::SimplePlot
std::vector< Reference::To< PlotAnnotation > > annotations
 Annotations to add to the plot.
Protected Attributes inherited from Pulsar::FramedPlot
Reference::To< PlotFrameframe
 The plot frame.

Detailed Description

Plots a histogram of the DigitiserCounts.

Constructor & Destructor Documentation

◆ DigitiserCountsPlot()

DigitiserCountsPlot::DigitiserCountsPlot ( )

Constructor.

DOES - Inititialization RECEIVES - Nothing RETURNS - Nothing THROWS - Nothing TODO - Nothing

Member Function Documentation

◆ CheckCounts()

void DigitiserCountsPlot::CheckCounts ( const Archive * const_data)

CheckCounts.

DOES - Do a few basic checks to see if that Archive given has a valid DigitiserCounts countsension. if we can't find a problem with it, set valid_data to true. RECEIVES - The countsension to examine RETURNS - Nothing THROWS - Nothing TODO - Nothing

◆ draw()

void DigitiserCountsPlot::draw ( const Archive * const_data)
virtual

draw

DOES - Renders the histagrams RECEIVES - The archive to render RETURNS - Nothing THROWS - Nothing TODO - Nothing

Implements Pulsar::SimplePlot.

◆ get_interface()

TextInterface::Parser * DigitiserCountsPlot::get_interface ( )
virtual

get_interface

DOES - Creates a tcounts interfaces to this object RECEIVES - Nothing RETURNS - a DigitiserCountsPlot::Interface pointer THROWS - Nothing TODO - Nothing

Implements Pulsar::Plot.

◆ get_xlabel()

string DigitiserCountsPlot::get_xlabel ( const Archive * data)
virtual

get_xlabel

DOES - Returns label for x axis RECEIVES - The archive RETURNS - "Digitiser Value" THROWS - Nothing TODO - Nothing

Reimplemented from Pulsar::SimplePlot.

◆ get_ylabel()

string DigitiserCountsPlot::get_ylabel ( const Archive * data)
virtual

get_ylabel

DOES - Returns the label for y axis RECEIVES - The archive RETURNS - "Occurances" THROWS - Nothing TODO - Nothing

Reimplemented from Pulsar::SimplePlot.

◆ prepare()

void DigitiserCountsPlot::prepare ( const Archive * const_data)
virtual

prepare

DOES - Determines what values to use for the x and y axes RECEIVES - The archive to examine RETURNS - Nothing THROWS - Nothing TODO - Nothing

Reimplemented from Pulsar::FramedPlot.

◆ preprocess()

void DigitiserCountsPlot::preprocess ( Archive * archive)
virtual

disable default pre-processing of Plot base class

Reimplemented from Pulsar::Plot.


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

Generated using doxygen 1.14.0