CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
OpticalAlignParam Class Reference

#include <OpticalAlignInfo.h>

Public Member Functions

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

Public Attributes

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

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

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 35 of file OpticalAlignInfo.h.

Constructor & Destructor Documentation

OpticalAlignParam::OpticalAlignParam ( )

Definition at line 6 of file OpticalAlignInfo.cc.

References dim_type_, and quality_.

7 {
8  quality_ = -1;
9  dim_type_ = "";
10 }
std::string dim_type_
OpticalAlignParam::OpticalAlignParam ( const OpticalAlignParam rhs)

Definition at line 61 of file OpticalAlignInfo.cc.

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

62 {
63  value_ = rhs.value_;
64  error_ = rhs.error_;
65  quality_ = rhs.quality_;
66  name_ = rhs.name_;
67  dim_type_ = rhs.dim_type_;
68 }
std::string dim_type_

Member Function Documentation

void OpticalAlignParam::clear ( void  )
inline
std::string OpticalAlignParam::dimType ( ) const
inline

Definition at line 44 of file OpticalAlignInfo.h.

References dim_type_.

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

Definition at line 40 of file OpticalAlignInfo.h.

References name_.

Referenced by VIDSelectorBase.VIDSelectorBase::initialize().

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

Definition at line 43 of file OpticalAlignInfo.h.

References quality_.

43 { return quality_; }
template<class Archive >
void OpticalAlignParam::serialize ( Archive &  ar,
const unsigned int  version 
)
private
double OpticalAlignParam::sigma ( ) const
inline

Definition at line 42 of file OpticalAlignInfo.h.

References error_.

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

Definition at line 41 of file OpticalAlignInfo.h.

References value_.

Referenced by average.Average::average().

41 { return value_; }

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 60 of file OpticalAlignInfo.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 60 of file OpticalAlignInfo.h.

Member Data Documentation

std::string OpticalAlignParam::dim_type_

Definition at line 51 of file OpticalAlignInfo.h.

Referenced by dimType(), operator<<(), and OpticalAlignParam().

double OpticalAlignParam::error_

Definition at line 48 of file OpticalAlignInfo.h.

Referenced by clear(), operator<<(), OpticalAlignParam(), and sigma().

std::string OpticalAlignParam::name_

Definition at line 50 of file OpticalAlignInfo.h.

Referenced by clear(), name(), operator<<(), and OpticalAlignParam().

int OpticalAlignParam::quality_

Definition at line 49 of file OpticalAlignInfo.h.

Referenced by clear(), operator<<(), OpticalAlignParam(), and quality().

double OpticalAlignParam::value_

Definition at line 47 of file OpticalAlignInfo.h.

Referenced by clear(), operator<<(), OpticalAlignParam(), and value().