CMS 3D CMS Logo

Public Member Functions

OptOLens Class Reference

#include <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 21 of file OptOLens.cc.

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

{ 
  setRmGlobalOriginal( CLHEP::HepRotation() ); 
  setRmGlobal( CLHEP::HepRotation() ); 
}
OptOLens::OptOLens ( OpticalObject parent,
const ALIstring type,
const ALIstring name,
const ALIbool  copy_data 
) [inline]

Definition at line 24 of file OptOLens.h.

                                                                                                         : 
  OpticalObject( parent, type, name, copy_data){ };
OptOLens::~OptOLens ( ) [inline]

Definition at line 26 of file OptOLens.h.

{ };

Member Function Documentation

void OptOLens::constructSolidShape ( ) [virtual]

Reimplemented from OpticalObject.

Definition at line 50 of file OptOLens.cc.

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

{
  ALIdouble go;
  GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance();
  gomgr->getGlobalOptionValue("VisScale", go );

  theSolidShape = new CocoaSolidShapeTubs( "Tubs", go*0.*cm/m, go*5.*cm/m, go*1.*cm/m ); //COCOA internal units are meters
}
void OptOLens::participateInMeasurement ( LightRay lightray,
Measurement meas,
const ALIstring behav 
) [virtual]

Reimplemented from OpticalObject.

Definition at line 28 of file OptOLens.cc.

References ExpressReco_HICollisions_FallBack::cerr, and cmsRelvalreport::exit.

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