CMS 3D CMS Logo

Public Member Functions | Public Attributes

OpticalAlignParam Class Reference

#include <OpticalAlignInfo.h>

List of all members.

Public Member Functions

void clear ()
std::string dimType () const
std::string name () const
 OpticalAlignParam (const OpticalAlignParam &rhs)
 OpticalAlignParam ()
int quality () const
double sigma () const
double value () const

Public Attributes

std::string dim_type_
double error_
std::string name_
int quality_
double value_

Detailed Description

a Class holding data for each parameter, the value, error and whether it is an unknown, calibrated or fixed parameter.

Author: Michael Case Date: Dec. 19, 2005

Definition at line 33 of file OpticalAlignInfo.h.


Constructor & Destructor Documentation

OpticalAlignParam::OpticalAlignParam ( )

Definition at line 6 of file OpticalAlignInfo.cc.

References dim_type_, and quality_.

{
  quality_ = -1;
  dim_type_ = "";
}
OpticalAlignParam::OpticalAlignParam ( const OpticalAlignParam rhs)

Definition at line 61 of file OpticalAlignInfo.cc.

References dim_type_, error_, name_, quality_, and value_.

{
   value_ = rhs.value_;
   error_ = rhs.error_;
   quality_ = rhs.quality_; 
   name_ = rhs.name_;
   dim_type_ = rhs.dim_type_;
}

Member Function Documentation

void OpticalAlignParam::clear ( void  ) [inline]

Definition at line 51 of file OpticalAlignInfo.h.

References error_, name_, oa_unknown, quality_, and value_.

Referenced by OpticalAlignInfo::clear(), and CocoaAnalyzer::ReadXMLFile().

               {
    value_ = 0.0;
    error_ = 0.0;
    quality_ = int( oa_unknown );
    name_.clear();
  }
std::string OpticalAlignParam::dimType ( ) const [inline]

Definition at line 42 of file OpticalAlignInfo.h.

References dim_type_.

Referenced by CocoaAnalyzer::CorrectOaParam(), and CocoaAnalyzer::ReadXMLFile().

{ return dim_type_; }
std::string OpticalAlignParam::name ( ) const [inline]

Definition at line 38 of file OpticalAlignInfo.h.

References name_.

Referenced by OpticalObject::getCoordinateFromOptAlignParam().

{ return name_; }
int OpticalAlignParam::quality ( ) const [inline]

Definition at line 41 of file OpticalAlignInfo.h.

References quality_.

Referenced by OpticalObject::getCoordinateFromOptAlignParam().

{ return quality_; }
double OpticalAlignParam::sigma ( ) const [inline]

Definition at line 40 of file OpticalAlignInfo.h.

References error_.

Referenced by Measurement::fillData(), and OpticalObject::getCoordinateFromOptAlignParam().

{ return error_; }
double OpticalAlignParam::value ( ) const [inline]

Definition at line 39 of file OpticalAlignInfo.h.

References value_.

Referenced by Measurement::fillData(), and OpticalObject::getCoordinateFromOptAlignParam().

{ return value_; }

Member Data Documentation