CMS 3D CMS Logo

Public Member Functions

OptORisleyPrism Class Reference

#include <OptORisleyPrism.h>

Inheritance diagram for OptORisleyPrism:
OpticalObject

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 18 of file OptORisleyPrism.h.


Constructor & Destructor Documentation

OptORisleyPrism::OptORisleyPrism ( ) [inline]

Definition at line 23 of file OptORisleyPrism.h.

{ };
OptORisleyPrism::OptORisleyPrism ( OpticalObject parent,
const ALIstring type,
const ALIstring name,
const ALIbool  copy_data 
) [inline]

Definition at line 24 of file OptORisleyPrism.h.

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

Definition at line 26 of file OptORisleyPrism.h.

{ };

Member Function Documentation

void OptORisleyPrism::constructSolidShape ( ) [virtual]

Reimplemented from OpticalObject.

Definition at line 25 of file OptORisleyPrism.cc.

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

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

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

Reimplemented from OpticalObject.

Definition at line 17 of file OptORisleyPrism.cc.

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

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