CMS 3D CMS Logo

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