CMS 3D CMS Logo

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

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

Definition at line 88 of file corrVsCorr.py.

88 
89 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 90 of file corrVsCorr.py.

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

definitions of selectors:

Definition at line 77 of file corrVsCorr.py.

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

Variable Documentation

string corrVsCorr.commandline = " "

Definition at line 12 of file corrVsCorr.py.

list corrVsCorr.copyargs = sys.argv[:]

Definition at line 7 of file corrVsCorr.py.

string corrVsCorr.default = "None"

Definition at line 32 of file corrVsCorr.py.

string corrVsCorr.dest = "rx"

Definition at line 33 of file corrVsCorr.py.

tuple corrVsCorr.g0 = MuonGeometry(args[0])

Definition at line 110 of file corrVsCorr.py.

tuple corrVsCorr.gX = MuonGeometry(args[1])

Definition at line 111 of file corrVsCorr.py.

Referenced by SiPixelTrackResidualSource.analyze().

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

Definition at line 112 of file corrVsCorr.py.

Referenced by SiPixelTrackResidualSource.analyze().

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

Definition at line 30 of file corrVsCorr.py.

tuple corrVsCorr.parser = optparse.OptionParser(usage)

Definition at line 28 of file corrVsCorr.py.

list corrVsCorr.prog = sys.argv[0]

Definition at line 15 of file corrVsCorr.py.

corrVsCorr.rx = None

Definition at line 103 of file corrVsCorr.py.

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

corrVsCorr.ry = reports

Definition at line 108 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 100 of file corrVsCorr.py.

Referenced by DetIdSelector.addSelection(), CalibrationTrackSelectorFromDetIdList.CalibrationTrackSelectorFromDetIdList(), ClusterSummaryProducer.ClusterSummaryProducer(), CommonModeAnalyzer.CommonModeAnalyzer(), plotscripts.corrections2D(), plotscripts.DBdiff(), plotscripts.DBdiffVersus(), DDG4ProductionCuts.dd4hepInitialize(), muonisolation::TrackExtractor.deposit(), muonisolation::PixelTrackExtractor.deposit(), DetIdSelectorTest.DetIdSelectorTest(), DigiCollectionProfiler< T >.DigiCollectionProfiler(), ExpressionVariable< Object, label >.ExpressionVariable(), ConfigurableAnalysis.filter(), FlavorHistoryFilter.filter(), FWFileEntry.filterEventsWithCustomParser(), FilterSelections.FilterSelections(), edm::EventSelector.getEventSelectionVString(), HLTMuonIsoFilter.hltFilter(), main(), reco::Muon.passed(), PFRecoTauChargedHadronProducer.PFRecoTauChargedHadronProducer(), PFRecoTauDiscriminationByIsolation.PFRecoTauDiscriminationByIsolation(), PFRecoTauDiscriminationByIsolationContainer.PFRecoTauDiscriminationByIsolationContainer(), plotscripts.plotmedians(), TtFullHadSignalSelMVAComputer.produce(), TtSemiLepSignalSelMVAComputer.produce(), HiGenCleaner< T2 >.produce(), RecoTauCleanerImpl< Prod >.RecoTauCleanerImpl(), RecoTauPiZeroProducer.RecoTauPiZeroProducer(), RecoTauProducer.RecoTauProducer(), CmsShowEDI.runSelection(), edm::StreamSerializer.serializeEvent(), edm::StreamSerializer.serializeRegistry(), edm::RootOutputFile.setBranchAliases(), ShallowTree.ShallowTree(), StringBasedNTupler.StringBasedNTupler(), StringBranchHelper< Object, Collection >.StringBranchHelper(), and StringCutsEventSelector< Object, existenceMatter >.StringCutsEventSelector().

string corrVsCorr.type = "string"

Definition at line 31 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 17 of file corrVsCorr.py.