Alignment
CocoaModel
src
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
8
#include "
Alignment/CocoaModel/interface/OptORisleyPrism.h
"
9
#include <iostream>
10
#include <iomanip>
11
#include <cstdlib>
12
#include "
Alignment/CocoaDDLObjects/interface/CocoaSolidShapeBox.h
"
13
#include "
Alignment/CocoaUtilities/interface/GlobalOptionMgr.h
"
14
15
using namespace
CLHEP
;
16
17
void
OptORisleyPrism::participateInMeasurement
(
LightRay
& lightray,
Measurement
& meas,
const
ALIstring
& behav) {
18
std::cerr
<<
"object not implemented yet "
<< std::endl;
19
exit
(1);
20
}
21
22
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
23
void
OptORisleyPrism::constructSolidShape
() {
24
ALIdouble
go;
25
GlobalOptionMgr
* gomgr =
GlobalOptionMgr::getInstance
();
26
gomgr->
getGlobalOptionValue
(
"VisScale"
, go);
27
28
theSolidShape =
new
CocoaSolidShapeBox
(
29
"Box"
, go * 5. * cm /
m
, go * 5. * cm /
m
, go * 5. * cm /
m
);
//COCOA internal units are meters
30
}
OptORisleyPrism::participateInMeasurement
void participateInMeasurement(LightRay &lightray, Measurement &meas, const ALIstring &behav) override
Definition:
OptORisleyPrism.cc:17
GlobalOptionMgr
Definition:
GlobalOptionMgr.h:18
GlobalOptionMgr::getInstance
static GlobalOptionMgr * getInstance()
Definition:
GlobalOptionMgr.cc:18
OptORisleyPrism::constructSolidShape
void constructSolidShape() override
Definition:
OptORisleyPrism.cc:23
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
visualization-live-secondInstance_cfg.m
m
Definition:
visualization-live-secondInstance_cfg.py:79
Measurement
Definition:
Measurement.h:27
OptORisleyPrism.h
CLHEP
Definition:
CocoaGlobals.h:27
LightRay
Definition:
LightRay.h:20
ALIdouble
long double ALIdouble
Definition:
CocoaGlobals.h:11
beamvalidation.exit
def exit(msg="")
Definition:
beamvalidation.py:52
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition:
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
CocoaSolidShapeBox.h
Generated for CMSSW Reference Manual by
1.8.16