CMS 3D CMS Logo

OptOXLaser Class Reference

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

Inheritance diagram for OptOXLaser:

OpticalObject

List of all members.

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


Detailed Description

Definition at line 18 of file OptOXLaser.h.


Constructor & Destructor Documentation

OptOXLaser::OptOXLaser (  )  [inline]

Definition at line 23 of file OptOXLaser.h.

00023 { };

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]

Definition at line 26 of file OptOXLaser.h.

00026 { };


Member Function Documentation

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 }


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