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 77 of file corrVsCorr.py.

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

Definition at line 86 of file corrVsCorr.py.

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

Definition at line 88 of file corrVsCorr.py.

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

definitions of selectors:

Definition at line 75 of file corrVsCorr.py.

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

Variable Documentation

corrVsCorr.args

Definition at line 68 of file corrVsCorr.py.

corrVsCorr.c1

Definition at line 112 of file corrVsCorr.py.

string corrVsCorr.commandline = " "

Definition at line 10 of file corrVsCorr.py.

corrVsCorr.copyargs = sys.argv[:]

Definition at line 5 of file corrVsCorr.py.

corrVsCorr.default

Definition at line 30 of file corrVsCorr.py.

corrVsCorr.dest

Definition at line 31 of file corrVsCorr.py.

corrVsCorr.filename

Definition at line 121 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(), TkAlCaSkimTreeMerger.beginJob(), SiPixelDQMRocLevelAnalyzer.beginJob(), dqm::RamdiskMonitor.beginLuminosityBlock(), RawEventOutputModuleForBU< Consumer >.beginLuminosityBlock(), BTagCalibration.BTagCalibration(), calibXMLwriter.calibXMLwriter(), edm::service::ELdestination.changeFile(), CmsShowHelpPopup.CmsShowHelpPopup(), dqmservices::DQMFileIterator.collect(), 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(), FittedEntriesManager.createFileName(), PhysicsTools::MVAComputer.deriv(), DTDDUFileReader.DTDDUFileReader(), DTNewROS8FileReader.DTNewROS8FileReader(), DTROS25FileReader.DTROS25FileReader(), DTROS8FileReader.DTROS8FileReader(), EcalWeightSetXMLTranslator.EcalWeightSetXMLTranslator(), SiStripQualityStatistics.endJob(), InvRingCalib.endOfLoop(), EcalEleCalibLooper.endOfLoop(), PCLMetadataWriter.endRun(), 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(), RivetHarvesting.getPoint2DValsErrs(), edm::storage::StatisticsSenderService.getX509Subject(), TrackerMap.getysize(), TH1Store.hist(), SiPixelDigitizerAlgorithm.initCal(), l1t::ForestHelper.initializeFromXML(), JME::JetResolution.JetResolution(), JME::JetResolutionScaleFactor.JetResolutionScaleFactor(), HcalPatternSource.loadPatternFile(), gs.localFileURI(), main(), makeGifHists(), FittedEntriesManager.MakeHistos(), DQMStore.meGetter(), MultipleScatteringX0Data.MultipleScatteringX0Data(), ALIFileIn.name(), NuclearInteractionSimulator.NuclearInteractionSimulator(), onlineOfflineFileName(), RawFile.open(), AlignmentIORootBase.openRoot(), parse_int(), DDLParser.parseOneFile(), EcalTrigPrimESProducer.parseTextFile(), Pi0CalibXMLwriter.Pi0CalibXMLwriter(), evf::EvFDaqDirector.postEndRun(), DQMRootOutputModule.postForkReacquireResources(), 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::PixelTKFECConfig.writeASCII(), pos::PixelTrimAllPixels.writeASCII(), pos::PixelFEDConfig.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(), 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])
corrVsCorr.gX = MuonGeometry(args[1])

Definition at line 109 of file corrVsCorr.py.

Referenced by SiPixelTrackResidualSource.analyze().

corrVsCorr.gY = MuonGeometry(args[2])

Definition at line 110 of file corrVsCorr.py.

Referenced by SiPixelTrackResidualSource.analyze().

corrVsCorr.help

Definition at line 28 of file corrVsCorr.py.

corrVsCorr.options

Definition at line 68 of file corrVsCorr.py.

corrVsCorr.parser = optparse.OptionParser(usage)

Definition at line 26 of file corrVsCorr.py.

corrVsCorr.prog = sys.argv[0]

Definition at line 13 of file corrVsCorr.py.

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

main part

Definition at line 98 of file corrVsCorr.py.

Referenced by DetIdSelector.addSelection(), TtFullHadSignalSelMVATrainer.analyze(), TtSemiLepSignalSelMVATrainer.analyze(), 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(), edm::EventSelector.getEventSelectionVString(), PlotMillePede.GetHistManager(), PlotMillePede.GetSubDetIds(), HLTMuonIsoFilter.hltFilter(), main(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.onTreeViewSelected(), PFRecoTauChargedHadronProducer.PFRecoTauChargedHadronProducer(), PFRecoTauDiscriminationByIsolation.PFRecoTauDiscriminationByIsolation(), PlotAlignmentValidation.PlotAlignmentValidation(), plotscripts.plotmedians(), TtFullHadSignalSelMVAComputer.produce(), TtSemiLepSignalSelMVAComputer.produce(), HiGenCleaner< T2 >.produce(), RecoTauCleanerImpl< Prod >.RecoTauCleanerImpl(), RecoTauPiZeroProducer.RecoTauPiZeroProducer(), RecoTauProducer.RecoTauProducer(), MuonMillepedeAlgorithm.run(), CmsShowEDI.runSelection(), Selections.Selections(), 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 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.