#include <OpticalObject.h>
Public Member Functions | |
void | addCoordinateEntryToList (Entry *entry) |
void | addExtraEntryToList (Entry *entry) |
void | addExtraEntryValueOriginalOriginalToList (ALIdouble entry_value) |
void | addExtraEntryValueOriginalToList (ALIdouble entry_value) |
void | addExtraEntryValueToList (ALIdouble entry_value) |
double | addPii (double val) |
double | approxTo0 (double val) |
CLHEP::HepRotation | buildRmFromEntryValuesOriginalOriginal () |
const CLHEP::Hep3Vector & | centreGlob () const |
const CLHEP::Hep3Vector & | centreGlobal () const |
const CLHEP::Hep3Vector & | centreGlobOriginal () const |
const CLHEP::Hep3Vector & | centreGlobOriginalOriginal () const |
const CLHEP::Hep3Vector | centreLocal () const |
int | checkMatrixEquations (double angleX, double angleY, double angleZ, CLHEP::HepRotation *rot=0) |
void | construct () |
void | constructFromOptAligInfo (const OpticalAlignInfo &oaInfo) |
virtual void | constructMaterial () |
virtual void | constructSolidShape () |
const std::vector< Entry * > & | CoordinateEntryList () const |
void | createComponentOptOsFromOptAlignInfo () |
virtual void | defaultBehaviour (LightRay &lightray, Measurement &meas) |
virtual void | detailedDeviatesLightRay (LightRay &lightray) |
virtual void | detailedTraversesLightRay (LightRay &lightray) |
double | diff2pi (double ang1, double ang2) |
void | displaceCentreGlob (const XYZcoor coor, const ALIdouble disp) |
void | displaceCentreGlob (const CLHEP::Hep3Vector &dispVec) |
void | displaceCentreGlobOriginal (const XYZcoor coor, const ALIdouble disp) |
void | displaceCentreGlobOriginal (const CLHEP::Hep3Vector &dispVec) |
void | displaceCentreGlobOriginalOriginal (const XYZcoor coor, const ALIdouble disp) |
void | displaceCentreGlobOriginalOriginal (const CLHEP::Hep3Vector &dispVec) |
void | displaceExtraEntry (const ALIuint entryNo, const ALIdouble disp) |
void | displaceExtraEntryOriginal (const ALIuint entryNo, const ALIdouble disp) |
void | displaceExtraEntryOriginalOriginal (const ALIuint entryNo, const ALIdouble disp) |
void | displaceRmGlobAroundGlobal (OpticalObject *opto1stRotated, const XYZcoor coor, const ALIdouble disp) |
void | displaceRmGlobAroundLocal (OpticalObject *opto1stRotated, const XYZcoor coor, const ALIdouble disp) |
void | displaceRmGlobOriginal (const OpticalObject *opto1stRotated, const XYZcoor coor, const ALIdouble disp) |
void | displaceRmGlobOriginalOriginal (const OpticalObject *opto1stRotated, const XYZcoor coor, const ALIdouble disp) |
bool | eq2ang (double ang1, double ang2) |
const std::vector< Entry * > & | ExtraEntryList () const |
const ALIint | extraEntryNo (const ALIstring &entry_name) const |
std::vector< ALIdouble > & | ExtraEntryValueList () |
const std::vector< ALIdouble > & | ExtraEntryValueOriginalList () |
const std::vector< ALIdouble > & | ExtraEntryValueOriginalOriginalList () |
virtual void | fastDeviatesLightRay (LightRay &lightray) |
virtual void | fastTraversesLightRay (LightRay &lightray) |
virtual void | fillIguana () |
virtual void | fillVRML () |
const ALIdouble | findExtraEntryValue (const ALIstring &eename) const |
const ALIbool | findExtraEntryValueIfExists (const ALIstring &eename, ALIdouble &value) const |
const ALIdouble | findExtraEntryValueMustExist (const ALIstring &eename) const |
const ALIuint | getCmsswID () const |
std::vector< ALIstring > | getCoordinateFromOptAlignParam (const OpticalAlignParam &oaParam) |
CLHEP::Hep3Vector | getDisplacementInLocalCoordinates (const XYZcoor coor, const ALIdouble disp) |
const double | getEntryCentre (const XYZcoor coor) const |
const double | getEntryCentre (const ALIstring &coor) const |
const double | getEntryRMangle (const XYZcoor coor) const |
const double | getEntryRMangle (const ALIstring &coor) const |
std::vector< double > | getLocalRotationAngles (const std::vector< Entry * > &entries) const |
CocoaMaterialElementary * | getMaterial () const |
ALIPlane | getPlate (const ALIbool forwardPlate, const ALIbool applyWedge) |
std::vector< double > | getRotationAnglesFromMatrix (CLHEP::HepRotation &rmLocal, const std::vector< Entry * > &entries) const |
std::vector< double > | getRotationAnglesInOptOFrame (const OpticalObject *optoAncestor, const std::vector< Entry * > &entries) const |
CocoaSolidShape * | getSolidShape () const |
CLHEP::Hep3Vector | getZAxis () |
const ALIuint | ID () const |
const ALIstring | longName () const |
virtual void | makeMeasurement (LightRay &lightray, Measurement &meas) |
Measurement * | meas () |
const ALIstring & | name () const |
OpticalObject () | |
OpticalObject (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data) | |
const OpticalObject * | parent () const |
virtual void | participateInMeasurement (LightRay &lightray, Measurement &meas, const ALIstring &behav) |
void | propagateGlobalRMOriginalOriginalChangeToChildren (const CLHEP::HepRotation &rmorioriold, const CLHEP::HepRotation &rmoriorinew) |
void | resetGlobalCoordinates () |
void | resetOriginalOriginalCoordinates () |
const CLHEP::HepRotation & | rmGlob () const |
const CLHEP::HepRotation & | rmGlobOriginal () const |
const CLHEP::HepRotation & | rmGlobOriginalOriginal () const |
const CLHEP::HepRotation | rmLocal () const |
void | setCmsswID (ALIuint id) |
void | setExtraEntryValue (const ALIuint entryNo, const ALIdouble disp) |
void | setGlobalCoordinates () |
void | setGlobalRMOriginalOriginal (const CLHEP::HepRotation &rmoriori) |
void | setID (ALIuint id) |
void | setMeas (Measurement *meas) |
set current measurement More... | |
void | setOriginalEntryValues () |
void | setRmGlobal (const CLHEP::HepRotation &rm) |
void | setRmGlobalOriginal (const CLHEP::HepRotation &rm) |
void | setType (const ALIstring &type) |
const ALIstring | shortName () const |
const ALIstring & | type () const |
virtual void | userDefinedBehaviour (LightRay &lightray, Measurement &meas, const ALIstring &behav) |
virtual | ~OpticalObject () |
Protected Member Functions | |
virtual void | fillExtraEntry (std::vector< ALIstring > &wordlist) |
Protected Attributes | |
CocoaMaterialElementary * | theMaterial |
CocoaSolidShape * | theSolidShape |
ALIint | verbose |
Private Attributes | |
ALIbool | anglesIsGlobal |
CLHEP::Hep3Vector | axisXLocalInGlobal |
CLHEP::Hep3Vector | axisYLocalInGlobal |
CLHEP::Hep3Vector | axisZLocalInGlobal |
ALIbool | centreIsGlobal |
ALIbool | fcopyData |
CLHEP::Hep3Vector | theCentreGlob |
CLHEP::Hep3Vector | theCentreGlobOriginal |
CLHEP::Hep3Vector | theCentreGlobOriginalOriginal |
ALIuint | theCmsswID |
std::vector< Entry * > | theCoordinateEntryVector |
Measurement * | theCurrentMeas |
std::vector< ALIdouble > | theExtraEntryValueOriginalOriginalVector |
std::vector< ALIdouble > | theExtraEntryValueOriginalVector |
std::vector< ALIdouble > | theExtraEntryValueVector |
std::vector< Entry * > | theExtraEntryVector |
ALIstring | theName |
OpticalObject * | theParent |
CLHEP::HepRotation | theRmGlob |
CLHEP::HepRotation | theRmGlobOriginal |
CLHEP::HepRotation | theRmGlobOriginalOriginal |
ALIstring | theType |
Friends | |
std::ostream & | operator<< (std::ostream &os, const OpticalObject &c) |
Definition at line 35 of file OpticalObject.h.
|
inline |
Definition at line 41 of file OpticalObject.h.
References construct(), constructFromOptAligInfo(), constructMaterial(), constructSolidShape(), createComponentOptOsFromOptAlignInfo(), getCoordinateFromOptAlignParam(), name(), parent(), and ~OpticalObject().
OpticalObject::OpticalObject | ( | OpticalObject * | parent, |
const ALIstring & | type, | ||
const ALIstring & | name, | ||
const ALIbool | copy_data | ||
) |
Definition at line 54 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, fcopyData, OpticalObjectMgr::getInstance(), OpticalObjectMgr::registerMe(), theName, and theType.
|
virtual |
|
inline |
Definition at line 141 of file OpticalObject.h.
References theCoordinateEntryVector.
Referenced by fillCoordinateEntry(), and setAnglesNull().
|
inline |
Definition at line 144 of file OpticalObject.h.
References theExtraEntryVector.
Referenced by fillExtraEntry().
|
inline |
Definition at line 153 of file OpticalObject.h.
References defaultBehaviour(), detailedDeviatesLightRay(), detailedTraversesLightRay(), fastDeviatesLightRay(), fastTraversesLightRay(), makeMeasurement(), meas(), participateInMeasurement(), theExtraEntryValueOriginalOriginalVector, and userDefinedBehaviour().
Referenced by setOriginalEntryValues().
|
inline |
Definition at line 150 of file OpticalObject.h.
References theExtraEntryValueOriginalVector.
Referenced by setOriginalEntryValues().
|
inline |
Definition at line 147 of file OpticalObject.h.
References theExtraEntryValueVector.
Referenced by fillExtraEntry().
double OpticalObject::addPii | ( | double | val | ) |
Definition at line 1909 of file OpticalObject.cc.
References M_PI, and heppy_batch::val.
Referenced by meas().
double OpticalObject::approxTo0 | ( | double | val | ) |
Definition at line 1900 of file OpticalObject.cc.
References heppy_batch::val.
Referenced by meas().
CLHEP::HepRotation OpticalObject::buildRmFromEntryValuesOriginalOriginal | ( | ) |
Definition at line 710 of file OpticalObject.cc.
References CoordinateEntryList(), gather_cfg::cout, ALIUtils::debug, ALIUtils::dumprm(), getEntryRMangle(), longName(), name(), parent(), submit::rm, theRmGlob, XCoor, YCoor, and ZCoor.
Referenced by setRmGlobalOriginal().
|
private |
Definition at line 427 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, ALIUtils::dumpVS(), Entry::name(), name(), Entry::OptOCurrent(), Entry::quality(), Entry::sigma(), Entry::SigmaDimensionFactor(), Entry::value(), and Entry::ValueDimensionFactor().
Referenced by copyData(), and getSolidShape().
|
private |
Definition at line 1793 of file OpticalObject.cc.
References axisXLocalInGlobal, axisYLocalInGlobal, axisZLocalInGlobal, gather_cfg::cout, ALIUtils::debug, name(), and theRmGlob.
Referenced by displaceRmGlobAroundLocal(), getSolidShape(), resetGlobalCoordinates(), resetOriginalOriginalCoordinates(), and setGlobalRM().
|
inline |
Definition at line 85 of file OpticalObject.h.
References theCentreGlob.
Referenced by centreGlobal(), centreLocal(), OptOPinhole::defaultBehaviour(), OptOCubeSplitter::detailedDeviatesLightRay(), displaceRmGlobAroundGlobal(), displaceRmGlobAroundLocal(), displaceRmGlobOriginal(), displaceRmGlobOriginalOriginal(), CocoaDBMgr::GetAlignInfoFromOptO(), OptOCubeSplitter::getMiddlePlate(), CocoaDBMgr::GetOptAlignInfoFromOptO(), getPlate(), OptOCubeSplitter::getUpperPlate(), LightRay::intersect(), LightRay::LightRay(), OptODistancemeter::makeMeasurement(), OptODistancemeter3dim::makeMeasurement(), Fit::printCentreInOptOFrame(), SetCentreGlobFromCentreLocal(), SetCentreLocalFromEntryValues(), setOriginalEntryValues(), LightRay::startLightRay(), OptOUserDefined::userDefinedBehaviour(), and EntryLengthAffCentre::valueDisplaced().
|
inline |
Definition at line 89 of file OpticalObject.h.
References centreGlob(), and centreLocal().
|
inline |
Definition at line 95 of file OpticalObject.h.
References theCentreGlobOriginal.
Referenced by displaceCentreGlob(), displaceRmGlobAroundGlobal(), displaceRmGlobAroundLocal(), displaceRmGlobOriginal(), resetGlobalCoordinates(), and EntryLengthAffCentre::valueDisplaced().
|
inline |
Definition at line 98 of file OpticalObject.h.
References theCentreGlobOriginalOriginal.
Referenced by displaceRmGlobOriginalOriginal().
const CLHEP::Hep3Vector OpticalObject::centreLocal | ( | ) | const |
Definition at line 2022 of file OpticalObject.cc.
References centreGlob(), parent(), rmGlob(), and theCentreGlob.
Referenced by centreGlobal(), and CocoaToDDLMgr::pv().
int OpticalObject::checkMatrixEquations | ( | double | angleX, |
double | angleY, | ||
double | angleZ, | ||
CLHEP::HepRotation * | rot = 0 |
||
) |
Definition at line 1921 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, funct::cos(), eq2ang(), funct::sin(), fftjetcommon_cfi::sx, and fftjetcommon_cfi::sy.
Referenced by meas().
void OpticalObject::construct | ( | ) |
Definition at line 67 of file OpticalObject.cc.
References constructMaterial(), constructSolidShape(), copyData(), gather_cfg::cout, createComponentOptOs(), ALIUtils::debug, fcopyData, ALIFileIn::getInstance(), name(), readData(), Model::SDFName(), setGlobalCoordinates(), setOriginalEntryValues(), and theParent.
Referenced by createComponentOptOs(), OpticalObject(), and Model::readSystemDescription().
void OpticalObject::constructFromOptAligInfo | ( | const OpticalAlignInfo & | oaInfo | ) |
Definition at line 2109 of file OpticalObject.cc.
References anglesIsGlobal, OpticalAlignInfo::angx_, OpticalAlignInfo::angy_, OpticalAlignInfo::angz_, centreIsGlobal, constructMaterial(), constructSolidShape(), gather_cfg::cout, createComponentOptOsFromOptAlignInfo(), ALIUtils::debug, OpticalAlignInfo::extraEntries_, fillCoordinateEntry(), fillExtraEntry(), getCoordinateFromOptAlignParam(), OpticalAlignInfo::ID_, setCmsswID(), setGlobalCoordinates(), setOriginalEntryValues(), theParent, OpticalAlignInfo::x_, OpticalAlignInfo::y_, and OpticalAlignInfo::z_.
Referenced by Model::BuildSystemDescriptionFromOA(), createComponentOptOsFromOptAlignInfo(), and OpticalObject().
|
virtual |
Definition at line 2092 of file OpticalObject.cc.
References f, and theMaterial.
Referenced by construct(), constructFromOptAligInfo(), and OpticalObject().
|
virtual |
Reimplemented in OptOSensor2D, OptOCOPS, OptOModifiedRhomboidPrism, OptOCubeSplitter, OptOMirror, OptOOpticalSquare, OptOPlateSplitter, OptODistancemeter, OptODistancemeter3dim, OptOSource, OptOTiltmeter, OptOLaser, OptOLens, OptOPinhole, OptOScreen, OptOCameraDetector, OptORisleyPrism, and OptOXLaser.
Definition at line 2098 of file OpticalObject.cc.
References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), funct::m, and theSolidShape.
Referenced by construct(), constructFromOptAligInfo(), and OpticalObject().
|
inline |
Definition at line 65 of file OpticalObject.h.
References theCoordinateEntryVector.
Referenced by Measurement::addAffectingEntriesFromOptO(), buildRmFromEntryValuesOriginalOriginal(), copyData(), Model::deleteOptO(), Fit::findEntryFitPosition(), CocoaDBMgr::GetAlignInfoErrorFromOptO(), CocoaDBMgr::GetOptAlignInfoFromOptO(), Fit::printCentreInOptOFrame(), Fit::printRotationAnglesInOptOFrame(), and CocoaToDDLMgr::specPar().
|
private |
Definition at line 379 of file OpticalObject.cc.
References anglesIsGlobal, buildWordList(), centreIsGlobal, CoordinateEntryList(), gather_cfg::cout, ALIUtils::debug, ALIUtils::dumpVS(), ExtraEntryList(), fillCoordinateEntry(), fillExtraEntry(), name(), Model::nextOptOToCopy(), and theName.
Referenced by construct(), and getSolidShape().
|
private |
Definition at line 470 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, construct(), gather_cfg::cout, Model::createCopyComponentList(), createNewOptO(), ALIUtils::debug, ALIFileIn::ErrorInLine(), cmsRelvalreport::exit, fcopyData, Model::getComponentOptOTypes(), OpticalObjectMgr::getInstance(), ALIUtils::getInt(), ALIFileIn::getWordsInLine(), name(), Model::OptOList(), setID(), and type().
Referenced by construct(), and getSolidShape().
void OpticalObject::createComponentOptOsFromOptAlignInfo | ( | ) |
Definition at line 2186 of file OpticalObject.cc.
References class-composition::children, constructFromOptAligInfo(), gather_cfg::cout, createNewOptO(), ALIUtils::debug, Model::getOpticalAlignments(), cuy::ii, OpticalAlignInfo::name_, Model::OptOList(), and theName.
Referenced by constructFromOptAligInfo(), and OpticalObject().
|
private |
Definition at line 543 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, and name().
Referenced by createComponentOptOs(), createComponentOptOsFromOptAlignInfo(), and getSolidShape().
|
virtual |
Reimplemented in OptOSource, OptOCOPS, OptOMirror, OptOSensor2D, OptODistancemeter, OptODistancemeter3dim, OptOLaser, OptOPinhole, OptOScreen, OptOTiltmeter, and OptOXLaser.
Definition at line 908 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::exit, name(), and type().
Referenced by addExtraEntryValueOriginalOriginalToList(), and participateInMeasurement().
|
virtual |
Reimplemented in OptOCubeSplitter, OptOModifiedRhomboidPrism, OptOOpticalSquare, OptOMirror, and OptOPlateSplitter.
Definition at line 941 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::exit, name(), and type().
Referenced by addExtraEntryValueOriginalOriginalToList(), and participateInMeasurement().
|
virtual |
Reimplemented in OptOMirror, OptOSensor2D, OptOCubeSplitter, OptOModifiedRhomboidPrism, OptOOpticalSquare, and OptOPlateSplitter.
Definition at line 952 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::exit, name(), and type().
Referenced by addExtraEntryValueOriginalOriginalToList(), and participateInMeasurement().
double OpticalObject::diff2pi | ( | double | ang1, |
double | ang2 | ||
) |
Definition at line 1874 of file OpticalObject.cc.
References mps_update::diff, createfilelist::int, and M_PI.
Referenced by eq2ang(), and meas().
Definition at line 1039 of file OpticalObject.cc.
References centreGlobOriginal(), gather_cfg::cout, ALIUtils::debug, Model::getComponentOptOs(), getDispVec(), name(), and theCentreGlob.
Referenced by EntryLengthAffCentre::displace(), and getZAxis().
void OpticalObject::displaceCentreGlob | ( | const CLHEP::Hep3Vector & | dispVec | ) |
Definition at line 1088 of file OpticalObject.cc.
References centreGlobOriginal(), gather_cfg::cout, ALIUtils::debug, Model::getComponentOptOs(), name(), and theCentreGlob.
Definition at line 1132 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), Model::getComponentOptOs(), getDispVec(), name(), and theCentreGlobOriginal.
Referenced by EntryLengthAffCentre::displaceOriginal(), and getZAxis().
void OpticalObject::displaceCentreGlobOriginal | ( | const CLHEP::Hep3Vector & | dispVec | ) |
Definition at line 1155 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), Model::getComponentOptOs(), name(), and theCentreGlobOriginal.
Definition at line 1175 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), Model::getComponentOptOs(), getDispVec(), name(), and theCentreGlobOriginalOriginal.
Referenced by EntryLengthAffCentre::displaceOriginalOriginal(), and getZAxis().
void OpticalObject::displaceCentreGlobOriginalOriginal | ( | const CLHEP::Hep3Vector & | dispVec | ) |
Definition at line 1198 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), Model::getComponentOptOs(), name(), and theCentreGlobOriginalOriginal.
Definition at line 1112 of file OpticalObject.cc.
References LogDebug, theExtraEntryValueOriginalVector, and theExtraEntryValueVector.
Referenced by Entry::displace(), and getZAxis().
Definition at line 1522 of file OpticalObject.cc.
References theExtraEntryValueOriginalVector.
Referenced by Entry::displaceOriginal(), and getZAxis().
void OpticalObject::displaceExtraEntryOriginalOriginal | ( | const ALIuint | entryNo, |
const ALIdouble | disp | ||
) |
Definition at line 1533 of file OpticalObject.cc.
References theExtraEntryValueOriginalOriginalVector.
Referenced by Entry::displaceOriginalOriginal(), and getZAxis().
void OpticalObject::displaceRmGlobAroundGlobal | ( | OpticalObject * | opto1stRotated, |
const XYZcoor | coor, | ||
const ALIdouble | disp | ||
) |
Definition at line 1221 of file OpticalObject.cc.
References centreGlob(), centreGlobOriginal(), gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), ALIUtils::dumprm(), Model::getComponentOptOs(), name(), rmGlobOriginal(), rotateItAroundGlobal(), theCentreGlob, and theRmGlob.
Referenced by EntryAngleAffAngles::displace(), and getZAxis().
void OpticalObject::displaceRmGlobAroundLocal | ( | OpticalObject * | opto1stRotated, |
const XYZcoor | coor, | ||
const ALIdouble | disp | ||
) |
Definition at line 1263 of file OpticalObject.cc.
References anglesIsGlobal, calculateLocalRotationAxisInGlobal(), centreGlob(), centreGlobOriginal(), MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), ALIUtils::dumprm(), Model::getComponentOptOs(), getEntryRMangle(), name(), setGlobalCentre(), SetRMGlobFromRMLocal(), theRmGlob, XCoor, YCoor, and ZCoor.
Referenced by EntryAngleAffAngles::displace(), and getZAxis().
void OpticalObject::displaceRmGlobOriginal | ( | const OpticalObject * | opto1stRotated, |
const XYZcoor | coor, | ||
const ALIdouble | disp | ||
) |
!temporary, theRmGlobOriginal should disappear
Definition at line 1365 of file OpticalObject.cc.
References centreGlob(), centreGlobOriginal(), MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), ALIUtils::dumprm(), cmsRelvalreport::exit, Model::getComponentOptOs(), GlobalOptionMgr::getInstance(), GlobalOptionMgr::GlobalOptions(), name(), setGlobalCoordinates(), theCentreGlob, theCentreGlobOriginal, theRmGlob, and theRmGlobOriginal.
Referenced by EntryAngleAffAngles::displaceOriginal(), and getZAxis().
void OpticalObject::displaceRmGlobOriginalOriginal | ( | const OpticalObject * | opto1stRotated, |
const XYZcoor | coor, | ||
const ALIdouble | disp | ||
) |
!temporary, theRmGlobOriginalOriginal should disappear
Definition at line 1443 of file OpticalObject.cc.
References centreGlob(), centreGlobOriginalOriginal(), MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), ALIUtils::dumprm(), cmsRelvalreport::exit, Model::getComponentOptOs(), GlobalOptionMgr::getInstance(), GlobalOptionMgr::GlobalOptions(), name(), setGlobalCoordinates(), theCentreGlob, theCentreGlobOriginalOriginal, theRmGlob, and theRmGlobOriginalOriginal.
Referenced by EntryAngleAffAngles::displaceOriginalOriginal(), and getZAxis().
bool OpticalObject::eq2ang | ( | double | ang1, |
double | ang2 | ||
) |
Definition at line 1883 of file OpticalObject.cc.
References mps_update::diff, diff2pi(), and M_PI.
Referenced by checkMatrixEquations(), and meas().
|
inline |
Definition at line 69 of file OpticalObject.h.
References theExtraEntryVector.
Referenced by Measurement::addAffectingEntriesFromOptO(), copyData(), Model::deleteOptO(), extraEntryNo(), Fit::findEntryFitPosition(), CocoaDBMgr::GetOptAlignInfoFromOptO(), resetOriginalOriginalCoordinates(), CocoaToDDLMgr::specPar(), and OptOUserDefined::userDefinedBehaviour().
Definition at line 1544 of file OpticalObject.cc.
References begin, and ExtraEntryList().
Referenced by Entry::displace(), Entry::displaceOriginal(), Entry::displaceOriginalOriginal(), findExtraEntryValue(), findExtraEntryValueIfExists(), findExtraEntryValueMustExist(), getZAxis(), and Entry::valueDisplaced().
|
inline |
Definition at line 73 of file OpticalObject.h.
References theExtraEntryValueVector.
Referenced by resetGlobalCoordinates(), resetOriginalOriginalCoordinates(), setOriginalEntryValues(), and Entry::valueDisplaced().
|
inline |
Definition at line 77 of file OpticalObject.h.
References theExtraEntryValueOriginalVector.
Referenced by resetGlobalCoordinates(), and Entry::valueDisplaced().
|
inline |
Definition at line 80 of file OpticalObject.h.
References theExtraEntryValueOriginalOriginalVector.
|
virtual |
Reimplemented in OptOMirror, OptOPlateSplitter, OptOCubeSplitter, OptOModifiedRhomboidPrism, and OptOOpticalSquare.
Definition at line 919 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::exit, name(), and type().
Referenced by addExtraEntryValueOriginalOriginalToList(), and participateInMeasurement().
|
virtual |
Reimplemented in OptOMirror, OptOCOPS, OptOPlateSplitter, OptOSensor2D, OptOCubeSplitter, OptOModifiedRhomboidPrism, and OptOOpticalSquare.
Definition at line 930 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::exit, name(), and type().
Referenced by addExtraEntryValueOriginalOriginalToList(), and participateInMeasurement().
|
private |
Definition at line 314 of file OpticalObject.cc.
References addCoordinateEntryToList(), Model::addEntryToList(), MessageLogger_cfi::cerr, mps_splice::entry, cmsRelvalreport::exit, Entry::fill(), Entry::fillName(), name(), and Entry::setOptOCurrent().
Referenced by constructFromOptAligInfo(), copyData(), getSolidShape(), and readCoordinates().
|
protectedvirtual |
Reimplemented in OptOSensor2D.
Definition at line 166 of file OpticalObject.cc.
References Model::addEntryToList(), addExtraEntryToList(), addExtraEntryValueToList(), MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, ALIUtils::dumpVS(), cmsRelvalreport::exit, Entry::fill(), Entry::fillName(), Entry::setOptOCurrent(), Entry::value(), and Entry::ValueDimensionFactor().
Referenced by constructFromOptAligInfo(), copyData(), OptOSensor2D::fillExtraEntry(), getSolidShape(), and readExtraEntries().
|
inlinevirtual |
Definition at line 56 of file OpticalObject.h.
Referenced by OptOOpticalSquare::calculateFaces(), OptOSensor2D::convertPointToLocalCoordinates(), OptOXLaser::defaultBehaviour(), OptOPinhole::defaultBehaviour(), OptOLaser::defaultBehaviour(), OptOScreen::defaultBehaviour(), OptOSource::defaultBehaviour(), OptOPlateSplitter::fastTraversesLightRay(), OptOMirror::fastTraversesLightRay(), OptOCOPS::getMeasFromInters(), OptOModifiedRhomboidPrism::getRotatedPlate(), OptOCubeSplitter::getUpperPlate(), OptOTiltmeter::makeMeasurement(), OptODistancemeter3dim::makeMeasurement(), OptODistancemeter::makeMeasurement(), OptOLens::participateInMeasurement(), OptOUserDefined::userDefinedBehaviour(), OptOCOPS::~OptOCOPS(), OptOCubeSplitter::~OptOCubeSplitter(), OptODistancemeter::~OptODistancemeter(), OptODistancemeter3dim::~OptODistancemeter3dim(), OptOLaser::~OptOLaser(), OptOLens::~OptOLens(), OptOMirror::~OptOMirror(), OptOModifiedRhomboidPrism::~OptOModifiedRhomboidPrism(), OptOOpticalSquare::~OptOOpticalSquare(), OptOPinhole::~OptOPinhole(), OptOPlateSplitter::~OptOPlateSplitter(), OptOScreen::~OptOScreen(), OptOSensor2D::~OptOSensor2D(), OptOSource::~OptOSource(), OptOTiltmeter::~OptOTiltmeter(), OptOUserDefined::~OptOUserDefined(), and OptOXLaser::~OptOXLaser().
|
inlinevirtual |
Definition at line 55 of file OpticalObject.h.
Referenced by OptOSensor2D::convertPointToLocalCoordinates(), OptOLaser::defaultBehaviour(), OptOScreen::defaultBehaviour(), OptOSource::defaultBehaviour(), OptOCOPS::getMeasFromInters(), OptOTiltmeter::makeMeasurement(), OptODistancemeter::makeMeasurement(), OptODistancemeter3dim::makeMeasurement(), OptOUserDefined::userDefinedBehaviour(), OptOCOPS::~OptOCOPS(), OptODistancemeter::~OptODistancemeter(), OptODistancemeter3dim::~OptODistancemeter3dim(), OptOLaser::~OptOLaser(), OptOScreen::~OptOScreen(), OptOSensor2D::~OptOSensor2D(), OptOSource::~OptOSource(), OptOTiltmeter::~OptOTiltmeter(), and OptOUserDefined::~OptOUserDefined().
Definition at line 1565 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, trackerTree::check(), gather_cfg::cout, ALIUtils::debug, cmsRelvalreport::exit, extraEntryNo(), GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), name(), and theExtraEntryValueVector.
Referenced by OptOCubeSplitter::detailedDeviatesLightRay(), OptOCubeSplitter::detailedTraversesLightRay(), findExtraEntryValueIfExists(), findExtraEntryValueMustExist(), getPlate(), OptOCubeSplitter::getUpperPlate(), getZAxis(), LightRay::shiftAndDeviateWhileTraversing(), and OptOUserDefined::userDefinedBehaviour().
const ALIbool OpticalObject::findExtraEntryValueIfExists | ( | const ALIstring & | eename, |
ALIdouble & | value | ||
) | const |
Definition at line 1610 of file OpticalObject.cc.
References extraEntryNo(), and findExtraEntryValue().
Referenced by OptOCubeSplitter::getMiddlePlate(), OptOCubeSplitter::getUpperPlate(), getZAxis(), and OptOCOPS::makeMeasurement().
Definition at line 1594 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, mps_splice::entry, cmsRelvalreport::exit, extraEntryNo(), findExtraEntryValue(), and name().
Referenced by getZAxis().
|
inline |
Definition at line 122 of file OpticalObject.h.
References theCmsswID.
Referenced by CocoaDBMgr::GetAlignInfoErrorFromOptO(), CocoaDBMgr::GetAlignInfoFromOptO(), CocoaDBMgr::GetOptAlignInfoFromOptO(), and CocoaToDDLMgr::specPar().
std::vector< ALIstring > OpticalObject::getCoordinateFromOptAlignParam | ( | const OpticalAlignParam & | oaParam | ) |
Definition at line 2159 of file OpticalObject.cc.
References ALIUtils::debug, ALIUtils::dumpVS(), OpticalAlignParam::name(), OpticalAlignParam::quality(), OpticalAlignParam::sigma(), and OpticalAlignParam::value().
Referenced by constructFromOptAligInfo(), and OpticalObject().
CLHEP::Hep3Vector OpticalObject::getDisplacementInLocalCoordinates | ( | const XYZcoor | coor, |
const ALIdouble | disp | ||
) |
Definition at line 1063 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, and cmsRelvalreport::exit.
Referenced by getZAxis().
Definition at line 1991 of file OpticalObject.cc.
References ALIUtils::debug, ALIUtils::dump3v(), ALIUtils::dumprm(), parent(), and rmGlob().
Referenced by displaceCentreGlob(), displaceCentreGlobOriginal(), displaceCentreGlobOriginalOriginal(), and getSolidShape().
const double OpticalObject::getEntryCentre | ( | const XYZcoor | coor | ) | const |
Definition at line 2041 of file OpticalObject.cc.
References theCoordinateEntryVector, Entry::value(), and Entry::valueDisplacementByFitting().
Referenced by rmGlobOriginalOriginal(), and SetCentreLocalFromEntryValues().
const double OpticalObject::getEntryCentre | ( | const ALIstring & | coor | ) | const |
Definition at line 2050 of file OpticalObject.cc.
References theCoordinateEntryVector, Entry::value(), Entry::valueDisplacementByFitting(), XCoor, YCoor, and ZCoor.
const double OpticalObject::getEntryRMangle | ( | const XYZcoor | coor | ) | const |
Definition at line 2066 of file OpticalObject.cc.
References theCoordinateEntryVector, Entry::value(), and Entry::valueDisplacementByFitting().
Referenced by buildRmFromEntryValuesOriginalOriginal(), displaceRmGlobAroundLocal(), FittedEntriesReader::readFittedEntriesFromFile(), rmGlobOriginalOriginal(), SetRMGlobFromRMLocal(), and SetRMLocalFromEntryValues().
const double OpticalObject::getEntryRMangle | ( | const ALIstring & | coor | ) | const |
Definition at line 2074 of file OpticalObject.cc.
References theCoordinateEntryVector, Entry::value(), Entry::valueDisplacementByFitting(), XCoor, YCoor, and ZCoor.
std::vector< double > OpticalObject::getLocalRotationAngles | ( | const std::vector< Entry * > & | entries | ) | const |
Definition at line 1748 of file OpticalObject.cc.
References getRotationAnglesInOptOFrame(), and theParent.
Referenced by CocoaDBMgr::GetOptAlignInfoFromOptO(), and meas().
|
inline |
Definition at line 258 of file OpticalObject.h.
References theMaterial.
Referenced by CocoaToDDLMgr::lv().
Definition at line 987 of file OpticalObject.cc.
References centreGlob(), gather_cfg::cout, ALIUtils::debug, ALIUtils::dump3v(), ALIUtils::dumprm(), findExtraEntryValue(), name(), rmGlob(), and ApeEstimator_cff::width.
Referenced by OptOCubeSplitter::detailedDeviatesLightRay(), OptOCubeSplitter::detailedTraversesLightRay(), OptOCubeSplitter::fastTraversesLightRay(), getZAxis(), and OptOUserDefined::userDefinedBehaviour().
std::vector< double > OpticalObject::getRotationAnglesFromMatrix | ( | CLHEP::HepRotation & | rmLocal, |
const std::vector< Entry * > & | entries | ||
) | const |
Definition at line 1780 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, and ALIUtils::getRotationAnglesFromMatrix().
Referenced by getRotationAnglesInOptOFrame(), meas(), and EntryAngleAffAngles::valueDisplaced().
std::vector< double > OpticalObject::getRotationAnglesInOptOFrame | ( | const OpticalObject * | optoAncestor, |
const std::vector< Entry * > & | entries | ||
) | const |
Definition at line 1754 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, ALIUtils::dumprm(), cmsRelvalreport::exit, getRotationAnglesFromMatrix(), name(), rmGlob(), rmLocal(), theRmGlob, and theRmGlobOriginal.
Referenced by getLocalRotationAngles(), meas(), and Fit::printRotationAnglesInOptOFrame().
|
inline |
Definition at line 260 of file OpticalObject.h.
References buildWordList(), calculateLocalRotationAxisInGlobal(), copyData(), createComponentOptOs(), createNewOptO(), mps_splice::entry, fillCoordinateEntry(), fillExtraEntry(), getDispVec(), readCoordinates(), readData(), readExtraEntries(), rotateItAroundGlobal(), setAnglesNull(), SetCentreGlobFromCentreLocal(), SetCentreLocalFromEntryValues(), setGlobalCentre(), setGlobalCoordinatesOfComponents(), setGlobalRM(), SetRMGlobFromRMLocal(), SetRMGlobFromRMLocalOriginalOriginal(), SetRMLocalFromEntryValues(), theSolidShape, transformCylindrical2Cartesian(), transformGlobal2Local(), and transformSpherical2Cartesian().
|
inline |
Definition at line 180 of file OpticalObject.h.
References displaceCentreGlob(), displaceCentreGlobOriginal(), displaceCentreGlobOriginalOriginal(), displaceExtraEntry(), displaceExtraEntryOriginal(), displaceExtraEntryOriginalOriginal(), displaceRmGlobAroundGlobal(), displaceRmGlobAroundLocal(), displaceRmGlobOriginal(), displaceRmGlobOriginalOriginal(), extraEntryNo(), findExtraEntryValue(), findExtraEntryValueIfExists(), findExtraEntryValueMustExist(), getDisplacementInLocalCoordinates(), getPlate(), resetGlobalCoordinates(), resetOriginalOriginalCoordinates(), rmGlob(), setExtraEntryValue(), and shortName().
|
inline |
|
inline |
Definition at line 233 of file OpticalObject.h.
References name().
Referenced by buildRmFromEntryValuesOriginalOriginal(), Fit::dumpFittedValuesInAllAncestorFrames(), Entry::fill(), FittedEntry::FittedEntry(), readCoordinates(), OpticalObjectMgr::registerMe(), and SetRMGlobFromRMLocal().
|
virtual |
Reimplemented in OptOCOPS, OptODistancemeter, OptODistancemeter3dim, OptOSensor2D, and OptOTiltmeter.
Definition at line 963 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::exit, name(), and type().
Referenced by addExtraEntryValueOriginalOriginalToList(), and participateInMeasurement().
|
inline |
Definition at line 241 of file OpticalObject.h.
References addPii(), approxTo0(), checkMatrixEquations(), diff2pi(), eq2ang(), getLocalRotationAngles(), getRotationAnglesFromMatrix(), getRotationAnglesInOptOFrame(), makeMuonMisalignmentScenario::rot, setGlobalCoordinates(), setOriginalEntryValues(), theCurrentMeas, and heppy_batch::val.
Referenced by addExtraEntryValueOriginalOriginalToList(), setMeas(), OptOCameraDetector::~OptOCameraDetector(), OptOCOPS::~OptOCOPS(), OptODistancemeter::~OptODistancemeter(), OptODistancemeter3dim::~OptODistancemeter3dim(), OptOLaser::~OptOLaser(), OptOLens::~OptOLens(), OptOMirror::~OptOMirror(), OptOPinhole::~OptOPinhole(), OptORisleyPrism::~OptORisleyPrism(), OptOScreen::~OptOScreen(), OptOSensor2D::~OptOSensor2D(), OptOSource::~OptOSource(), OptOTiltmeter::~OptOTiltmeter(), OptOUserDefined::~OptOUserDefined(), and OptOXLaser::~OptOXLaser().
|
inline |
Definition at line 60 of file OpticalObject.h.
References theName.
Referenced by config.CFG::__str__(), Measurement::addAffectingEntriesFromOptO(), Entry::addFittedDisplacementToValue(), Measurement::buildOptOList(), buildRmFromEntryValuesOriginalOriginal(), buildWordList(), calculateLocalRotationAxisInGlobal(), construct(), copyData(), createComponentOptOs(), createNewOptO(), OptOPinhole::defaultBehaviour(), defaultBehaviour(), Model::deleteOptO(), Measurement::DerivativeRespectEntry(), OptOCubeSplitter::detailedDeviatesLightRay(), detailedDeviatesLightRay(), OptOCubeSplitter::detailedTraversesLightRay(), detailedTraversesLightRay(), validation.Sample::digest(), displaceCentreGlob(), displaceCentreGlobOriginal(), displaceCentreGlobOriginalOriginal(), displaceRmGlobAroundGlobal(), displaceRmGlobAroundLocal(), displaceRmGlobOriginal(), displaceRmGlobOriginalOriginal(), Fit::dumpEntryAfterFit(), OptOCubeSplitter::fastDeviatesLightRay(), fastDeviatesLightRay(), OptOCubeSplitter::fastTraversesLightRay(), fastTraversesLightRay(), fillCoordinateEntry(), Model::fillCopyComponentList(), Entry::fillFromInputFileQuality(), Entry::fillFromReportOutFileValue(), findExtraEntryValue(), findExtraEntryValueMustExist(), CocoaDBMgr::GetAlignInfoErrorFromOptO(), CocoaDBMgr::GetAlignInfoFromOptO(), Model::getComponentOptOs(), OptOCubeSplitter::getMiddlePlate(), CocoaDBMgr::GetOptAlignInfoFromOptO(), getPlate(), Measurement::getPreviousOptO(), getRotationAnglesInOptOFrame(), OptOCubeSplitter::getUpperPlate(), VIDSelectorBase.VIDSelectorBase::initialize(), LightRay::LightRay(), Entry::longName(), longName(), CocoaToDDLMgr::lv(), OptODistancemeter3dim::makeMeasurement(), OptODistancemeter::makeMeasurement(), makeMeasurement(), CocoaToDDLMgr::measurementsAsSpecPars(), OpticalObject(), Fit::printCentreInOptOFrame(), propagateGlobalRMOriginalOriginalChangeToChildren(), CocoaToDDLMgr::pv(), resetGlobalCoordinates(), resetOriginalOriginalCoordinates(), setAnglesNull(), SetCentreGlobFromCentreLocal(), setGlobalCoordinatesOfComponents(), setGlobalRMOriginalOriginal(), FittedEntriesSet::SetOptOEntries(), SetRMGlobFromRMLocal(), shortName(), CocoaToDDLMgr::specPar(), LightRay::startLightRay(), transformCylindrical2Cartesian(), OptOUserDefined::userDefinedBehaviour(), userDefinedBehaviour(), Vispa.Views.PropertyView.Property::valueChanged(), EntryAngleAffAngles::valueDisplaced(), EntryLengthAffCentre::valueDisplaced(), and Entry::valueDisplaced().
|
inline |
Definition at line 62 of file OpticalObject.h.
References theParent.
Referenced by Measurement::addAffectingEntriesFromOptO(), Vispa.Gui.ConnectableWidget.ConnectableWidget::addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer::applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer::arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer::autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer::autosizeScrollArea(), buildRmFromEntryValuesOriginalOriginal(), centreLocal(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Main.StartupScreen.StartupScreen::createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.DecayLine::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::delete(), Vispa.Views.LineDecayView.DecayNode::delete(), Vispa.Views.LineDecayView.DecayLine::delete(), Vispa.Gui.VispaWidget.VispaWidget::delete(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), Fit::dumpFittedValues(), Fit::dumpFittedValuesInAllAncestorFrames(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), Vispa.Views.LineDecayView.DecayLine::extendedSize(), getDispVec(), CocoaDBMgr::GetOptAlignInfoFromOptO(), Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.PortWidget.PortWidget::moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget::mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), Vispa.Views.LineDecayView.DecayNode::move(), Vispa.Views.LineDecayView.LineDecayContainer::noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer::operationId(), OpticalObject(), Vispa.Views.LineDecayView.DecayLine::paint(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), CocoaToDDLMgr::pv(), Vispa.Views.LineDecayView.DecayLine::qtLineStyle(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), Vispa.Views.WidgetView.WidgetView::select(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), SetCentreGlobFromCentreLocal(), setGlobalRMOriginalOriginal(), SetRMGlobFromRMLocal(), SetRMGlobFromRMLocalOriginalOriginal(), Vispa.Views.LineDecayView.LineDecayContainer::sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer::tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer::toggleCollapsed(), Vispa.Views.LineDecayView.DecayNode::unite(), Vispa.Views.PropertyView.PropertyView::valueChanged(), EntryAngleAffAngles::valueDisplaced(), Vispa.Views.BoxDecayView.BoxDecayContainer::widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDragged().
|
virtual |
Reimplemented in OptOCameraDetector, OptOLens, and OptORisleyPrism.
Definition at line 883 of file OpticalObject.cc.
References defaultBehaviour(), detailedDeviatesLightRay(), detailedTraversesLightRay(), fastDeviatesLightRay(), fastTraversesLightRay(), makeMeasurement(), setMeas(), and userDefinedBehaviour().
Referenced by addExtraEntryValueOriginalOriginalToList().
void OpticalObject::propagateGlobalRMOriginalOriginalChangeToChildren | ( | const CLHEP::HepRotation & | rmorioriold, |
const CLHEP::HepRotation & | rmoriorinew | ||
) |
Definition at line 686 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::dumprm(), Model::getComponentOptOs(), name(), rmGlobOriginalOriginal(), and theRmGlobOriginalOriginal.
Referenced by setRmGlobalOriginal().
|
private |
Definition at line 219 of file OpticalObject.cc.
References anglesIsGlobal, centreIsGlobal, MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, ALIFileIn::ErrorInLine(), cmsRelvalreport::exit, fillCoordinateEntry(), EntryMgr::getInstance(), ALIFileIn::getWordsInLine(), cuy::ii, longName(), transformCylindrical2Cartesian(), and transformSpherical2Cartesian().
Referenced by getSolidShape(), and readData().
|
private |
Definition at line 116 of file OpticalObject.cc.
References anglesIsGlobal, centreIsGlobal, ALIFileIn::getWordsInLine(), readCoordinates(), readExtraEntries(), setAnglesNull(), and type().
Referenced by construct(), and getSolidShape().
|
private |
Definition at line 148 of file OpticalObject.cc.
References fillExtraEntry(), and ALIFileIn::getWordsInLine().
Referenced by getSolidShape(), and readData().
void OpticalObject::resetGlobalCoordinates | ( | ) |
Definition at line 1622 of file OpticalObject.cc.
References begin, calculateLocalRotationAxisInGlobal(), centreGlobOriginal(), ExtraEntryValueList(), ExtraEntryValueOriginalList(), Model::getComponentOptOs(), name(), rmGlobOriginal(), theCentreGlob, and theRmGlob.
Referenced by Entry::addFittedDisplacementToValue(), Measurement::DerivativeRespectEntry(), and getZAxis().
void OpticalObject::resetOriginalOriginalCoordinates | ( | ) |
Definition at line 1653 of file OpticalObject.cc.
References begin, calculateLocalRotationAxisInGlobal(), ExtraEntryList(), ExtraEntryValueList(), Model::getComponentOptOs(), name(), theCentreGlob, theCentreGlobOriginal, theCentreGlobOriginalOriginal, theExtraEntryValueOriginalOriginalVector, theExtraEntryValueOriginalVector, theRmGlob, theRmGlobOriginal, and theRmGlobOriginalOriginal.
Referenced by getZAxis().
|
inline |
Definition at line 101 of file OpticalObject.h.
References rmLocal(), and theRmGlob.
Referenced by centreLocal(), CocoaDBMgr::GetAlignInfoFromOptO(), getDispVec(), OptOCubeSplitter::getMiddlePlate(), CocoaDBMgr::GetOptAlignInfoFromOptO(), getPlate(), getRotationAnglesInOptOFrame(), OptOCubeSplitter::getUpperPlate(), getZAxis(), LightRay::intersect(), OptODistancemeter::makeMeasurement(), OptOCOPS::makeMeasurement(), Fit::printCentreInOptOFrame(), SetCentreGlobFromCentreLocal(), setOriginalEntryValues(), SetRMGlobFromRMLocal(), LightRay::shiftAndDeviateWhileTraversing(), LightRay::startLightRay(), OptOUserDefined::userDefinedBehaviour(), and EntryAngleAffAngles::valueDisplaced().
|
inline |
Definition at line 107 of file OpticalObject.h.
References theRmGlobOriginal.
Referenced by displaceRmGlobAroundGlobal(), resetGlobalCoordinates(), and EntryAngleAffAngles::valueDisplaced().
|
inline |
Definition at line 110 of file OpticalObject.h.
References getEntryCentre(), getEntryRMangle(), and theRmGlobOriginalOriginal.
Referenced by propagateGlobalRMOriginalOriginalChangeToChildren(), setGlobalRMOriginalOriginal(), and SetRMGlobFromRMLocalOriginalOriginal().
const CLHEP::HepRotation OpticalObject::rmLocal | ( | ) | const |
Definition at line 1737 of file OpticalObject.cc.
References submit::rm, theCoordinateEntryVector, and relativeConstraints::value.
Referenced by CocoaToDDLMgr::buildRotationNumber(), getRotationAnglesInOptOFrame(), and rmGlob().
|
private |
Definition at line 1812 of file OpticalObject.cc.
References gather_cfg::cout, and ALIUtils::debug.
Referenced by displaceRmGlobAroundGlobal(), and getSolidShape().
|
inlineprivate |
|
private |
Definition at line 346 of file OpticalObject.cc.
References addCoordinateEntryToList(), Model::addEntryToList(), mps_splice::entry, Entry::fillName(), Entry::fillNull(), cuy::ii, name(), and Entry::setOptOCurrent().
Referenced by getSolidShape(), and readData().
|
private |
Definition at line 783 of file OpticalObject.cc.
References centreGlob(), ALIUtils::debug, ALIUtils::dump3v(), ALIUtils::dumprm(), name(), parent(), rmGlob(), and theCentreGlob.
Referenced by getSolidShape(), and setGlobalCentre().
|
inlineprivate |
|
private |
Definition at line 729 of file OpticalObject.cc.
References centreGlob(), ALIUtils::debug, ALIUtils::dump3v(), getEntryCentre(), theCentreGlob, XCoor, YCoor, and ZCoor.
Referenced by getSolidShape(), and setGlobalCentre().
|
inline |
Definition at line 123 of file OpticalObject.h.
References hcalTTPDigis_cfi::id, and theCmsswID.
Referenced by constructFromOptAligInfo().
Definition at line 1126 of file OpticalObject.cc.
References theExtraEntryValueVector, and heppy_batch::val.
Referenced by getZAxis().
|
private |
Definition at line 618 of file OpticalObject.cc.
References anglesIsGlobal, centreIsGlobal, MessageLogger_cfi::cerr, SetCentreGlobFromCentreLocal(), SetCentreLocalFromEntryValues(), and type().
Referenced by displaceRmGlobAroundLocal(), getSolidShape(), and setGlobalCoordinates().
void OpticalObject::setGlobalCoordinates | ( | ) |
Definition at line 611 of file OpticalObject.cc.
References setGlobalCentre(), and setGlobalRM().
Referenced by construct(), constructFromOptAligInfo(), displaceRmGlobOriginal(), displaceRmGlobOriginalOriginal(), meas(), and FittedEntriesSet::SetOptOEntries().
|
private |
Definition at line 1350 of file OpticalObject.cc.
References Model::getComponentOptOs(), and name().
Referenced by getSolidShape().
|
private |
Definition at line 632 of file OpticalObject.cc.
References anglesIsGlobal, calculateLocalRotationAxisInGlobal(), SetRMGlobFromRMLocal(), and SetRMLocalFromEntryValues().
Referenced by getSolidShape(), and setGlobalCoordinates().
void OpticalObject::setGlobalRMOriginalOriginal | ( | const CLHEP::HepRotation & | rmoriori | ) |
Definition at line 647 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, ALIUtils::dumprm(), Model::getComponentOptOs(), name(), parent(), rmGlobOriginalOriginal(), and SetRMGlobFromRMLocalOriginalOriginal().
Referenced by FittedEntriesReader::readFittedEntriesFromFile(), and setRmGlobalOriginal().
|
inline |
Definition at line 124 of file OpticalObject.h.
References hcalTTPDigis_cfi::id, and theCmsswID.
Referenced by createComponentOptOs().
|
inline |
set current measurement
Definition at line 238 of file OpticalObject.h.
References meas(), and theCurrentMeas.
Referenced by participateInMeasurement().
void OpticalObject::setOriginalEntryValues | ( | ) |
Definition at line 854 of file OpticalObject.cc.
References addExtraEntryValueOriginalOriginalToList(), addExtraEntryValueOriginalToList(), begin, centreGlob(), gather_cfg::cout, ALIUtils::debug, ExtraEntryValueList(), rmGlob(), theCentreGlobOriginal, theCentreGlobOriginalOriginal, theRmGlobOriginal, and theRmGlobOriginalOriginal.
Referenced by construct(), constructFromOptAligInfo(), meas(), and FittedEntriesSet::SetOptOEntries().
|
inline |
Definition at line 134 of file OpticalObject.h.
References submit::rm, and theRmGlob.
Referenced by OptOLens::OptOLens(), and OptOSource::OptOSource().
|
inline |
Definition at line 127 of file OpticalObject.h.
References buildRmFromEntryValuesOriginalOriginal(), propagateGlobalRMOriginalOriginalChangeToChildren(), submit::rm, setGlobalRMOriginalOriginal(), and theRmGlobOriginal.
Referenced by OptOLens::OptOLens(), and OptOSource::OptOSource().
|
private |
Definition at line 811 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, ALIUtils::dumprm(), getEntryRMangle(), GlobalOptionMgr::getInstance(), GlobalOptionMgr::GlobalOptions(), longName(), name(), parent(), rmGlob(), theRmGlob, type(), XCoor, YCoor, and ZCoor.
Referenced by displaceRmGlobAroundLocal(), getSolidShape(), and setGlobalRM().
|
private |
Definition at line 843 of file OpticalObject.cc.
References parent(), rmGlobOriginalOriginal(), and theRmGlobOriginalOriginal.
Referenced by getSolidShape(), and setGlobalRMOriginalOriginal().
|
private |
Definition at line 746 of file OpticalObject.cc.
References gather_cfg::cout, ALIUtils::debug, ALIUtils::dumprm(), getEntryRMangle(), theRmGlob, XCoor, YCoor, and ZCoor.
Referenced by getSolidShape(), and setGlobalRM().
|
inline |
const ALIstring OpticalObject::shortName | ( | ) | const |
Definition at line 1712 of file OpticalObject.cc.
References name(), findQualityFiles::size, and lumiContext::sname.
Referenced by getZAxis(), CocoaToDDLMgr::lv(), and CocoaToDDLMgr::pv().
|
private |
Definition at line 277 of file OpticalObject.cc.
References ALIUtils::AngleValueDimensionFactor(), funct::cos(), gather_cfg::cout, ALIUtils::debug, cuy::ii, ALIUtils::LengthValueDimensionFactor(), name(), phi, dttmaxenums::R, funct::sin(), and theCoordinateEntryVector.
Referenced by getSolidShape(), and readCoordinates().
|
private |
Referenced by getSolidShape().
|
private |
Definition at line 305 of file OpticalObject.cc.
Referenced by getSolidShape(), and readCoordinates().
|
inline |
Definition at line 61 of file OpticalObject.h.
References theType.
Referenced by createComponentOptOs(), defaultBehaviour(), detailedDeviatesLightRay(), detailedTraversesLightRay(), fastDeviatesLightRay(), fastTraversesLightRay(), CocoaDBMgr::GetOptAlignInfoFromOptO(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), CocoaToDDLMgr::lv(), makeMeasurement(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Fit::printCentreInOptOFrame(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), readData(), setGlobalCentre(), SetRMGlobFromRMLocal(), setType(), CocoaToDDLMgr::specPar(), LightRay::startLightRay(), and userDefinedBehaviour().
|
virtual |
Reimplemented in OptOUserDefined.
Definition at line 970 of file OpticalObject.cc.
References MessageLogger_cfi::cerr, cmsRelvalreport::exit, name(), and type().
Referenced by addExtraEntryValueOriginalOriginalToList(), and participateInMeasurement().
|
friend |
Definition at line 1726 of file OpticalObject.cc.
|
private |
Definition at line 347 of file OpticalObject.h.
Referenced by constructFromOptAligInfo(), copyData(), displaceRmGlobAroundLocal(), readCoordinates(), readData(), SetAnglesIsGlobal(), setGlobalCentre(), and setGlobalRM().
|
private |
Definition at line 351 of file OpticalObject.h.
Referenced by calculateLocalRotationAxisInGlobal().
|
private |
Definition at line 352 of file OpticalObject.h.
Referenced by calculateLocalRotationAxisInGlobal().
|
private |
Definition at line 353 of file OpticalObject.h.
Referenced by calculateLocalRotationAxisInGlobal().
|
private |
Definition at line 346 of file OpticalObject.h.
Referenced by constructFromOptAligInfo(), copyData(), readCoordinates(), readData(), SetCentreIsGlobal(), and setGlobalCentre().
|
private |
Definition at line 325 of file OpticalObject.h.
Referenced by construct(), createComponentOptOs(), and OpticalObject().
|
private |
Definition at line 328 of file OpticalObject.h.
Referenced by centreGlob(), centreLocal(), displaceCentreGlob(), displaceRmGlobAroundGlobal(), displaceRmGlobOriginal(), displaceRmGlobOriginalOriginal(), operator<<(), resetGlobalCoordinates(), resetOriginalOriginalCoordinates(), SetCentreGlobFromCentreLocal(), and SetCentreLocalFromEntryValues().
|
private |
Definition at line 331 of file OpticalObject.h.
Referenced by centreGlobOriginal(), displaceCentreGlobOriginal(), displaceRmGlobOriginal(), resetOriginalOriginalCoordinates(), and setOriginalEntryValues().
|
private |
Definition at line 333 of file OpticalObject.h.
Referenced by centreGlobOriginalOriginal(), displaceCentreGlobOriginalOriginal(), displaceRmGlobOriginalOriginal(), resetOriginalOriginalCoordinates(), and setOriginalEntryValues().
|
private |
Definition at line 355 of file OpticalObject.h.
Referenced by getCmsswID(), ID(), setCmsswID(), and setID().
|
private |
Definition at line 337 of file OpticalObject.h.
Referenced by addCoordinateEntryToList(), CoordinateEntryList(), getEntryCentre(), getEntryRMangle(), rmLocal(), and transformCylindrical2Cartesian().
|
private |
Definition at line 349 of file OpticalObject.h.
|
private |
Definition at line 343 of file OpticalObject.h.
Referenced by addExtraEntryValueOriginalOriginalToList(), displaceExtraEntryOriginalOriginal(), ExtraEntryValueOriginalOriginalList(), and resetOriginalOriginalCoordinates().
|
private |
Definition at line 342 of file OpticalObject.h.
Referenced by addExtraEntryValueOriginalToList(), displaceExtraEntry(), displaceExtraEntryOriginal(), ExtraEntryValueOriginalList(), and resetOriginalOriginalCoordinates().
|
private |
Definition at line 341 of file OpticalObject.h.
Referenced by addExtraEntryValueToList(), displaceExtraEntry(), ExtraEntryValueList(), findExtraEntryValue(), and setExtraEntryValue().
|
private |
Definition at line 338 of file OpticalObject.h.
Referenced by addExtraEntryToList(), and ExtraEntryList().
|
protected |
Definition at line 358 of file OpticalObject.h.
Referenced by constructMaterial(), and getMaterial().
|
private |
Definition at line 323 of file OpticalObject.h.
Referenced by twikiExport.Constituent::__str__(), twikiExport.Material::__str__(), copyData(), createComponentOptOsFromOptAlignInfo(), name(), operator<<(), and OpticalObject().
|
private |
Definition at line 321 of file OpticalObject.h.
Referenced by construct(), constructFromOptAligInfo(), getLocalRotationAngles(), and parent().
|
private |
Definition at line 329 of file OpticalObject.h.
Referenced by buildRmFromEntryValuesOriginalOriginal(), calculateLocalRotationAxisInGlobal(), displaceRmGlobAroundGlobal(), displaceRmGlobAroundLocal(), displaceRmGlobOriginal(), displaceRmGlobOriginalOriginal(), getRotationAnglesInOptOFrame(), operator<<(), resetGlobalCoordinates(), resetOriginalOriginalCoordinates(), rmGlob(), setRmGlobal(), SetRMGlobFromRMLocal(), and SetRMLocalFromEntryValues().
|
private |
Definition at line 332 of file OpticalObject.h.
Referenced by displaceRmGlobOriginal(), getRotationAnglesInOptOFrame(), resetOriginalOriginalCoordinates(), rmGlobOriginal(), setOriginalEntryValues(), and setRmGlobalOriginal().
|
private |
Definition at line 334 of file OpticalObject.h.
Referenced by displaceRmGlobOriginalOriginal(), propagateGlobalRMOriginalOriginalChangeToChildren(), resetOriginalOriginalCoordinates(), rmGlobOriginalOriginal(), setOriginalEntryValues(), and SetRMGlobFromRMLocalOriginalOriginal().
|
protected |
Definition at line 359 of file OpticalObject.h.
Referenced by OptOXLaser::constructSolidShape(), OptOLens::constructSolidShape(), OptOPinhole::constructSolidShape(), OptOLaser::constructSolidShape(), OptOSource::constructSolidShape(), OptODistancemeter3dim::constructSolidShape(), OptODistancemeter::constructSolidShape(), OptOCubeSplitter::constructSolidShape(), constructSolidShape(), and getSolidShape().
|
private |
Definition at line 322 of file OpticalObject.h.
Referenced by twikiExport.Constituent::__str__(), operator<<(), OpticalObject(), setType(), and type().
|
protected |
Definition at line 361 of file OpticalObject.h.
Referenced by python.diff_provenance.difference::list_diff(), python.diffProv.difference::list_diff(), python.diff_provenance.difference::module_diff(), python.diffProv.difference::module_diff(), python.diff_provenance.difference::onefilemodules(), python.diffProv.difference::onefilemodules(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer::process(), core.SkimAnalyzerCount.SkimAnalyzerCount::process(), objects.VertexAnalyzer.VertexAnalyzer::process(), and confdbOfflineConverter.OfflineConverter::query().