Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | 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>

Inheritance diagram for SctData::TrimRangeTestResult::TrimData:

Inheritance graph
[legend]
Collaboration diagram for SctData::TrimRangeTestResult::TrimData:

Collaboration graph
[legend]

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

TrimDataoperator+= (const TrimData &d) throw ()
TrimDataoperator/= (const unsigned i) throw ()
TrimData operator * (const TrimData &d) const throw ()
virtual string getClassName () const throw ()
 Get the class name for this object.


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 76 of file TrimRangeTestResult.h.


Member Function Documentation

string SctData::TrimRangeTestResult::TrimData::getClassName  )  const throw () [virtual]
 

Get the class name for this object.

This is used to identify the precise type.

Returns:
the class name
Note:
Nothrow

Implements Sct::Streamable.

Definition at line 28 of file TrimRangeTestResult.cpp.

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

convert threshold in mV to integer value of trim

Definition at line 129 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 125 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 80 of file TrimRangeTestResult.h.

float SctData::TrimRangeTestResult::TrimData::p0
 

offset of slope to graph

Definition at line 82 of file TrimRangeTestResult.h.

float SctData::TrimRangeTestResult::TrimData::p1
 

slope of fit to graph

Definition at line 84 of file TrimRangeTestResult.h.


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:53:09 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5