14 #include "Alignment/CocoaVisMgr/interface/ALIVRMLMgr.h"
15 #include "Alignment/IgCocoaFileWriter/interface/IgCocoaFileMgr.h"
17 #include "CLHEP/Units/GlobalSystemOfUnits.h"
32 std::cout <<
"create laser lightray " << std::endl;
39 ALIVRMLMgr& vrmlmgr = ALIVRMLMgr::getInstance();
40 ALIColour*
col =
new ALIColour(1., 0., 0., 0.);
41 vrmlmgr.AddBox(*
this, 0.1, 0.1, 0.2,
col);
42 vrmlmgr.SendReferenceFrame(*
this, 0.12);
43 vrmlmgr.SendName(*
this, 0.1);
48 ALIColour*
col =
new ALIColour(1., 0., 0., 0.);
49 std::vector<ALIdouble> spar;
52 CLHEP::HepRotation
rm;
53 rm.rotateX(90. * deg);
54 IgCocoaFileMgr::getInstance().addSolid(*
this,
"CYLINDER", spar,
col, CLHEP::Hep3Vector(),
rm);
65 "Tubs", go * 0. * cm /
m, go * 1. * cm /
m, go * 2. * cm /
m);