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

SctData::NoiseOccupancyTestResult Class Reference

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

#include <NoiseOccupancyTestResult.h>

Inheritance diagram for SctData::NoiseOccupancyTestResult:

Inheritance graph
[legend]
Collaboration diagram for SctData::NoiseOccupancyTestResult:

Collaboration graph
[legend]

Public Member Functions

 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

NoiseOccupancyTestResultoperator= (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 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.

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

get all the results for a particular chip

Definition at line 74 of file NoiseOccupancyTestResult.h.

Referenced by SctData::IO::NoiseOccupancyTestResultStreamer_v1::read(), SctData::IO::NoiseOccupancyTestResultStreamer_v1::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.

Returns:
the class name
Note:
Nothrow

Implements Sct::Streamable.

Definition at line 34 of file NoiseOccupancyTestResult.cpp.


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