File indexing completed on 2024-04-06 11:56:04
0001
0002
0003
0004
0005
0006
0007
0008 #include "Alignment/CocoaModel/interface/OptORisleyPrism.h"
0009 #include <iostream>
0010 #include <iomanip>
0011 #include <cstdlib>
0012 #include "Alignment/CocoaDDLObjects/interface/CocoaSolidShapeBox.h"
0013 #include "Alignment/CocoaUtilities/interface/GlobalOptionMgr.h"
0014
0015 using namespace CLHEP;
0016
0017 void OptORisleyPrism::participateInMeasurement(LightRay& lightray, Measurement& meas, const ALIstring& behav) {
0018 std::cerr << "object not implemented yet " << std::endl;
0019 exit(1);
0020 }
0021
0022
0023 void OptORisleyPrism::constructSolidShape() {
0024 ALIdouble go;
0025 GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance();
0026 gomgr->getGlobalOptionValue("VisScale", go);
0027
0028 theSolidShape = new CocoaSolidShapeBox(
0029 "Box", go * 5. * cm / m, go * 5. * cm / m, go * 5. * cm / m);
0030 }