/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::positionerTest::PositionerAlg Class Reference
Inheritance diagram for DetHelpers::positionerTest::PositionerAlg:
Inheritance graph
[legend]
Collaboration diagram for DetHelpers::positionerTest::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 24 of file positionerTest.py.


Constructor & Destructor Documentation

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

Definition at line 26 of file positionerTest.py.

00027                            :
00028         GaudiAlgo.__init__(self,name)
00029         print "Making PositionerAlg",name
00030         self.posToolConf = None
        

Member Function Documentation

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

Definition at line 31 of file positionerTest.py.

00032                         :
00033         status = GaudiAlgo.initialize(self)
00034         print "getFullName = ",self.posToolConf.getFullName()
00035         self.posTool = self.tool('IPositionerTool',
00036                                  self.posToolConf.getFullName())
00037         # Place volume
00038         status = self.posTool.placeVolume()
00039         return status
    
def DetHelpers::positionerTest::PositionerAlg::execute (   self)

Definition at line 40 of file positionerTest.py.

00041                      :
00042         # Print some output to look at result of placement
00043         de_name = self.posToolConf.Support
00044         dbSupport = self.getDet(de_name)
00045         dbSupportGeo = dbSupport.geometry()
00046         nPVolumes = dbSupportGeo.lvolume().pvolumes().size()
00047         print "pvolumes: ", nPVolumes
00048         for pvol in dbSupportGeo.lvolume().pvolumes():
00049             print pvol.name(), pvol
00050             print pvol.lvolumeName(), pvol.name()
00051             print pvol.lvolume().name(), pvol.name()
00052             print "\n"
00053             for cde in dbSupport.childIDetectorElements():
00054                 print cde.name()
00055                 print cde.geometry().lvolume().name()
00056                 print "\n"
00057         return SUCCESS
00058         


Member Data Documentation

Definition at line 26 of file positionerTest.py.

Definition at line 31 of file positionerTest.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