Public Member Functions | Public Attributes | List of all members
AdcEventViewer::GraphInfo Struct Reference

#include <AdcEventViewer.h>

Public Member Functions

 GraphInfo ()
 
 GraphInfo (Name avarx, Name axlab, Name axunit, float axmin, float axmax, float axoff, Name avary, Name aylab, Name ayunit, float aymin, float aymax, float ayoff)
 
void add (Name var, float val)
 
Name xAxisLabel () const
 
Name yAxisLabel () const
 

Public Attributes

Name varx
 
Name xlab
 
Name xunit
 
FloatVector xvals
 
float xmin
 
float xmax
 
float xoff
 
Name vary
 
FloatVector yvals
 
Name ylab
 
Name yunit
 
float ymin
 
float ymax
 
float yoff
 

Detailed Description

Definition at line 75 of file AdcEventViewer.h.

Constructor & Destructor Documentation

AdcEventViewer::GraphInfo::GraphInfo ( )
inline

Definition at line 90 of file AdcEventViewer.h.

90 { };
AdcEventViewer::GraphInfo::GraphInfo ( Name  avarx,
Name  axlab,
Name  axunit,
float  axmin,
float  axmax,
float  axoff,
Name  avary,
Name  aylab,
Name  ayunit,
float  aymin,
float  aymax,
float  ayoff 
)
inline

Member Function Documentation

void AdcEventViewer::GraphInfo::add ( Name  var,
float  val 
)
inline

Definition at line 96 of file AdcEventViewer.h.

96  {
97  if ( var == varx ) xvals.push_back(val);
98  if ( var == vary ) yvals.push_back(val);
99  }
int var
Definition: 018_def.c:9
Name AdcEventViewer::GraphInfo::xAxisLabel ( ) const
inline

Definition at line 101 of file AdcEventViewer.h.

101  {
102  return xlab + (xunit.size() ? " [" + xunit + "]" : "");
103  }
Name AdcEventViewer::GraphInfo::yAxisLabel ( ) const
inline

Definition at line 104 of file AdcEventViewer.h.

104  {
105  return ylab + (yunit.size() ? " [" + yunit + "]" : "");
106  }

Member Data Documentation

Name AdcEventViewer::GraphInfo::varx

Definition at line 76 of file AdcEventViewer.h.

Name AdcEventViewer::GraphInfo::vary

Definition at line 83 of file AdcEventViewer.h.

Name AdcEventViewer::GraphInfo::xlab

Definition at line 77 of file AdcEventViewer.h.

float AdcEventViewer::GraphInfo::xmax

Definition at line 81 of file AdcEventViewer.h.

float AdcEventViewer::GraphInfo::xmin

Definition at line 80 of file AdcEventViewer.h.

float AdcEventViewer::GraphInfo::xoff

Definition at line 82 of file AdcEventViewer.h.

Name AdcEventViewer::GraphInfo::xunit

Definition at line 78 of file AdcEventViewer.h.

FloatVector AdcEventViewer::GraphInfo::xvals

Definition at line 79 of file AdcEventViewer.h.

Name AdcEventViewer::GraphInfo::ylab

Definition at line 85 of file AdcEventViewer.h.

float AdcEventViewer::GraphInfo::ymax

Definition at line 88 of file AdcEventViewer.h.

float AdcEventViewer::GraphInfo::ymin

Definition at line 87 of file AdcEventViewer.h.

float AdcEventViewer::GraphInfo::yoff

Definition at line 89 of file AdcEventViewer.h.

Name AdcEventViewer::GraphInfo::yunit

Definition at line 86 of file AdcEventViewer.h.

FloatVector AdcEventViewer::GraphInfo::yvals

Definition at line 84 of file AdcEventViewer.h.


The documentation for this struct was generated from the following file: