CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 62 of file reportVsReport.py.

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

Definition at line 70 of file reportVsReport.py.

70 
71 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 72 of file reportVsReport.py.

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

definitions of selectors:

Definition at line 60 of file reportVsReport.py.

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

Variable Documentation

string reportVsReport.commandline = " "

Definition at line 10 of file reportVsReport.py.

list reportVsReport.copyargs = sys.argv[:]

Definition at line 5 of file reportVsReport.py.

string reportVsReport.default = ""

Definition at line 25 of file reportVsReport.py.

string reportVsReport.dest = "filename"

Definition at line 26 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 23 of file reportVsReport.py.

tuple reportVsReport.parser = optparse.OptionParser(usage)

Definition at line 21 of file reportVsReport.py.

list reportVsReport.prog = sys.argv[0]

Definition at line 13 of file reportVsReport.py.

reportVsReport.rx = reports

Definition at line 85 of file reportVsReport.py.

reportVsReport.ry = reports

Definition at line 87 of file reportVsReport.py.

reportVsReport.selection = options.selection

main part

Definition at line 81 of file reportVsReport.py.

string reportVsReport.type = "string"

Definition at line 24 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 15 of file reportVsReport.py.