/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
XmlDetDescGen::Pool::gen Namespace Reference

Classes

class  Element
class  Pool

Functions

def main

Variables

list pool_element_names = ["Dead","Liner","OWS", "Curtain", "IWS" ]
list pool_detelem_data
 gen_pool_pmts = True
 Eight = True
string suffix = ''
string style = '2-2-4'

Function Documentation

def XmlDetDescGen::Pool::gen::main ( )

Definition at line 643 of file gen.py.

00644           :
00645 
00646 
00647     import sys
00648     import os
00649 
00650     pool = Pool()
00651         
00652     try:
00653         xddroot = sys.argv[1]
00654     except IndexError:
00655         xddroot = os.getenv("XMLDETDESCROOT")
00656 
00657     if not xddroot:
00658         print "No XMLDETDESCROOT directory given by environment or command line"
00659         print "Using current working directory"
00660         xddroot="."
00661 
00662     outdir=xddroot + "/DDDB/Pool" + suffix
00663     if not os.path.exists(outdir):
00664         print "Directory does not exist, please make first"
00665         print outdir
00666         sys.exit(1)
00667 
00668     pool.outdir = outdir
00669 
00670     pool.parameters_file()
00671     pool.geometry_files()
00672     pool.thing_files()
00673     pool.structure_file()


Variable Documentation

list XmlDetDescGen::Pool::gen::pool_element_names = ["Dead","Liner","OWS", "Curtain", "IWS" ]

Definition at line 7 of file gen.py.

Initial value:
00001 [
00002     ("OWS","pv%(nlf)sHallBot/pv%(nf)sPoolDead/pv%(nf)sPoolLiner/pv%(nf)sPoolOWS"),
00003     ("Curtain","pv%(nf)sPoolCurtain"),
00004     ("IWS","pv%(nf)sPoolIWS" )]

Definition at line 10 of file gen.py.

Definition at line 16 of file gen.py.

Definition at line 17 of file gen.py.

Definition at line 18 of file gen.py.

Definition at line 19 of file gen.py.

| 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