CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/Alignment/CocoaModel/src/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 <cstdlib>
00012 #include "Alignment/CocoaDDLObjects/interface/CocoaSolidShapeBox.h"
00013 #include "Alignment/CocoaUtilities/interface/GlobalOptionMgr.h"
00014 
00015 using namespace CLHEP;
00016 
00017 void OptORisleyPrism::participateInMeasurement( LightRay& lightray, Measurement& meas, const ALIstring& behav )
00018 {
00019  std::cerr << "object not implemented yet " << std::endl;
00020  exit(1);      
00021 }
00022 
00023 
00024 //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
00025 void OptORisleyPrism::constructSolidShape()
00026 {
00027   ALIdouble go;
00028   GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance();
00029   gomgr->getGlobalOptionValue("VisScale", go );
00030 
00031   theSolidShape = new CocoaSolidShapeBox( "Box", go*5.*cm/m, go*5.*cm/m, go*5.*cm/m ); //COCOA internal units are meters
00032 }