CMS 3D CMS Logo

OptOLaser Class Reference

#include <Alignment/CocoaModel/interface/OptOLaser.h>

Inheritance diagram for OptOLaser:

OpticalObject

List of all members.

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 ()


Detailed Description

Definition at line 18 of file OptOLaser.h.


Constructor & Destructor Documentation

OptOLaser::OptOLaser (  )  [inline]

Definition at line 23 of file OptOLaser.h.

00023 { };

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]

Definition at line 26 of file OptOLaser.h.

00026 { };


Member Function Documentation

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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:29:18 2009 for CMSSW by  doxygen 1.5.4