/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
XmlDetDescGen::geometry::Box Class Reference

List of all members.

Public Member Functions

def __init__
def xml

Public Attributes

 name
 sizeX
 sizeY
 sizeZ

Detailed Description

Definition at line 96 of file geometry.py.


Constructor & Destructor Documentation

def XmlDetDescGen::geometry::Box::__init__ (   self,
  name,
  sizeX = None,
  sizeY = None,
  sizeZ = None 
)

Definition at line 98 of file geometry.py.

00099                                                             :
00100         self.name = name
00101         self.sizeX = sizeX
00102         self.sizeY = sizeY
00103         self.sizeZ = sizeZ
        return

Member Function Documentation

def XmlDetDescGen::geometry::Box::xml (   self,
  fo,
  pre 
)

Definition at line 104 of file geometry.py.

00105                         :
00106         fo.write('%s<box name="%s"'%(pre,self.name))
00107         if self.sizeX: fo.write(' sizeX="%s"'%self.sizeX)
00108         if self.sizeY: fo.write(' sizeY="%s"'%self.sizeY)
00109         if self.sizeZ: fo.write(' sizeZ="%s"'%self.sizeZ)
00110         fo.write(' />\n')
00111         return


Member Data Documentation

Definition at line 98 of file geometry.py.

Definition at line 98 of file geometry.py.

Definition at line 98 of file geometry.py.

Definition at line 98 of file geometry.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:07 for XmlDetDesc by doxygen 1.7.4