test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Alignment
CocoaModel
src
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
8
#include "
Alignment/CocoaModel/interface/OptOCameraDetector.h
"
9
#include "
Alignment/CocoaDDLObjects/interface/CocoaSolidShapeBox.h
"
10
#include "
Alignment/CocoaUtilities/interface/GlobalOptionMgr.h
"
11
#include <iostream>
12
#include <iomanip>
13
#include <cstdlib>
14
15
using namespace
CLHEP;
16
17
void
OptOCameraDetector::participateInMeasurement
(
LightRay
& lightray,
Measurement
* meas,
const
ALIstring
& behav )
18
{
19
std::cerr
<<
"object not implemented yet "
<< std::endl;
20
exit
(1);
21
}
22
23
24
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
25
void
OptOCameraDetector::constructSolidShape
()
26
{
27
ALIdouble
go;
28
GlobalOptionMgr
* gomgr =
GlobalOptionMgr::getInstance
();
29
gomgr->
getGlobalOptionValue
(
"VisScale"
, go );
30
31
theSolidShape =
new
CocoaSolidShapeBox
(
"Box"
, go*4.*cm/
m
, go*4.*cm/
m
, go*1.*cm/
m
);
//COCOA internal units are meters
32
}
LightRay
Definition:
LightRay.h:20
cmsRelvalreport.exit
tuple exit
Definition:
cmsRelvalreport.py:1000
ALIdouble
long double ALIdouble
Definition:
CocoaGlobals.h:11
GlobalOptionMgr::getInstance
static GlobalOptionMgr * getInstance()
Definition:
GlobalOptionMgr.cc:18
ecal_dqm_sourceclient-live_cfg.cerr
tuple cerr
Definition:
ecal_dqm_sourceclient-live_cfg.py:89
OptOCameraDetector::constructSolidShape
void constructSolidShape()
Definition:
OptOCameraDetector.cc:25
Measurement
Definition:
Measurement.h:27
GlobalOptionMgr::getGlobalOptionValue
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
Definition:
GlobalOptionMgr.cc:120
visualization-live-secondInstance_cfg.m
tuple m
Definition:
visualization-live-secondInstance_cfg.py:45
OptOCameraDetector::participateInMeasurement
virtual void participateInMeasurement(LightRay &lightray, Measurement *meas, const ALIstring &behav)
Definition:
OptOCameraDetector.cc:17
CocoaSolidShapeBox.h
GlobalOptionMgr.h
OptOCameraDetector.h
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
GlobalOptionMgr
Definition:
GlobalOptionMgr.h:18
CocoaSolidShapeBox
Definition:
CocoaSolidShapeBox.h:14
Generated for CMSSW Reference Manual by
1.8.5