#include <OptOXLaser.h>
Public Member Functions | |
void | constructSolidShape () |
virtual void | defaultBehaviour (LightRay &lightray, Measurement &meas) |
OptOXLaser (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data) | |
OptOXLaser () | |
~OptOXLaser () |
Definition at line 18 of file OptOXLaser.h.
OptOXLaser::OptOXLaser | ( | ) | [inline] |
Definition at line 23 of file OptOXLaser.h.
{ };
OptOXLaser::OptOXLaser | ( | OpticalObject * | parent, |
const ALIstring & | type, | ||
const ALIstring & | name, | ||
const ALIbool | copy_data | ||
) | [inline] |
Definition at line 24 of file OptOXLaser.h.
: OpticalObject( parent, type, name, copy_data){ };
OptOXLaser::~OptOXLaser | ( | ) | [inline] |
Definition at line 26 of file OptOXLaser.h.
{ };
void OptOXLaser::constructSolidShape | ( | ) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 50 of file OptOXLaser.cc.
References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), m, and OpticalObject::theSolidShape.
{ ALIdouble go; GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance(); gomgr->getGlobalOptionValue("VisScale", go ); theSolidShape = new CocoaSolidShapeTubs( "Tubs", go*0.*cm/m, go*1.*cm/m, go*5.*cm/m ); //COCOA internal units are meters }
void OptOXLaser::defaultBehaviour | ( | LightRay & | lightray, |
Measurement & | meas | ||
) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 22 of file OptOXLaser.cc.
References gather_cfg::cout, ALIUtils::debug, and LightRay::startLightRay().
{ if(ALIUtils::debug >= 3) std::cout << "create laser lightray " << std::endl; lightray.startLightRay( this ); }