CMS 3D CMS Logo

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

Constructor & Destructor Documentation

◆ OpticalAlignParam() [1/2]

OpticalAlignParam::OpticalAlignParam ( )

Definition at line 6 of file OpticalAlignInfo.cc.

6  {
7  quality_ = -1;
8  dim_type_ = "";
9 }

References dim_type_, and quality_.

◆ OpticalAlignParam() [2/2]

OpticalAlignParam::OpticalAlignParam ( const OpticalAlignParam rhs)

Definition at line 57 of file OpticalAlignInfo.cc.

57  {
58  value_ = rhs.value_;
59  error_ = rhs.error_;
60  quality_ = rhs.quality_;
61  name_ = rhs.name_;
62  dim_type_ = rhs.dim_type_;
63 }

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

Member Function Documentation

◆ clear()

void OpticalAlignParam::clear ( void  )
inline

Definition at line 52 of file OpticalAlignInfo.h.

52  {
53  value_ = 0.0;
54  error_ = 0.0;
56  name_.clear();
57  }

References error_, createfilelist::int, name_, oa_unknown, quality_, and value_.

Referenced by OpticalAlignInfo::clear(), and BeautifulSoup.Tag::setString().

◆ dimType()

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

Definition at line 43 of file OpticalAlignInfo.h.

43 { return dim_type_; }

References dim_type_.

◆ name()

std::string OpticalAlignParam::name ( ) const
inline

◆ quality()

int OpticalAlignParam::quality ( ) const
inline

Definition at line 42 of file OpticalAlignInfo.h.

42 { return quality_; }

References quality_.

Referenced by OpticalObject::getCoordinateFromOptAlignParam().

◆ serialize()

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

◆ sigma()

double OpticalAlignParam::sigma ( ) const
inline

Definition at line 41 of file OpticalAlignInfo.h.

41 { return error_; }

References error_.

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

◆ value()

double OpticalAlignParam::value ( ) const
inline

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 59 of file OpticalAlignInfo.h.

◆ cond::serialization::access

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

Definition at line 59 of file OpticalAlignInfo.h.

Member Data Documentation

◆ dim_type_

std::string OpticalAlignParam::dim_type_

◆ error_

double OpticalAlignParam::error_

◆ name_

std::string OpticalAlignParam::name_

◆ quality_

int OpticalAlignParam::quality_

◆ value_

double OpticalAlignParam::value_
oa_unknown
Definition: OAQuality.h:4
OpticalAlignParam::error_
double error_
Definition: OpticalAlignInfo.h:47
OpticalAlignParam::name_
std::string name_
Definition: OpticalAlignInfo.h:49
createfilelist.int
int
Definition: createfilelist.py:10
OpticalAlignParam::value_
double value_
Definition: OpticalAlignInfo.h:46
OpticalAlignParam::quality_
int quality_
Definition: OpticalAlignInfo.h:48
OpticalAlignParam::dim_type_
std::string dim_type_
Definition: OpticalAlignInfo.h:50