CMS 3D CMS Logo

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

Member Function Documentation

◆ clear()

void OpticalAlignInfo::clear ( void  )
inline

Definition at line 95 of file OpticalAlignInfo.h.

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

Referenced by CocoaAnalyzer::readXMLFile().

95  {
96  x_.clear();
97  y_.clear();
98  z_.clear();
99  angx_.clear();
100  angy_.clear();
101  angz_.clear();
102  extraEntries_.clear();
103  type_.clear();
104  ID_ = 0;
105  }
OpticalAlignParam x_
OpticalAlignParam angx_
OpticalAlignParam y_
OpticalAlignParam angz_
OpticalAlignParam z_
std::vector< OpticalAlignParam > extraEntries_
OpticalAlignParam angy_
unsigned int ID_

◆ findExtraEntry()

OpticalAlignParam * OpticalAlignInfo::findExtraEntry ( std::string &  name)

Definition at line 65 of file OpticalAlignInfo.cc.

References extraEntries_, and Skims_PA_cff::name.

65  {
66  OpticalAlignParam* param = nullptr;
67  std::vector<OpticalAlignParam>::iterator ite;
68  for (ite = extraEntries_.begin(); ite != extraEntries_.end(); ite++) {
69  if ((*ite).name_ == name) {
70  param = &(*ite);
71  break;
72  }
73  }
74  return param;
75 }
std::vector< OpticalAlignParam > extraEntries_

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 107 of file OpticalAlignInfo.h.

◆ cond::serialization::access

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

Definition at line 107 of file OpticalAlignInfo.h.

Member Data Documentation

◆ angx_

OpticalAlignParam OpticalAlignInfo::angx_

◆ angy_

OpticalAlignParam OpticalAlignInfo::angy_

◆ angz_

OpticalAlignParam OpticalAlignInfo::angz_

◆ extraEntries_

std::vector<OpticalAlignParam> OpticalAlignInfo::extraEntries_

◆ ID_

unsigned int OpticalAlignInfo::ID_

◆ name_

std::string OpticalAlignInfo::name_

◆ parentName_

std::string OpticalAlignInfo::parentName_

Definition at line 93 of file OpticalAlignInfo.h.

Referenced by CocoaAnalyzer::readXMLFile().

◆ type_

std::string OpticalAlignInfo::type_

◆ x_

OpticalAlignParam OpticalAlignInfo::x_

◆ y_

OpticalAlignParam OpticalAlignInfo::y_

◆ z_

OpticalAlignParam OpticalAlignInfo::z_