/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Functions | Variables
DetHelpers::autoPositionerTest Namespace Reference

Classes

class  PositionerAlg

Functions

def configure
def run

Variables

 diffBallPositioner = None
string myAlgName = "posAlg"

Function Documentation

def DetHelpers::autoPositionerTest::configure ( )

Definition at line 50 of file autoPositionerTest.py.

00050                : 
00051     # Configure the placement of the LED diffuser ball
00052     from DetHelpers.DetHelpersConf import AutoPositionerTool
00053     global diffBallPositioner, myAlgName
00054     diffBallPositioner = AutoPositionerTool( myAlgName+".diffBallPositioner" )
00055     diffBallPositioner.PhysicalVolume = "pvDiffuserBall"
00056     diffBallPositioner.LogicalVolume = "/dd/Geometry/CalibrationSources/lvLedSourceAssy"
00057     diffBallPositioner.CoordinateDetElem = "/dd/Structure/AD/db-oil1"
00058     diffBallPositioner.Position = [0., 0., 0.]
00059     #diffBallPositioner.Position = [0., 0., -175.0*units.cm]
00060     diffBallPositioner.Rotation = [1., 0., 0.,
00061                                    0., 1., 0.,
00062                                    0., 0., 1.]
00063     diffBallPositioner.Element = "db-diffuserBallCenter1"
00064     diffBallPositioner.ElementPath = "/dd/Structure/CalibrationSources"
00065     return
00066 
def DetHelpers::autoPositionerTest::run (   app)

Definition at line 67 of file autoPositionerTest.py.

00068             :
00069     # Add PositionerAlg to alg list
00070     global diffBallPositioner, myAlgName
00071     posAlg = PositionerAlg( myAlgName )
00072     posAlg.posToolConf = diffBallPositioner
00073     app.addAlgorithm(posAlg)

Variable Documentation

Definition at line 47 of file autoPositionerTest.py.

Definition at line 48 of file autoPositionerTest.py.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:27 for DetHelpers by doxygen 1.7.4