#include <OptORisleyPrism.h>
Public Member Functions | |
void | constructSolidShape () |
OptORisleyPrism (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data) | |
OptORisleyPrism () | |
virtual void | participateInMeasurement (LightRay &lightray, Measurement &meas, const ALIstring &behav) |
~OptORisleyPrism () |
Definition at line 18 of file OptORisleyPrism.h.
OptORisleyPrism::OptORisleyPrism | ( | ) | [inline] |
Definition at line 23 of file OptORisleyPrism.h.
{ };
OptORisleyPrism::OptORisleyPrism | ( | OpticalObject * | parent, |
const ALIstring & | type, | ||
const ALIstring & | name, | ||
const ALIbool | copy_data | ||
) | [inline] |
Definition at line 24 of file OptORisleyPrism.h.
: OpticalObject( parent, type, name, copy_data){ };
OptORisleyPrism::~OptORisleyPrism | ( | ) | [inline] |
Definition at line 26 of file OptORisleyPrism.h.
{ };
void OptORisleyPrism::constructSolidShape | ( | ) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 25 of file OptORisleyPrism.cc.
References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), and m.
{ ALIdouble go; GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance(); gomgr->getGlobalOptionValue("VisScale", go ); theSolidShape = new CocoaSolidShapeBox( "Box", go*5.*cm/m, go*5.*cm/m, go*5.*cm/m ); //COCOA internal units are meters }
void OptORisleyPrism::participateInMeasurement | ( | LightRay & | lightray, |
Measurement & | meas, | ||
const ALIstring & | behav | ||
) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 17 of file OptORisleyPrism.cc.
References benchmark_cfg::cerr, and cmsRelvalreport::exit.