CMS 3D CMS Logo

OptORisleyPrism.cc

Go to the documentation of this file.
00001 //   COCOA class implementation file
00002 //Id:  OptORisleyPrism.cc
00003 //CAT: Model
00004 //
00005 //   History: v1.0 
00006 //   Pedro Arce
00007 
00008 #include "Alignment/CocoaModel/interface/OptORisleyPrism.h"
00009 #include <iostream>
00010 #include <iomanip>
00011 #include "Alignment/CocoaDDLObjects/interface/CocoaSolidShapeBox.h"
00012 #include "Alignment/CocoaUtilities/interface/GlobalOptionMgr.h"
00013 
00014 void OptORisleyPrism::participateInMeasurement( LightRay& lightray, Measurement& meas, const ALIstring& behav )
00015 {
00016  std::cerr << "object not implemented yet " << std::endl;
00017  exit(1);      
00018 }
00019 
00020 
00021 //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
00022 void OptORisleyPrism::constructSolidShape()
00023 {
00024   ALIdouble go;
00025   GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance();
00026   gomgr->getGlobalOptionValue("VisScale", go );
00027 
00028   theSolidShape = new CocoaSolidShapeBox( "Box", go*5.*cm/m, go*5.*cm/m, go*5.*cm/m ); //COCOA internal units are meters
00029 }

Generated on Tue Jun 9 17:23:40 2009 for CMSSW by  doxygen 1.5.4