CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
motionPolicyChamber Namespace Reference

Functions

def loopover
 

Variables

string action = "store_true"
 
string commandline = " "
 
list copyargs = sys.argv[:]
 
int default = 2
 
string dest = "nsigma"
 
 DO_CSC = False
 
 DO_DT = False
 
tuple geom0 = MuonGeometry(file(theInXML0))
 
tuple geomN = MuonGeometry(file(theInXMLN))
 
string help = "optional minimum nsigma(deltax) position displacement in order to move a chamber; default NSIGMA=3"
 
tuple parser = optparse.OptionParser(usage)
 
list prog = sys.argv[0]
 
list theInREPN = sys.argv[3]
 
list theInXML0 = sys.argv[1]
 
list theInXMLN = sys.argv[2]
 
 theNSigma = options.nsigma
 
list theOutXML = sys.argv[4]
 
string type = "int"
 
string usage
 

Function Documentation

def motionPolicyChamber.loopover (   muSystem)

Definition at line 86 of file motionPolicyChamber.py.

Variable Documentation

string motionPolicyChamber.action = "store_true"

Definition at line 47 of file motionPolicyChamber.py.

string motionPolicyChamber.commandline = " "

Definition at line 10 of file motionPolicyChamber.py.

list motionPolicyChamber.copyargs = sys.argv[:]

Definition at line 6 of file motionPolicyChamber.py.

motionPolicyChamber.default = 2

Definition at line 42 of file motionPolicyChamber.py.

string motionPolicyChamber.dest = "nsigma"

Definition at line 43 of file motionPolicyChamber.py.

motionPolicyChamber.DO_CSC = False

Definition at line 67 of file motionPolicyChamber.py.

motionPolicyChamber.DO_DT = False

Definition at line 66 of file motionPolicyChamber.py.

tuple motionPolicyChamber.geom0 = MuonGeometry(file(theInXML0))

Definition at line 81 of file motionPolicyChamber.py.

tuple motionPolicyChamber.geomN = MuonGeometry(file(theInXMLN))

Definition at line 82 of file motionPolicyChamber.py.

string motionPolicyChamber.help = "optional minimum nsigma(deltax) position displacement in order to move a chamber; default NSIGMA=3"

Definition at line 40 of file motionPolicyChamber.py.

tuple motionPolicyChamber.parser = optparse.OptionParser(usage)

Definition at line 37 of file motionPolicyChamber.py.

list motionPolicyChamber.prog = sys.argv[0]

Definition at line 13 of file motionPolicyChamber.py.

list motionPolicyChamber.theInREPN = sys.argv[3]

Definition at line 61 of file motionPolicyChamber.py.

list motionPolicyChamber.theInXML0 = sys.argv[1]

Definition at line 59 of file motionPolicyChamber.py.

list motionPolicyChamber.theInXMLN = sys.argv[2]

Definition at line 60 of file motionPolicyChamber.py.

motionPolicyChamber.theNSigma = options.nsigma

Definition at line 64 of file motionPolicyChamber.py.

list motionPolicyChamber.theOutXML = sys.argv[4]

Definition at line 62 of file motionPolicyChamber.py.

string motionPolicyChamber.type = "int"

Definition at line 41 of file motionPolicyChamber.py.

string motionPolicyChamber.usage
Initial value:
1 = """%(prog)s INPUT_XML_0 INPUT_XML_N INPUT_REPORT_N OUTPUT_XML [--nsigma NSIGMA] [--dt] [--csc]
2 
3 Required arguments:
4 
5 INPUT_XML_0 is xml file name with chamber positions from the initial (iteration 0) geometry
6 INPUT_XML_N is xml file name with chamber positions from the last iteration's geometry
7 INPUT_REPORT_N is a _report.py file from the last iteration
8 OUTPUT_XML is the resulting .xml file
9 
10 Options:
11 
12 --nsigma NSIGMA optional minimum position displacement (measured in nsigma of deltax) in order to move a chamber
13  default NSIGMA=3
14 --dt if present, DT chambers will be included
15 --csc if present, CSC chambers will be included
16  NOTE: By default, having no --dt or --csc specified is equivalent to "--dt --csc"
17 """

Definition at line 15 of file motionPolicyChamber.py.