CMS 3D CMS Logo

OptORisleyPrism.cc
Go to the documentation of this file.
1 // COCOA class implementation file
2 //Id: OptORisleyPrism.cc
3 //CAT: Model
4 //
5 // History: v1.0
6 // Pedro Arce
7 
9 #include <iostream>
10 #include <iomanip>
11 #include <cstdlib>
14 
15 using namespace CLHEP;
16 
18 {
19  std::cerr << "object not implemented yet " << std::endl;
20  exit(1);
21 }
22 
23 
24 //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
26 {
27  ALIdouble go;
29  gomgr->getGlobalOptionValue("VisScale", go );
30 
31  theSolidShape = new CocoaSolidShapeBox( "Box", go*5.*cm/m, go*5.*cm/m, go*5.*cm/m ); //COCOA internal units are meters
32 }
long double ALIdouble
Definition: CocoaGlobals.h:11
void constructSolidShape()
static GlobalOptionMgr * getInstance()
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
virtual void participateInMeasurement(LightRay &lightray, Measurement &meas, const ALIstring &behav)
std::string ALIstring
Definition: CocoaGlobals.h:9