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

Member Function Documentation

◆ clear()

void OpticalAlignInfo::clear ( void  )
inline

Definition at line 94 of file OpticalAlignInfo.h.

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

Referenced by CocoaAnalyzer::readXMLFile().

94  {
95  x_.clear();
96  y_.clear();
97  z_.clear();
98  angx_.clear();
99  angy_.clear();
100  angz_.clear();
101  extraEntries_.clear();
102  type_.clear();
103  ID_ = 0;
104  }
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 57 of file OpticalAlignInfo.cc.

References extraEntries_, and Skims_PA_cff::name.

57  {
58  OpticalAlignParam* param = nullptr;
59  std::vector<OpticalAlignParam>::iterator ite;
60  for (ite = extraEntries_.begin(); ite != extraEntries_.end(); ite++) {
61  if ((*ite).name_ == name) {
62  param = &(*ite);
63  break;
64  }
65  }
66  return param;
67 }
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 106 of file OpticalAlignInfo.h.

◆ cond::serialization::access

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

Definition at line 106 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 92 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_