CMS 3D CMS Logo

Functions | Variables

corrVsCorr Namespace Reference

Functions

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

Variables

string commandline = " "
list copyargs = sys.argv[:]
string default = "None"
string dest = "rx"
tuple g0 = MuonGeometry(args[0])
tuple gX = MuonGeometry(args[1])
tuple gY = MuonGeometry(args[2])
string help = "report.py that corresponds to geometryX.xml"
tuple parser = optparse.OptionParser(usage)
list prog = sys.argv[0]
 rx = ryNone
 ry = reports
 selection = options.selection
 main part
string type = "string"
string usage

Function Documentation

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

Definition at line 77 of file corrVsCorr.py.

00077                                             : 
00078   if csc != "CSC": return False
00079   # skip the duplicated ME1/a
00080   if station==1 and ring==4: return False
00081   # skip non-instrumented ME4/2's:
00082   if station==4 and ring==2 and ( (endcap==1 and (chamber<9 or chamber >13)) or endcap==2 ) : return False
00083   #if ring!=1: return False
00084   return True
00085 
def corrVsCorr::CSCE1 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 86 of file corrVsCorr.py.

00086                                               : return CSC(csc, endcap, station, ring, chamber) and endcap==1
00087 
def corrVsCorr::CSCE2 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 88 of file corrVsCorr.py.

00088                                               : return CSC(csc, endcap, station, ring, chamber) and endcap==2
00089 
00090 
def corrVsCorr::DT (   dt,
  wheel,
  station,
  sector 
)

definitions of selectors:

Definition at line 75 of file corrVsCorr.py.

00075                                   : return dt == "DT"
00076 

Variable Documentation

Definition at line 10 of file corrVsCorr.py.

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

Definition at line 5 of file corrVsCorr.py.

string corrVsCorr::default = "None"

Definition at line 30 of file corrVsCorr.py.

string corrVsCorr::dest = "rx"

Definition at line 31 of file corrVsCorr.py.

tuple corrVsCorr::g0 = MuonGeometry(args[0])
tuple corrVsCorr::gX = MuonGeometry(args[1])

Definition at line 109 of file corrVsCorr.py.

Referenced by SiPixelTrackResidualSource::analyze().

tuple corrVsCorr::gY = MuonGeometry(args[2])

Definition at line 110 of file corrVsCorr.py.

Referenced by SiPixelTrackResidualSource::analyze().

string corrVsCorr::help = "report.py that corresponds to geometryX.xml"

Definition at line 28 of file corrVsCorr.py.

tuple corrVsCorr::parser = optparse.OptionParser(usage)

Definition at line 26 of file corrVsCorr.py.

list corrVsCorr::prog = sys.argv[0]

Definition at line 13 of file corrVsCorr.py.

corrVsCorr::rx = ryNone
corrVsCorr::ry = reports
corrVsCorr::selection = options.selection
string corrVsCorr::type = "string"

Definition at line 29 of file corrVsCorr.py.

Initial value:
00001 """Usage:
00002 %(prog)s [options] geometry0.xml geometryX.xml geometryY.xml
00003 
00004 Draws a scatterplot of delta corrections:
00005 X:  geometryX - geometry0
00006 Y:  geometryY - geometry0
00007 
00008 Optionally, corresponding reportX.py and reportY.py could be provided through options
00009 in order to better select chambers for plotting.
00010 """

Definition at line 15 of file corrVsCorr.py.