12 #include "Alignment/CocoaVisMgr/interface/ALIVRMLMgr.h"
13 #include "Alignment/IgCocoaFileWriter/interface/IgCocoaFileMgr.h"
15 #include "CLHEP/Units/GlobalSystemOfUnits.h"
24 std::cout <<
"create laser lightray " << std::endl;
31 ALIVRMLMgr& vrmlmgr = ALIVRMLMgr::getInstance();
32 ALIColour*
col =
new ALIColour(1., 0., 0., 0.);
33 vrmlmgr.AddBox(*
this, 0.2, 0.2, 0.5, col);
34 vrmlmgr.SendReferenceFrame(*
this, 0.12);
35 vrmlmgr.SendName(*
this, 0.1);
40 ALIColour* col =
new ALIColour(1., 0., 0., 0.);
41 std::vector<ALIdouble> spar;
44 CLHEP::HepRotation
rm;
45 rm.rotateX(90. * deg);
46 IgCocoaFileMgr::getInstance().addSolid(*
this,
"CYLINDER", spar, col, CLHEP::Hep3Vector(), rm);
57 "Tubs", go * 0. * cm /
m, go * 1. * cm /
m, go * 5. * cm /
m);
void constructSolidShape() override
CocoaSolidShape * theSolidShape
static GlobalOptionMgr * getInstance()
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
virtual void fillIguana()
void startLightRay(OpticalObject *opto)