CMS 3D CMS Logo

Public Member Functions

OptOCameraDetector Class Reference

#include <OptOCameraDetector.h>

Inheritance diagram for OptOCameraDetector:
OpticalObject

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 18 of file OptOCameraDetector.h.


Constructor & Destructor Documentation

OptOCameraDetector::OptOCameraDetector ( ) [inline]

Definition at line 23 of file OptOCameraDetector.h.

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

Definition at line 24 of file OptOCameraDetector.h.

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

Definition at line 26 of file OptOCameraDetector.h.

{ };

Member Function Documentation

void OptOCameraDetector::constructSolidShape ( ) [virtual]

Reimplemented from OpticalObject.

Definition at line 25 of file OptOCameraDetector.cc.

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

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

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

Definition at line 17 of file OptOCameraDetector.cc.

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

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