CMS 3D CMS Logo

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

Functions

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

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 = None
 
 ry = reports
 
 selection = options.selection
 main part More...
 
string type = "string"
 
string usage
 

Function Documentation

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

Definition at line 77 of file corrVsCorr.py.

77 
78 def CSC(csc, endcap, station, ring, chamber):
79  if csc != "CSC": return False
80  # skip the duplicated ME1/a
81  if station==1 and ring==4: return False
82  # skip non-instrumented ME4/2's:
83  if station==4 and ring==2 and ( (endcap==1 and (chamber<9 or chamber >13)) or endcap==2 ) : return False
84  #if ring!=1: return False
85  return True
def corrVsCorr.CSCE1 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 86 of file corrVsCorr.py.

86 
87 def CSCE1(csc, endcap, station, ring, chamber): return CSC(csc, endcap, station, ring, chamber) and endcap==1
def corrVsCorr.CSCE2 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 88 of file corrVsCorr.py.

88 
89 def CSCE2(csc, endcap, station, ring, chamber): return CSC(csc, endcap, station, ring, chamber) and endcap==2
90 
def corrVsCorr.DT (   dt,
  wheel,
  station,
  sector 
)

definitions of selectors:

Definition at line 75 of file corrVsCorr.py.

75 
76 def DT(dt, wheel, station, sector): return dt == "DT"
def DT
definitions of selectors:
Definition: corrVsCorr.py:75

Variable Documentation

string corrVsCorr.commandline = " "

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])

Definition at line 108 of file corrVsCorr.py.

Referenced by pftools::CalibCompare.CalibCompare(), and pftools::Exercises3.Exercises3().

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 = None

Definition at line 101 of file corrVsCorr.py.

Referenced by DQMHistNormalizer.buildRegex(), HResolution1DRecHit.Fill(), EcalEndcapGeometry.getCells(), DQMStore.getMatchingContents(), CmsAnnotation.Handle(), l1t::MP7BufferDumpToRaw.MP7BufferDumpToRaw(), and FWColorPopup.PlacePopup().

corrVsCorr.ry = reports

Definition at line 106 of file corrVsCorr.py.

Referenced by HResolution1DRecHit.Fill(), EcalEndcapGeometry.getCells(), CmsAnnotation.Handle(), FWColorPopup.PlacePopup(), and TrackProducerFP420.trackFinderSophisticated().

corrVsCorr.selection = options.selection

main part

Definition at line 98 of file corrVsCorr.py.

Referenced by DetIdSelector.addSelection(), TtFullHadSignalSelMVATrainer.analyze(), TtSemiLepSignalSelMVATrainer.analyze(), ShallowTree.beginJob(), ClusterSummaryProducer.ClusterSummaryProducer(), plotscripts.corrections2D(), plotscripts.DBdiff(), plotscripts.DBdiffVersus(), muonisolation::PixelTrackExtractor.deposit(), muonisolation::TrackExtractor.deposit(), DetIdSelectorTest.DetIdSelectorTest(), DigiCollectionProfiler< T >.DigiCollectionProfiler(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController.expandToDepthDialog(), ExpressionVariable< Object, label >.ExpressionVariable(), ConfigurableAnalysis.filter(), FlavorHistoryFilter.filter(), FWFileEntry.filterEventsWithCustomParser(), edm::EventSelector.getEventSelectionVString(), HLTMuonIsoFilter.hltFilter(), cond::IOVRange.IOVRange(), main(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.onTreeViewSelected(), PFRecoTauChargedHadronProducer.PFRecoTauChargedHadronProducer(), PFRecoTauDiscriminationByIsolation.PFRecoTauDiscriminationByIsolation(), plotscripts.plotmedians(), TtFullHadSignalSelMVAComputer.produce(), TtSemiLepSignalSelMVAComputer.produce(), HiGenCleaner< T2 >.produce(), RecoTauCleanerImpl< Prod >.RecoTauCleanerImpl(), RecoTauPiZeroProducer.RecoTauPiZeroProducer(), RecoTauProducer.RecoTauProducer(), MuonMillepedeAlgorithm.run(), CmsShowEDI.runSelection(), Selections.Selections(), edm::StreamSerializer.serializeRegistry(), edm::RootOutputFile.setBranchAliases(), StringBasedNTupler.StringBasedNTupler(), StringBranchHelper< Object, Collection >.StringBranchHelper(), StringCutsEventSelector< Object, existenceMatter >.StringCutsEventSelector(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController.updateCenterView(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.updateCenterView(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.updateCenterView(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.updateConfigHighlight(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.updateContent(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.valueChanged().

string corrVsCorr.type = "string"

Definition at line 29 of file corrVsCorr.py.

string corrVsCorr.usage
Initial value:
1 = """Usage:
2 %(prog)s [options] geometry0.xml geometryX.xml geometryY.xml
3 
4 Draws a scatterplot of delta corrections:
5 X: geometryX - geometry0
6 Y: geometryY - geometry0
7 
8 Optionally, corresponding reportX.py and reportY.py could be provided through options
9 in order to better select chambers for plotting.
10 """

Definition at line 15 of file corrVsCorr.py.