CMS 3D CMS Logo

Public Member Functions | Public Attributes

OpticalAlignInfo Class Reference

#include <OpticalAlignInfo.h>

List of all members.

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 CocoaAnalyzer::ReadXMLFile().

               {
    x_.clear();
    y_.clear();
    z_.clear();
    angx_.clear();
    angy_.clear();
    angz_.clear();
    extraEntries_.clear();
    type_.clear();
    ID_ = 0;
  }
OpticalAlignParam * OpticalAlignInfo::findExtraEntry ( std::string &  name)

Definition at line 70 of file OpticalAlignInfo.cc.

References extraEntries_.

{
  OpticalAlignParam* param = 0;
  std::vector<OpticalAlignParam>::iterator ite;
  for( ite = extraEntries_.begin(); ite != extraEntries_.end(); ite++ ){
    if( (*ite).name_ == name ){
      param = &(*ite);
      break;
    }
  }
  return param;
}

Member Data Documentation

unsigned int OpticalAlignInfo::ID_

Definition at line 90 of file OpticalAlignInfo.h.

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