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

In This Package:

Public Member Functions | Public Attributes
DetHelpers::autoPositionerTest::PositionerAlg Class Reference
Inheritance diagram for DetHelpers::autoPositionerTest::PositionerAlg:
Inheritance graph
[legend]
Collaboration diagram for DetHelpers::autoPositionerTest::PositionerAlg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def initialize
def execute

Public Attributes

 posToolConf
 posTool

Detailed Description

An algorithm that places a volume in the detector geometry

Definition at line 13 of file autoPositionerTest.py.


Constructor & Destructor Documentation

def DetHelpers::autoPositionerTest::PositionerAlg::__init__ (   self,
  name 
)

Definition at line 15 of file autoPositionerTest.py.

00016                            :
00017         GaudiAlgo.__init__(self,name)
00018         print "Making PositionerAlg",name
00019         self.posToolConf = None
        

Member Function Documentation

def DetHelpers::autoPositionerTest::PositionerAlg::initialize (   self)

Definition at line 20 of file autoPositionerTest.py.

00021                         :
00022         status = GaudiAlgo.initialize(self)
00023         print "getFullName = ",self.posToolConf.getFullName()
00024         self.posTool = self.tool('IPositionerTool',
00025                                  self.posToolConf.getFullName())
00026         # Place volume
00027         status = self.posTool.placeVolume()
00028         return status
    
def DetHelpers::autoPositionerTest::PositionerAlg::execute (   self)

Definition at line 29 of file autoPositionerTest.py.

00030                      :
00031         # Print some output to look at result of placement
00032         de_name = "/dd/Structure/AD/db-gds1"
00033         dbSupport = self.getDet(de_name)
00034         dbSupportGeo = dbSupport.geometry()
00035         nPVolumes = dbSupportGeo.lvolume().pvolumes().size()
00036         print "pvolumes: ", nPVolumes
00037         for pvol in dbSupportGeo.lvolume().pvolumes():
00038             print pvol.name(), pvol
00039             print pvol.lvolumeName(), pvol.name()
00040             print pvol.lvolume().name(), pvol.name()
00041             print "\n"
00042             for cde in dbSupport.childIDetectorElements():
00043                 print cde.name()
00044                 print cde.geometry().lvolume().name()
00045                 print "\n"
00046         return SUCCESS
        

Member Data Documentation

Definition at line 15 of file autoPositionerTest.py.

Definition at line 20 of file autoPositionerTest.py.


The documentation for this class was generated from the following file:
| 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