Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Related Pages  

SctData::TrimRangeTestResult::TrimData Class Reference

Contains (representation of a) graph of TrimDAQ against target, and fitparameters, p0, and p1, such that trim=(int) p0 + target * p1. More...

#include <TrimRangeTestResult.h>


Public Member Functions

 TrimData (float p0, float p1) throw ()
float getVthr (const short unsigned trim) const throw ()
 convert trim value to threshold in mV

int getTrim (const float vthr) const throw ()
 convert threshold in mV to integer value of trim

TrimData & operator+= (const TrimData &d) throw ()
TrimData & operator/= (const unsigned i) throw ()
TrimData operator * (const TrimData &d) const throw ()

Data Fields

vector< pair< float, float > > graph
 representation of the graph .

float p0
 offset of slope to graph

float p1
 slope of fit to graph


Detailed Description

Contains (representation of a) graph of TrimDAQ against target, and fitparameters, p0, and p1, such that trim=(int) p0 + target * p1.

Definition at line 74 of file TrimRangeTestResult.h.


Member Function Documentation

int SctData::TrimRangeTestResult::TrimData::getTrim const float    vthr const throw () [inline]
 

convert threshold in mV to integer value of trim

Definition at line 125 of file TrimRangeTestResult.h.

float SctData::TrimRangeTestResult::TrimData::getVthr const short unsigned    trim const throw () [inline]
 

convert trim value to threshold in mV

Definition at line 121 of file TrimRangeTestResult.h.


Field Documentation

vector<pair<float, float> > SctData::TrimRangeTestResult::TrimData::graph
 

representation of the graph .

first is x, second is y

Definition at line 78 of file TrimRangeTestResult.h.

float SctData::TrimRangeTestResult::TrimData::p0
 

offset of slope to graph

Definition at line 80 of file TrimRangeTestResult.h.

float SctData::TrimRangeTestResult::TrimData::p1
 

slope of fit to graph

Definition at line 82 of file TrimRangeTestResult.h.


The documentation for this class was generated from the following file:
Generated on Mon Dec 8 18:04:34 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3