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
OpticalAlignInfo Class Reference

#include <OpticalAlignInfo.h>

Public Member Functions

void clear ()
 
OpticalAlignParamfindExtraEntry (std::string &name)
 

Public Attributes

OpticalAlignParam angx_
 
OpticalAlignParam angy_
 
OpticalAlignParam angz_
 
std::vector< OpticalAlignParamextraEntries_
 
unsigned int ID_
 
std::string name_
 
std::string parentName_
 
std::string type_
 
OpticalAlignParam x_
 
OpticalAlignParam y_
 
OpticalAlignParam z_
 

Detailed Description

Author: Michael Case Date: Dec. 15, 2005

It is my understanding that each optical geometrical object has a position in space and possible other parameters such as

Definition at line 68 of file OpticalAlignInfo.h.

Member Function Documentation

void OpticalAlignInfo::clear ( void  )
inline

Definition at line 92 of file OpticalAlignInfo.h.

References angx_, angy_, angz_, OpticalAlignParam::clear(), extraEntries_, ID_, type_, x_, y_, and z_.

Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), CocoaAnalyzer::ReadXMLFile(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().

92  {
93  x_.clear();
94  y_.clear();
95  z_.clear();
96  angx_.clear();
97  angy_.clear();
98  angz_.clear();
99  extraEntries_.clear();
100  type_.clear();
101  ID_ = 0;
102  }
OpticalAlignParam x_
OpticalAlignParam angx_
OpticalAlignParam y_
OpticalAlignParam angz_
OpticalAlignParam z_
std::vector< OpticalAlignParam > extraEntries_
OpticalAlignParam angy_
unsigned int ID_
OpticalAlignParam * OpticalAlignInfo::findExtraEntry ( std::string &  name)

Definition at line 70 of file OpticalAlignInfo.cc.

References extraEntries_.

71 {
72  OpticalAlignParam* param = 0;
73  std::vector<OpticalAlignParam>::iterator ite;
74  for( ite = extraEntries_.begin(); ite != extraEntries_.end(); ite++ ){
75  if( (*ite).name_ == name ){
76  param = &(*ite);
77  break;
78  }
79  }
80  return param;
81 }
std::vector< OpticalAlignParam > extraEntries_

Member Data Documentation

OpticalAlignParam OpticalAlignInfo::angx_
OpticalAlignParam OpticalAlignInfo::angy_
OpticalAlignParam OpticalAlignInfo::angz_
std::vector<OpticalAlignParam> OpticalAlignInfo::extraEntries_
unsigned int OpticalAlignInfo::ID_
std::string OpticalAlignInfo::name_
std::string OpticalAlignInfo::parentName_

Definition at line 90 of file OpticalAlignInfo.h.

Referenced by operator<<(), and CocoaAnalyzer::ReadXMLFile().

std::string OpticalAlignInfo::type_
OpticalAlignParam OpticalAlignInfo::x_
OpticalAlignParam OpticalAlignInfo::y_
OpticalAlignParam OpticalAlignInfo::z_