#include <Alignment/CocoaModel/interface/OptOSource.h>
Public Member Functions | |
void | constructSolidShape () |
virtual void | defaultBehaviour (LightRay &lightray, Measurement &meas) |
OptOSource (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data) | |
OptOSource () | |
~OptOSource () |
Definition at line 18 of file OptOSource.h.
OptOSource::OptOSource | ( | ) |
Definition at line 23 of file OptOSource.cc.
References OpticalObject::setRmGlobal(), and OpticalObject::setRmGlobalOriginal().
00024 { 00025 setRmGlobalOriginal( CLHEP::HepRotation() ); 00026 setRmGlobal( CLHEP::HepRotation() ); 00027 }
OptOSource::OptOSource | ( | OpticalObject * | parent, | |
const ALIstring & | type, | |||
const ALIstring & | name, | |||
const ALIbool | copy_data | |||
) | [inline] |
Definition at line 24 of file OptOSource.h.
00024 : 00025 OpticalObject( parent, type, name, copy_data){ };
OptOSource::~OptOSource | ( | ) | [inline] |
void OptOSource::constructSolidShape | ( | ) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 65 of file OptOSource.cc.
References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), m, and OpticalObject::theSolidShape.
00066 { 00067 ALIdouble go; 00068 GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance(); 00069 gomgr->getGlobalOptionValue("VisScale", go ); 00070 00071 theSolidShape = new CocoaSolidShapeTubs( "Tubs", go*0.*cm/m, go*1.*cm/m, go*2.*cm/m ); //COCOA internal units are meters 00072 }
void OptOSource::defaultBehaviour | ( | LightRay & | lightray, | |
Measurement & | meas | |||
) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 32 of file OptOSource.cc.
References GenMuonPlsPt100GeV_cfg::cout, ALIUtils::debug, lat::endl(), and LightRay::startLightRay().
00033 { 00034 if(ALIUtils::debug >= 3) std::cout << "create laser lightray " << std::endl; 00035 lightray.startLightRay( this ); 00036 }