CMS 3D CMS Logo

Functions | Variables

reportVsReport Namespace Reference

Functions

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

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
string type = "string"
string usage

Function Documentation

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

Definition at line 62 of file reportVsReport.py.

00062                                             : 
00063   if csc != "CSC": return False
00064   # skip the duplicated ME1/a
00065   if station==1 and ring==4: return False
00066   # skip non-instrumented ME4/2's:
00067   if station==4 and ring==2 and ( (endcap==1 and (chamber<9 or chamber >13)) or endcap==2 ) : return False
00068   return True
00069 
def reportVsReport::CSCE1 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 70 of file reportVsReport.py.

00070                                               : return CSC(csc, endcap, station, ring, chamber) and endcap==1
00071 
def reportVsReport::CSCE2 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 72 of file reportVsReport.py.

00072                                               : return CSC(csc, endcap, station, ring, chamber) and endcap==2
00073 
00074 
def reportVsReport::DT (   dt,
  wheel,
  station,
  sector 
)

definitions of selectors:

Definition at line 60 of file reportVsReport.py.

00060                                   : return dt == "DT"
00061 

Variable Documentation

Definition at line 10 of file reportVsReport.py.

list reportVsReport::copyargs = sys.argv[:]

Definition at line 5 of file reportVsReport.py.

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.

Initial value:
00001 """Usage:
00002 %(prog)s [options] reportX.py reportY.py
00003 
00004 Draws a scatterplot of delta corrections from reportX vs. from reportY.
00005 """

Definition at line 15 of file reportVsReport.py.