#include <Alignment/CocoaModel/interface/OptOLaser.h>
Public Member Functions | |
void | constructSolidShape () |
virtual void | defaultBehaviour (LightRay &lightray, Measurement &meas) |
OptOLaser (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data) | |
OptOLaser () | |
~OptOLaser () |
Definition at line 18 of file OptOLaser.h.
OptOLaser::OptOLaser | ( | ) | [inline] |
OptOLaser::OptOLaser | ( | OpticalObject * | parent, | |
const ALIstring & | type, | |||
const ALIstring & | name, | |||
const ALIbool | copy_data | |||
) | [inline] |
Definition at line 24 of file OptOLaser.h.
00024 : 00025 OpticalObject( parent, type, name, copy_data){ };
OptOLaser::~OptOLaser | ( | ) | [inline] |
void OptOLaser::constructSolidShape | ( | ) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 59 of file OptOLaser.cc.
References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), m, and OpticalObject::theSolidShape.
00060 { 00061 ALIdouble go; 00062 GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance(); 00063 gomgr->getGlobalOptionValue("VisScale", go ); 00064 00065 theSolidShape = new CocoaSolidShapeTubs( "Tubs", go*0.*cm/m, go*1.*cm/m, go*5.*cm/m ); //COCOA internal units are meters 00066 }
void OptOLaser::defaultBehaviour | ( | LightRay & | lightray, | |
Measurement & | meas | |||
) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 23 of file OptOLaser.cc.
References GenMuonPlsPt100GeV_cfg::cout, ALIUtils::debug, lat::endl(), and LightRay::startLightRay().
00024 { 00025 if(ALIUtils::debug >= 3) std::cout << "create laser lightray " << std::endl; 00026 lightray.startLightRay( this ); 00027 00028 }