CMS 3D CMS Logo

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

Functions

def CSC
 
def CSCE1
 
def CSCE2
 
def DT
 definitions of selectors: More...
 

Variables

string commandline = " "
 
list copyargs = sys.argv[:]
 
string default = ""
 
string dest = "filename"
 
string help = "plots' file name. If not give, an automatic file name would be given as reportVsReport_label_selection.png"
 
tuple parser = optparse.OptionParser(usage)
 
list prog = sys.argv[0]
 
 rx = reports
 
 ry = reports
 
 selection = options.selection
 main part More...
 
string type = "string"
 
string usage
 

Function Documentation

def reportVsReport.CSC (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 64 of file reportVsReport.py.

64 
65 def CSC(csc, endcap, station, ring, chamber):
66  if csc != "CSC": return False
67  # skip the duplicated ME1/a
68  if station==1 and ring==4: return False
69  # skip non-instrumented ME4/2's:
70  if station==4 and ring==2 and ( (endcap==1 and (chamber<9 or chamber >13)) or endcap==2 ) : return False
71  return True
def reportVsReport.CSCE1 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 72 of file reportVsReport.py.

72 
73 def CSCE1(csc, endcap, station, ring, chamber): return CSC(csc, endcap, station, ring, chamber) and endcap==1
def reportVsReport.CSCE2 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 74 of file reportVsReport.py.

74 
75 def CSCE2(csc, endcap, station, ring, chamber): return CSC(csc, endcap, station, ring, chamber) and endcap==2
76 
def reportVsReport.DT (   dt,
  wheel,
  station,
  sector 
)

definitions of selectors:

Definition at line 62 of file reportVsReport.py.

62 
63 def DT(dt, wheel, station, sector): return dt == "DT"
def DT
definitions of selectors:

Variable Documentation

string reportVsReport.commandline = " "

Definition at line 12 of file reportVsReport.py.

list reportVsReport.copyargs = sys.argv[:]

Definition at line 7 of file reportVsReport.py.

string reportVsReport.default = ""

Definition at line 27 of file reportVsReport.py.

string reportVsReport.dest = "filename"

Definition at line 28 of file reportVsReport.py.

string reportVsReport.help = "plots' file name. If not give, an automatic file name would be given as reportVsReport_label_selection.png"

Definition at line 25 of file reportVsReport.py.

tuple reportVsReport.parser = optparse.OptionParser(usage)

Definition at line 23 of file reportVsReport.py.

list reportVsReport.prog = sys.argv[0]

Definition at line 15 of file reportVsReport.py.

reportVsReport.rx = reports

Definition at line 87 of file reportVsReport.py.

reportVsReport.ry = reports

Definition at line 89 of file reportVsReport.py.

reportVsReport.selection = options.selection

main part

Definition at line 83 of file reportVsReport.py.

string reportVsReport.type = "string"

Definition at line 26 of file reportVsReport.py.

string reportVsReport.usage
Initial value:
1 = """Usage:
2 %(prog)s [options] reportX.py reportY.py
3 
4 Draws a scatterplot of delta corrections from reportX vs. from reportY.
5 """

Definition at line 17 of file reportVsReport.py.