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

SctData::NoiseOccupancyTestResult Class Reference

The class represents the Noise Occupancy test. More...

#include <NoiseOccupancyTestResult.h>

Inheritance diagram for SctData::NoiseOccupancyTestResult:

SctData::TestResult Sct::Serializable Sct::Streamable

Public Member Functions

 NoiseOccupancyTestResult () throw ()
 NoiseOccupancyTestResult (unsigned int runNumber, const string &moduleName, const ThresholdVariable &scanVariable) throw ()
 Constructor.

virtual ~NoiseOccupancyTestResult () throw ()
 Destructor.

virtual string getClassName () const throw ()
 Get the class name for this object.

virtual void addScan (const unsigned scanNumber, const double testPoint=0) throw (LogicError)
 Override addScan to ensure there is only 1 scanNumber.

ChipNOResultgetChipResult (unsigned ichip)
 get all the results for a particular chip @{

const ChipNOResultgetChipResult (unsigned ichip) const

Static Public Member Functions

auto_ptr< TF1 > createFitFunction () throw ()
 source of fit functions.


Private Member Functions

NoiseOccupancyTestResult & operator= (const NoiseOccupancyTestResult &)

Private Attributes

RangedVector< ChipNOResultchipResult

Friends

class NoiseOccupancyTestResultIOHelper

Detailed Description

The class represents the Noise Occupancy test.

It performs the test by constructing the graph of log occupancy against threshold(in fC)^2 then fitting a straight line to it. To do this, it needs the inverse response curve to convert threshold in mV to threshold in fC.

Author:
Matthew Palmer

Definition at line 51 of file NoiseOccupancyTestResult.h.


Constructor & Destructor Documentation

SctData::NoiseOccupancyTestResult::NoiseOccupancyTestResult   throw ()
 

Definition at line 17 of file NoiseOccupancyTestResult.cpp.

SctData::NoiseOccupancyTestResult::NoiseOccupancyTestResult unsigned int    runNumber,
const string &    moduleName,
const ThresholdVariable   scanVariable
throw ()
 

Constructor.

SctData::NoiseOccupancyTestResult::~NoiseOccupancyTestResult   throw () [virtual]
 

Destructor.

Definition at line 31 of file NoiseOccupancyTestResult.cpp.


Member Function Documentation

void SctData::NoiseOccupancyTestResult::addScan const unsigned    scanNumber,
const double    testPoint = 0
throw (LogicError) [virtual]
 

Override addScan to ensure there is only 1 scanNumber.

Definition at line 38 of file NoiseOccupancyTestResult.cpp.

auto_ptr< TF1 > SctData::NoiseOccupancyTestResult::createFitFunction   throw () [static]
 

source of fit functions.

In this function since it is needed by IO as well as during building.

Definition at line 64 of file NoiseOccupancyTestResult.cpp.

const ChipNOResult& SctData::NoiseOccupancyTestResult::getChipResult unsigned    ichip const [inline]
 

Definition at line 75 of file NoiseOccupancyTestResult.h.

References chipResult.

ChipNOResult& SctData::NoiseOccupancyTestResult::getChipResult unsigned    ichip [inline]
 

get all the results for a particular chip @{

Definition at line 74 of file NoiseOccupancyTestResult.h.

References chipResult.

Referenced by SctData::IO::NoiseOccupancyTestResultStreamer::read(), SctData::IO::NoiseOccupancyTestResultStreamer::write(), and SctData::TestSummary::NoiseOccupancySummaryWriter::write().

string SctData::NoiseOccupancyTestResult::getClassName   const throw () [virtual]
 

Get the class name for this object.

This is used to identify the precise type.

Todo:
We could use typeid instead here, but that would probably mean removing the namespace stuff.
Returns:
the class name

Implements Sct::Streamable.

Definition at line 34 of file NoiseOccupancyTestResult.cpp.

NoiseOccupancyTestResult& SctData::NoiseOccupancyTestResult::operator= const NoiseOccupancyTestResult &    [private]
 


Friends And Related Function Documentation

friend class NoiseOccupancyTestResultIOHelper [friend]
 

Definition at line 82 of file NoiseOccupancyTestResult.h.


Field Documentation

RangedVector<ChipNOResult> SctData::NoiseOccupancyTestResult::chipResult [private]
 

Definition at line 80 of file NoiseOccupancyTestResult.h.

Referenced by getChipResult().


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:37:48 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3