test
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
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_
 

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

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

Member Function Documentation

void OpticalAlignInfo::clear ( void  )
inline

Definition at line 96 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(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().

96  {
97  x_.clear();
98  y_.clear();
99  z_.clear();
100  angx_.clear();
101  angy_.clear();
102  angz_.clear();
103  extraEntries_.clear();
104  type_.clear();
105  ID_ = 0;
106  }
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_
template<class Archive >
void OpticalAlignInfo::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 108 of file OpticalAlignInfo.h.

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

Definition at line 108 of file OpticalAlignInfo.h.

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

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

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