#include <OptOLens.h>
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 () |
Definition at line 18 of file OptOLens.h.
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.
{ };
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.