CMS 3D CMS Logo

Functions | Variables
corrVsCorr Namespace Reference

Functions

def CSC (csc, endcap, station, ring, chamber)
 
def CSCE1 (csc, endcap, station, ring, chamber)
 
def CSCE2 (csc, endcap, station, ring, chamber)
 
def DT (dt, wheel, station, sector)
 definitions of selectors: More...
 

Variables

 args
 
 c1
 
string commandline = " "
 
 copyargs = sys.argv[:]
 
 default
 
 dest
 
 filename
 
 g0 = MuonGeometry(args[0])
 
 gX = MuonGeometry(args[1])
 
 gY = MuonGeometry(args[2])
 
 help
 
 options
 
 parser = optparse.OptionParser(usage)
 
 prog = sys.argv[0]
 
 rx = None
 
 ry = reports
 
 selection = options.selection
 main part More...
 
 type
 
string usage
 

Function Documentation

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

Definition at line 79 of file corrVsCorr.py.

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

Definition at line 88 of file corrVsCorr.py.

88 def CSCE1(csc, endcap, station, ring, chamber): return CSC(csc, endcap, station, ring, chamber) and endcap==1
89 
def CSCE1(csc, endcap, station, ring, chamber)
Definition: corrVsCorr.py:88
def corrVsCorr.CSCE2 (   csc,
  endcap,
  station,
  ring,
  chamber 
)

Definition at line 90 of file corrVsCorr.py.

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

definitions of selectors:

Definition at line 77 of file corrVsCorr.py.

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

Variable Documentation

corrVsCorr.args

Definition at line 70 of file corrVsCorr.py.

corrVsCorr.c1

Definition at line 114 of file corrVsCorr.py.

string corrVsCorr.commandline = " "

Definition at line 12 of file corrVsCorr.py.

corrVsCorr.copyargs = sys.argv[:]

Definition at line 7 of file corrVsCorr.py.

corrVsCorr.default

Definition at line 32 of file corrVsCorr.py.

corrVsCorr.dest

Definition at line 33 of file corrVsCorr.py.

corrVsCorr.filename

Definition at line 123 of file corrVsCorr.py.

Referenced by __attribute__(), optutl::CommandLineParser._finishDefaultOptions(), optutl::CommandLineParser._runVariableCommandFromString(), TH1Store.add(), MillePedeAlignmentAlgorithm.addPxbSurvey(), AlignmentIORootBase.AlignmentIORootBase(), SiStripBaseCondObjDQM.analysis(), SiStripQualityStatistics.analyze(), FFTJetTreeDump.analyze(), optutl::CommandLineParser.argVec(), DQMFileReader.beginJob(), TkAlCaSkimTreeMerger.beginJob(), SiPixelDQMRocLevelAnalyzer.beginJob(), RawEventOutputModuleForBU< Consumer >.beginLuminosityBlock(), BTagCalibration.BTagCalibration(), calibXMLwriter.calibXMLwriter(), edm::service::ELdestination.changeFile(), CmsShowHelpPopup.CmsShowHelpPopup(), dqmservices::DQMFileIterator.collect(), HIPAlignmentAlgorithm.collectMonitorTrees(), compileDMRTrends(), edm::service::ThreadSafeLogMessageLoggerScribe.configure_dest(), edm::service::MessageLoggerScribe.configure_dest(), edm::service::ThreadSafeLogMessageLoggerScribe.configure_ordinary_destinations(), edm::service::MessageLoggerScribe.configure_ordinary_destinations(), edm::service::ThreadSafeLogMessageLoggerScribe.configure_statistics(), edm::service::MessageLoggerScribe.configure_statistics(), TMatacq.countBadPulses(), l1t::MicroGMTRankPtQualLUTFactory.create(), l1t::MicroGMTExtrapolationLUTFactory.create(), l1t::MicroGMTCaloIndexSelectionLUTFactory.create(), l1t::MicroGMTAbsoluteIsolationCheckLUTFactory.create(), l1t::MicroGMTRelativeIsolationCheckLUTFactory.create(), FittedEntriesManager.createFileName(), PhysicsTools::MVAComputer.deriv(), DTDDUFileReader.DTDDUFileReader(), DTNewROS8FileReader.DTNewROS8FileReader(), DTROS25FileReader.DTROS25FileReader(), DTROS8FileReader.DTROS8FileReader(), EcalWeightSetXMLTranslator.EcalWeightSetXMLTranslator(), SiStripQualityStatistics.EndJob(), InvRingCalib.endOfLoop(), EcalEleCalibLooper.endOfLoop(), PCLMetadataWriter.endRun(), EnergyScaleCorrection.EnergyScaleCorrection(), EnergyScaleCorrection_class.EnergyScaleCorrection_class(), ErrorCorrelationMgr.ErrorCorrelationMgr(), gs.fileTail(), l1t::L1TGlobalUtil.fillDescription(), TrackerMap.findfile(), FittedEntriesReader.FittedEntriesReader(), pos::PixelConfigFile.getAlias(), pos::PixelConfigFile.getConfig(), ALIFileOut.getInstance(), ALIFileIn.getInstance(), XrdAdaptor::RequestManager.getInstance(), ALIFileIn.getInstanceOpened(), TkHistoMap.getLayerNum(), SiStripDetVOffBuilder.getPayloadStats(), edm::storage::StatisticsSenderService.getX509Subject(), TrackerMap.getysize(), dqm::RamdiskMonitor.globalBeginLuminosityBlock(), TH1Store.hist(), SiPixelDigitizerAlgorithm.initCal(), JME::JetResolution.JetResolution(), JME::JetResolutionScaleFactor.JetResolutionScaleFactor(), HcalPatternSource.loadPatternFile(), gs.localFileURI(), main(), makeGifHists(), FittedEntriesManager.MakeHistos(), DQMStore.mtEnabled(), MultipleScatteringX0Data.MultipleScatteringX0Data(), ALIFileIn.name(), fastsim::NuclearInteraction.NuclearInteraction(), NuclearInteractionSimulator.NuclearInteractionSimulator(), onlineOfflineFileName(), RawFile.open(), AlignmentIORootBase.openRoot(), parse_int(), DDLParser.parseOneFile(), EcalTrigPrimESProducer.parseTextFile(), Pi0CalibXMLwriter.Pi0CalibXMLwriter(), PlotDMRTrends(), evf::EvFDaqDirector.postEndRun(), L1RCTReceiverCard.printEdges(), TMatacq.printitermatacqData(), TMatacq.printmatacqData(), printPlot(), SideBandSubtract.printResults(), TShapeAnalysis.printshapeData(), CSCPairResidualsConstraint.read(), read_badmodlist(), EMap.read_map(), edm.read_whole_file(), Vispa.Main.Application.Application.reloadFile(), edm::TRandomAdaptor.restoreStatus(), TrackerMap.save(), TrackerMap.save_as_fectrackermap(), TrackerMap.save_as_fedtrackermap(), TrackerMap.save_as_HVtrackermap(), TrackerMap.save_as_psutrackermap(), DQMFileSaver.saveForOffline(), DQMFileSaver.saveForOfflinePB(), DQMFileSaver.saveForOnlinePB(), dqm::DQMFileSaverBase.saveRun(), edm::TRandomAdaptor.saveStatus(), search_closest_run(), CmsShowMainBase.setGeometryFilename(), hcalCalib.SetHistoFileName(), Measurement.setMeasurementsFileName(), hcalCalib.SetOutputCorCoefFileName(), hcalCalib.SetPhiSymCorFileName(), HistoCompare.SetReferenceFilename(), CmsShowMainBase.setSimGeometryFilename(), testSerialization(), topLevelPSet(), Vispa.Main.Application.Application.updateWindowTitle(), SiStripConfigDb.usingDatabase(), function.vbeginfunction(), module.vbeginmodule(), RawEventOutputModuleForBU< Consumer >.write(), JsonOutputProducer.write(), SummaryOutputProducer.write(), L1GtVhdlWriterCore.writeAlgoSetup(), pos::PixelTTCciConfig.writeASCII(), pos::PixelDelay25Calib.writeASCII(), pos::PixelMaxVsf.writeASCII(), pos::PixelPortCardConfig.writeASCII(), pos::PixelMaskAllPixels.writeASCII(), pos::PixelLowVoltageMap.writeASCII(), pos::PixelLTCConfig.writeASCII(), pos::PixelGlobalDelay25.writeASCII(), pos::PixelFECConfig.writeASCII(), pos::PixelTBMSettings.writeASCII(), pos::PixelFEDConfig.writeASCII(), pos::PixelTKFECConfig.writeASCII(), pos::PixelTrimAllPixels.writeASCII(), pos::PixelFEDCard.writeASCII(), pos::PixelDetectorConfig.writeASCII(), pos::PixelPortcardMap.writeASCII(), pos::PixelDACSettings.writeASCII(), pos::PixelNameTranslation.writeASCII(), pos::PixelCalibConfiguration.writeASCII(), L1GtVhdlWriterCore.writeCond2intMap2File(), L1GtVhdlWriterCore.writeCondChipPkg(), L1GtVhdlWriterCore.writeConditionChipSetup(), L1GtVhdlWriterCore.writeDefValPkg(), L1RCTLutWriter.writeEicLutFile(), L1GtVhdlWriterCore.writeEtmSetup(), pos::PixelConfigList.writefile(), pos::PixelAliasList.writefile(), L1RCTLutWriter.writeJscLutFile(), L1GtVhdlWriterCore.writeMuonSetupVhdl(), xuti.WriteNodeWithValue(), L1RCTLutWriter.writeRcLutFile(), L1RCTLutWriter.writeThresholdsFile(), ALIFileOut.~ALIFileOut(), AlignableDataIO.~AlignableDataIO(), AlignmentCorrelationsIO.~AlignmentCorrelationsIO(), AlignmentParametersIO.~AlignmentParametersIO(), AlignmentUserVariablesIO.~AlignmentUserVariablesIO(), CocoaToDDLMgr.~CocoaToDDLMgr(), DDLDocumentProvider.~DDLDocumentProvider(), EMap_test.~EMap_test(), EMap::EMapRow.~EMapRow(), EnergyScaleCorrection.~EnergyScaleCorrection(), HcalEmap_test.~HcalEmap_test(), HcalEmap::HcalEmapRow.~HcalEmapRow(), HIPAlignmentAlgorithm.~HIPAlignmentAlgorithm(), l1t::MicroGMTAbsoluteIsolationCheckLUTFactory.~MicroGMTAbsoluteIsolationCheckLUTFactory(), l1t::MicroGMTCaloIndexSelectionLUTFactory.~MicroGMTCaloIndexSelectionLUTFactory(), l1t::MicroGMTExtrapolationLUTFactory.~MicroGMTExtrapolationLUTFactory(), l1t::MicroGMTMatchQualLUTFactory.~MicroGMTMatchQualLUTFactory(), l1t::MicroGMTRankPtQualLUTFactory.~MicroGMTRankPtQualLUTFactory(), l1t::MicroGMTRelativeIsolationCheckLUTFactory.~MicroGMTRelativeIsolationCheckLUTFactory(), and MillePedeVariablesIORoot.~MillePedeVariablesIORoot().

corrVsCorr.g0 = MuonGeometry(args[0])

Definition at line 110 of file corrVsCorr.py.

corrVsCorr.gX = MuonGeometry(args[1])

Definition at line 111 of file corrVsCorr.py.

Referenced by SiPixelTrackResidualSource.analyze().

corrVsCorr.gY = MuonGeometry(args[2])

Definition at line 112 of file corrVsCorr.py.

Referenced by SiPixelTrackResidualSource.analyze().

corrVsCorr.help

Definition at line 30 of file corrVsCorr.py.

corrVsCorr.options

Definition at line 70 of file corrVsCorr.py.

corrVsCorr.parser = optparse.OptionParser(usage)

Definition at line 28 of file corrVsCorr.py.

corrVsCorr.prog = sys.argv[0]

Definition at line 15 of file corrVsCorr.py.

corrVsCorr.rx = None
corrVsCorr.ry = reports
corrVsCorr.selection = options.selection

main part

Definition at line 100 of file corrVsCorr.py.

Referenced by DetIdSelector.addSelection(), TtFullHadSignalSelMVATrainer.analyze(), TtSemiLepSignalSelMVATrainer.analyze(), CalibrationTrackSelectorFromDetIdList.CalibrationTrackSelectorFromDetIdList(), ClusterSummaryProducer.ClusterSummaryProducer(), CommonModeAnalyzer.CommonModeAnalyzer(), 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(), FilterSelections.FilterSelections(), edm::EventSelector.getEventSelectionVString(), PlotMillePede.GetHistManager(), PlotMillePede.GetSubDetIds(), HLTMuonIsoFilter.hltFilter(), main(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.onTreeViewSelected(), reco::Muon.passed(), PFRecoTauChargedHadronProducer.PFRecoTauChargedHadronProducer(), PFRecoTauDiscriminationByIsolation.PFRecoTauDiscriminationByIsolation(), plotscripts.plotmedians(), TtFullHadSignalSelMVAComputer.produce(), TtSemiLepSignalSelMVAComputer.produce(), HiGenCleaner< T2 >.produce(), RecoTauCleanerImpl< Prod >.RecoTauCleanerImpl(), RecoTauPiZeroProducer.RecoTauPiZeroProducer(), RecoTauProducer.RecoTauProducer(), MuonMillepedeAlgorithm.run(), CmsShowEDI.runSelection(), edm::StreamSerializer.serializeEvent(), edm::StreamSerializer.serializeRegistry(), edm::RootOutputFile.setBranchAliases(), ShallowTree.ShallowTree(), 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().

corrVsCorr.type

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.