CMS 3D CMS Logo

OptOLens Class Reference

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

Inheritance diagram for OptOLens:

OpticalObject

List of all members.

Public Member Functions

void constructSolidShape ()
 OptOLens (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
 OptOLens ()
virtual void participateInMeasurement (LightRay &lightray, Measurement &meas, const ALIstring &behav)
 ~OptOLens ()


Detailed Description

Definition at line 18 of file OptOLens.h.


Constructor & Destructor Documentation

OptOLens::OptOLens (  ) 

Definition at line 20 of file OptOLens.cc.

References OpticalObject::setRmGlobal(), and OpticalObject::setRmGlobalOriginal().

00021 { 
00022   setRmGlobalOriginal( CLHEP::HepRotation() ); 
00023   setRmGlobal( CLHEP::HepRotation() ); 
00024 }

OptOLens::OptOLens ( OpticalObject parent,
const ALIstring type,
const ALIstring name,
const ALIbool  copy_data 
) [inline]

Definition at line 24 of file OptOLens.h.

00024                                                                                                          : 
00025   OpticalObject( parent, type, name, copy_data){ };

OptOLens::~OptOLens (  )  [inline]

Definition at line 26 of file OptOLens.h.

00026 { };


Member Function Documentation

void OptOLens::constructSolidShape (  )  [virtual]

Reimplemented from OpticalObject.

Definition at line 49 of file OptOLens.cc.

References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), m, and OpticalObject::theSolidShape.

00050 {
00051   ALIdouble go;
00052   GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance();
00053   gomgr->getGlobalOptionValue("VisScale", go );
00054 
00055   theSolidShape = new CocoaSolidShapeTubs( "Tubs", go*0.*cm/m, go*5.*cm/m, go*1.*cm/m ); //COCOA internal units are meters
00056 }

void OptOLens::participateInMeasurement ( LightRay lightray,
Measurement meas,
const ALIstring behav 
) [virtual]

Reimplemented from OpticalObject.

Definition at line 27 of file OptOLens.cc.

References TestMuL1L2Filter_cff::cerr, lat::endl(), and cmsRelvalreport::exit.

00028 {
00029  std::cerr << "object not implemented yet " << std::endl;
00030  exit(1);      
00031 }


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