#include <Alignment/CocoaModel/interface/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] |
OptOXLaser::OptOXLaser | ( | OpticalObject * | parent, | |
const ALIstring & | type, | |||
const ALIstring & | name, | |||
const ALIbool | copy_data | |||
) | [inline] |
Definition at line 24 of file OptOXLaser.h.
00024 : 00025 OpticalObject( parent, type, name, copy_data){ };
OptOXLaser::~OptOXLaser | ( | ) | [inline] |
void OptOXLaser::constructSolidShape | ( | ) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 50 of file OptOXLaser.cc.
References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), m, and OpticalObject::theSolidShape.
00051 { 00052 ALIdouble go; 00053 GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance(); 00054 gomgr->getGlobalOptionValue("VisScale", go ); 00055 00056 theSolidShape = new CocoaSolidShapeTubs( "Tubs", go*0.*cm/m, go*1.*cm/m, go*5.*cm/m ); //COCOA internal units are meters 00057 }
void OptOXLaser::defaultBehaviour | ( | LightRay & | lightray, | |
Measurement & | meas | |||
) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 22 of file OptOXLaser.cc.
References GenMuonPlsPt100GeV_cfg::cout, ALIUtils::debug, lat::endl(), and LightRay::startLightRay().
00023 { 00024 if(ALIUtils::debug >= 3) std::cout << "create laser lightray " << std::endl; 00025 lightray.startLightRay( this ); 00026 00027 }