CMS 3D CMS Logo

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

Classes

class  mseqdict
 
class  MyUserList
 

Functions

def __delitem__
 
def __init__
 
def __repr__
 
def __setitem__
 
def __setslice__
 
def append
 
def copy
 
def count
 
def filter
 
def map
 
def pop
 
def remove
 
def sort
 
def swap
 

Variables

 dict
 
 list
 

Function Documentation

def python.multivaluedict.__delitem__ (   self,
  key 
)

Definition at line 69 of file multivaluedict.py.

69 
70  def __delitem__(self, key):
71  del self.dict[key]
72  self.list.remove(key)
def python.multivaluedict.__init__ (   self,
  List = [],
  Dict = {} 
)

Definition at line 23 of file multivaluedict.py.

Referenced by Types._Untracked.__getattr__(), EgammaHLTValidationUtils.getModuleNamesOfPath(), EgammaHLTValidationUtils.getModulesOfSequence(), svgfig.load_stream(), circuitry.plotSequences(), SequenceTypes.TestModuleCommand.testInsertInto(), Mixins.testMixins.testLargeList(), Config.TestModuleCommand.testModifier(), Config.TestModuleCommand.testProcessExtend(), and SequenceTypes.TestModuleCommand.testVisitor().

23 
24  def __init__(self,List=[],Dict={}):
25  self.list = []
26  self.dict = {}
27  if not List:
28  pass
29  elif type(List)==type({}):
30  for key,value in List.items():
31  self.__setitem__(key,value)
32  elif List and not Dict: #dict.items()
33  for key,value in List:
34  if isinstance(value,MyUserList):
35  for v in value:
36  self.__setitem__(key,v)
37  else:
38  self.__setitem__(key,value)
39  elif type(List)==type(Dict)==type([]):
40  for key,value in map(None,List,Dict):
41  self.__setitem__(key,value)
42  else:
43  if isinstance(Dict.values()[0],MyUserList):
44  self.dict = Dict
45  self.list = List
46  else:
47  for key in List:
48  value = Dict[key]
49  if type(value)==type([]):
50  for v in value:
51  self.__setitem__(key,v)
52  else:
self.__setitem__(key,value)
def python.multivaluedict.__repr__ (   self)

Definition at line 178 of file multivaluedict.py.

179  def __repr__(self):return 'mseqdict(\n%s,\n%s)'%(self.list,self.dict)
180 
def python.multivaluedict.__setitem__ (   self,
  key,
  value 
)

Definition at line 53 of file multivaluedict.py.

53 
54  def __setitem__(self,key,value):
55  if not self.dict.has_key(key):
56  self.list.append(key)
57  if isinstance(value,MyUserList):
58  self.dict[key] = value
59  else:
60  self.dict[key]=MyUserList(self,[value])
61  else:
62  values = self.dict[key]
63  if isinstance(value,MyUserList):
64  for v in value:
65  if not v in values:
66  values.extend(MyUserList(self,[v]))
67  else:
68  if not value in values:
values.extend(MyUserList(self,[value]))
def python.multivaluedict.__setslice__ (   self,
  start,
  stop,
  newdict 
)

Definition at line 75 of file multivaluedict.py.

References bookConverter.max.

75 
76  def __setslice__(self,start,stop,newdict):
77  start = max(start,0); stop = max(stop,0)
78  delindexes = []
79  for key in newdict.keys():
80  if self.dict.has_key(key):
81  index = self.list.index(key)
82  delindexes.append(index)
83  if index < start:
84  start = start - 1
85  stop = stop - 1
86  elif index >= stop:
87  pass
88  else:
89  stop = stop - 1
90  else:
91  self.dict[key]=UserList(self)
92  delindexes.sort()
93  delindexes.reverse()
94  for index in delindexes:
95  key = self.list[index]
96  #del self.dict[key]
97  del self.list[index]
98  self.list[start:stop] = newdict.list[:]
self.update(newdict.dict)
def python.multivaluedict.append (   self,
  key,
  value 
)

Definition at line 73 of file multivaluedict.py.

Referenced by cfg-viewer.visitor._doModules(), cmsPerfSuiteHarvest._eventContent_DEBUG(), BeautifulSoup.PageElement._invert(), EmbeddingKineReweightNtupleProducer.addBranch_EnPxPyPz(), EmbeddingKineReweightNtupleProducer.addBranch_MEtResProjections(), Vispa.Main.SplitterTab.SplitterToolBar.addWidgetToSection(), ModuleToSequenceAssign.assignModulesToSeqs(), lumiCalcAPI.beamForIds(), lumiCalcAPI.beamForRange(), lumiQueryAPI.beamIntensityForRun(), METCorrectorDBWriter.beginJob(), JetCorrectorDBWriter.beginJob(), confdb.buildOptions(), bookConverter.compute(), pat::TauJetCorrFactors.correctionLabelString(), pat::JetCorrFactors.correctionLabelString(), plotscripts.corrections2D(), HcalLutManager.create_lut_loader(), XMLLUTLoader.createLoader(), XMLHTRPatternLoader.createLoader(), validateAlignments.createMergeScript(), edmStreamStallGrapher.createPDFImage(), plotscripts.curvatureDTsummary(), customiseCheckEventSetup.customise(), plotscripts.DBdiff(), lumiCalcAPI.deliveredLumiForIds(), dqmCopyRecursively(), PrintMaterialBudgetInfo.dumpElementMassFraction(), cmsHarvester.DBSXMLHandler.endElement(), TauDQMHistEffProducer.endRun(), TauDQMHistPlotter.endRun(), cfg-viewer.visitor.enter(), SequenceTypes._CopyAndExcludeSequenceVisitorOld.enter(), SequenceTypes._MutatingSequenceVisitor.enter(), cmsPerfSuiteHarvest.exportIgProfReport(), cmsPerfSuiteHarvest.exportMemcheckReport(), cmsPerfSuiteHarvest.exportTimeSizeJob(), Impl.cosmics.cosmics.expressProcessing(), Impl.cosmicsRun2.cosmicsRun2.expressProcessing(), Impl.pp.pp.expressProcessing(), Impl.ppRun2B0T.ppRun2B0T.expressProcessing(), Impl.ppRun2at50ns.ppRun2at50ns.expressProcessing(), Impl.ppRun2.ppRun2.expressProcessing(), Impl.HeavyIonsRun2.HeavyIonsRun2.expressProcessing(), TableParser.extractPages(), TableParser.extractPagesForPackage(), PatZToMuMuAnalyzer.fill(), MainPageGenerator.fillContentTemplate(), dataDML.fillInRange(), dataDML.fillrunMap(), edmConvertToStreamModule.find_all_module_classes(), EgammaHLTValidationUtils.findEgammaPaths(), gen::Py8JetGun.generatePartonsAndHadronize(), gen::Py8EGun.generatePartonsAndHadronize(), gen::Py8PtGun.generatePartonsAndHadronize(), web.app_utils.get_folders(), o2o.get_iovs(), web.app_utils.get_release_summary_stats(), o2o.get_tags(), HcalQIEManager.getHfQieTable(), BeamSpotWorkflow.getListOfRunsAndLumiFromDBS(), specificLumi.getSpecificLumi(), PrintRecoObjects.getString(), HcalQIEManager.getTableFromDb(), histoStyle.graphProducer(), heppy_hadd.haddChunks(), python.cacheconfigParser.cacheconfigParser.handleFrontierConnect(), cacheconfigParser.cacheconfigParser.handleFrontierConnect(), lumiCalcAPI.hltForIds(), lumiCalcAPI.hltpathsForRange(), generateEDF.loadEvents(), VarParsing.VarParsing.loadFromFile(), EmbeddingKineReweightProducer::lutEntryType.lutEntryType(), MuonRadiationCorrWeightProducer::lutEntryType.lutEntryType(), checkRuns.main(), main(), utils_v2.make_file_pairs(), utils.make_files_pairs(), mps_list_evts.merge_datasets(), MultShiftMETcorrInputProducer.MultShiftMETcorrInputProducer(), EnablePSetHistory.new__place(), EnablePSetHistory.new__placeLooper(), EnablePSetHistory.new__placeService(), EnablePSetHistory.new__placeSource(), EnablePSetHistory.new_addAction(), EnablePSetHistory.new_setLooper_(), EnablePSetHistory.new_setSchedule_(), python.rootplot.rootmath.newadd(), cmsPerfStripChart.operate(), parserPerfsuiteMetadata.parserPerfsuiteMetadata.parseAllOtherTests(), matplotRender.matplotRender.plotPeakPerday_Time(), matplotRender.matplotRender.plotPerdayX_Time(), matplotRender.matplotRender.plotSumX_Fill(), matplotRender.matplotRender.plotSumX_Run(), matplotRender.matplotRender.plotSumX_Time(), MatrixInjector.MatrixInjector.prepare(), bookConverter.priorities(), create_public_peakpu_plots.processdata(), parserTimingReport.processModuleTimeLogData(), Impl.cosmics.cosmics.promptReco(), Impl.pp.pp.promptReco(), Impl.hcalnzsRun2.hcalnzsRun2.promptReco(), Impl.cosmicsRun2.cosmicsRun2.promptReco(), Impl.ppRun2at50ns.ppRun2at50ns.promptReco(), Impl.ppRun2B0T.ppRun2B0T.promptReco(), Impl.ppRun2.ppRun2.promptReco(), Impl.HeavyIonsRun2.HeavyIonsRun2.promptReco(), psClasses.BuildThread.putInServerQueue(), CommonMethods.readBeamSpotFile(), python.readProv.filereader.readfile(), lumiQueryAPI.runsByfillrange(), MatrixUtil.selectedLS(), BeamSpotWorkflow.selectFilesToProcess(), jsoncollector::DataPoint.serialize(), VarParsing.VarParsing.setDefault(), EmbeddingKineReweightNtupleProducer.setValue_EnPxPyPz(), EmbeddingKineReweightNtupleProducer.setValue_MEtResProjections(), specificLumi.specificlumiTofile(), python.CommonUtils.tagInTrees(), DictTypes.TestDictTypes.testFixedKeysDict(), lumiReport.toScreenLSEffective(), lumiReport.toScreenLSTrg(), lumiReport.toScreenLumiByLS(), lumiReport.toScreenTotEffective(), lumiCalcAPI.trgForIds(), queryDataSource.trgFromOldLumi(), dataDML.trgLSById(), Vispa.Gui.VispaWidget.TextField.truncate(), lumiQueryAPI.validation(), Impl.cosmicsRun2.cosmicsRun2.visualizationProcessing(), Impl.cosmics.cosmics.visualizationProcessing(), Impl.pp.pp.visualizationProcessing(), Impl.ppRun2at50ns.ppRun2at50ns.visualizationProcessing(), Impl.ppRun2.ppRun2.visualizationProcessing(), Impl.ppRun2B0T.ppRun2B0T.visualizationProcessing(), Impl.HeavyIonsRun2.HeavyIonsRun2.visualizationProcessing(), and ZmumuEvtSelEffCorrWeightProducer.ZmumuEvtSelEffCorrWeightProducer().

73 
74  def append(self,key,value):
self.__setitem__(key,value)
def python.multivaluedict.copy (   self)

Definition at line 99 of file multivaluedict.py.

References python.multivaluedict.map().

99 
100  def copy(self):
101  values = map(lambda x:x[:],self.values())
return self.__class__(self.list,values)
def python.multivaluedict.count (   self,
  value 
)

Definition at line 102 of file multivaluedict.py.

References python.multivaluedict.map().

103  def count(self,value):
104  vallist = self.dict.values()
return map(lambda x,y=value:x.count(y),vallist).count(1)
def python.multivaluedict.filter (   self,
  function,
  filtervalues = 0 
)

Definition at line 105 of file multivaluedict.py.

106  def filter(self,function,filtervalues=0):
107  if filtervalues == 1: #consider key and all keyvalues at once
108  dict = self.__class__()
109  for key,values in self.items():
110  if function(key,values):
111  dict[key]=values
112  return dict
113  elif filtervalues == 2: #consider key and every keyvalue for itself
114  dict = self.__class__()
115  for key,values in self.items():
116  for value in values:
117  if function(key,value):
118  dict[key]=value
119  return dict
120  else: #consider key only
121  liste=filter(function,self.list)
122  dict = {}
123  for i in liste:
124  dict[i]=self.dict[i]
return self.__class__(liste,dict)
Definition: vlib.h:256
def python.multivaluedict.map (   self,
  function,
  mapvalues = 2 
)

Definition at line 125 of file multivaluedict.py.

Referenced by event.Event.__str__(), analyzer.Analyzer.__str__(), VBF.VBF.__str__(), counter.Counters.__str__(), config.Config.__str__(), argparse.ArgumentParser._check_value(), python.rootplot.argparse.ArgumentParser._check_value(), BeautifulSoup.UnicodeDammit._ebcdic_to_ascii(), SiStripDetCabling.addActiveDetectorsRawIds(), SiStripDetCabling.addAllDetectorsRawIds(), SiStripFEDErrorsDQM.addErrors(), SiStripDetCabling.addFromSpecificConnection(), HcalLutManager.addLutMap(), CSCMap1Read.analyze(), SiStripMonitorHLT.analyze(), SiStripMonitorDigi.analyze(), DTVDriftCalibration.analyze(), SiStripMonitorCluster.analyze(), EcalBarrelSimHitsValidation.analyze(), SimplePi0DiscAnalyzer.analyze(), EcalEndcapSimHitsValidation.analyze(), TestPythiaDecays.analyze(), DTDataIntegrityTask.analyze(), HLTGetDigi.analyze(), HLTHiggsSubAnalysis.analyze(), EcalCosmicsHists.analyze(), DTCompactMapWriter.appendROS(), VertexAssociatorByTracks.associateRecoToSim(), VertexAssociatorByTracks.associateSimToReco(), QTestHandle.attachTests(), DTEfficiencyTask.beginLuminosityBlock(), DTResolutionAnalysisTask.beginLuminosityBlock(), DTChamberEfficiencyTask.beginLuminosityBlock(), DTLocalTriggerTask.beginLuminosityBlock(), AlcaBeamMonitorClient.beginRun(), DTt0DBValidation.beginRun(), DTtTrigDBValidation.bookHistograms(), ApeEstimator.bookSectorHistsForApeCalculation(), RPCGeometryBuilderFromCondDB.build(), ConvertedPhotonProducer.buildCollections(), SiStripDetVOffBuilder.BuildDetVOffObj(), DiLeptonAnalyzer.DiLeptonAnalyzer.buildDiLeptons(), RPCGeometryBuilderFromDDD.buildGeometry(), DiLeptonAnalyzer.DiLeptonAnalyzer.buildLeptons(), DiLeptonAnalyzer.DiLeptonAnalyzer.buildOtherLeptons(), SiStripDetVOffBuilder.buildPSUdetIdMap(), DTCompactMapWriter.buildSteering(), parserTimingReport.calc_MinMaxAvgRMS(), ApeEstimatorSummary.calculateApe(), ApeEstimator.calculateAPE(), TagProbeFitTreeAnalyzer.calculateEfficiency(), python.rootplot.core.cartesian_product(), MuonTrajectoryCleaner.clean(), ora::TransactionCache.cleanUpNamedRefCache(), ora::TransactionCache.clear(), DTCompactMapWriter.cloneROS(), cmsPerfRegress.cmpSimpMemReport(), cmsPerfRegress.cmpTimingReport(), MuonMillepedeAlgorithm.collect(), ValidationMatrix_v2.ReleaseComparison.compare(), DTRecHitQuality.compute(), GlobalRecHitsAnalyzer.compute(), GlobalRecHitsProducer.compute(), svgfig.Ticks.compute_logticks(), PhysicsTools::MVATrainer.connectProcessors(), ora::Database.containers(), Vispa.Views.LineDecayView.DecayLine.containsPoint(), relval_machine.convert_keys_to_string(), python.multivaluedict.copy(), cmsPerfPublish.copytree4(), plotscripts.corrections2D(), python.multivaluedict.count(), ThePEG::ProxyBase.create(), lhef::LHEProxy.create(), plotting.Plot.create(), cmsPerfPublish.createCandlHTML(), PFElecTkProducer.createGsfPFRecTrackRef(), cmsPerfPublish.createWebReports(), ecaldqm.dccId(), MuonGeometrySanityCheck_cfi.detectors(), TowerBlockFormatter.DigiToRaw(), ValidationMatrix.do_comparisons_threaded(), plotscripts.doTestsForMapPlots(), validation.Validation.download(), MuonTrackResidualsTest.dqmEndJob(), DTResolutionTest.dqmEndLuminosityBlock(), DTEfficiencyTest.dqmEndLuminosityBlock(), ora::Database.drop(), HLTConfigData.dump(), RPCLinkSynchroStat.dumpDelays(), EMap.EMap(), TowerBlockFormatter.EndEvent(), RecAnalyzerMinbias.endJob(), DTNoiseComputation.endJob(), cms::Analyzer_minbias.endJob(), L1TRate.endLuminosityBlock(), L1TRate_Offline.endLuminosityBlock(), PCLMetadataWriter.endRun(), AlcaBeamMonitorClient.endRun(), HLTPrescaleRecorder.endRun(), ora::DatabaseUtilitySession.existsContainer(), cmsRelvalreportInput.expandHyphens(), fwlite::RecordWriter.fill(), CSCChamberIndexValues.fillChamberIndex(), CSCChamberMapValues.fillChamberMap(), CSCCrateMapValues.fillCrateMap(), CSCDDUMapValues.fillDDUMap(), MuonAlignment.fillGapsInSurvey(), ApeEstimator.fillHistsForAnalyzerMode(), ApeEstimator.fillHistsForApeCalculation(), SiPixelUtility.fillPaveText(), DTCompactMapWriter.fillReadOutMap(), DynamicTruncation.fillSegmentMaps(), cms::ClusterMTCCFilter.filter(), CSCDigiValidator.filter(), RPCRecHitFilter.filter(), DynamicTruncation.filteringAlgo(), ThePEG::ProxyBase.find(), lhef::LHEProxy.find(), SiPixelInformationExtractor.findNoisyPixels(), BeamMonitor.FitAndFill(), ora::Database.flush(), ValidationMatrix.get_clean_fileanames(), dqm_interfaces.DQMcommunicator.get_datasets_list(), condformats_serialization_generate.get_diagnostics(), HcalEmap.get_map(), EMap.get_map(), ValidationMatrix.get_roofiles_in_dir(), dqm_interfaces.DQMcommunicator.get_runs_list(), HcalLutManager.get_xml_files_from_db(), getCentralityFromFile(), cmsPerfPublish.getDirnameDirs(), HBHEHitMapOrganizer.getHPDs(), pos::PixelPortcardMap.getName(), RPCDBPerformanceHandler.getNewObjects(), popcon::EcalTPGWeightGroupHandler.getNewObjects(), PVFitter.getNPVsperBX(), HBHEHitMapOrganizer.getRBXs(), cmsPerfRegress.getTimingDiff(), ValidationMatrix.guess_params(), FWGeometryTableViewBase::FWViewCombo.HandleButton(), ApeEstimator.hitSelected(), ApeEstimator.hitSelection(), HLTCSCOverlapFilter.hltFilter(), HLTCSCRing2or3Filter.hltFilter(), trigger::HLTPrescaleTable.HLTPrescaleTable(), coral_bridge::AuthenticationCredentialSet.import(), cond::CredentialStore.importForPrincipal(), dataformats.indent(), tablePrinter.indent(), HcalChannelIterator.init(), XrdAdaptor::Source.isDCachePool(), SiStripDetCabling.IsInMap(), CSCDigitizer.layersMissing(), GEMCSCSegmentBuilder.LinkGEMRollsToCSCChamberIndex(), validateAlignments.main(), objects.LeptonAnalyzer.LeptonAnalyzer.makeAllElectrons(), objects.LeptonAnalyzer.LeptonAnalyzer.makeAllMuons(), RPCFakeCalibration.makeCls(), BTagCalibration.makeCSV(), objects.IsoTrackAnalyzer.IsoTrackAnalyzer.makeIsoTrack(), XMLDocument.makeMaps(), RPCFakeCalibration.makeNoise(), objects.PhotonAnalyzer.PhotonAnalyzer.makePhotons(), objects.TauAnalyzer.TauAnalyzer.makeTaus(), CosmicMuonLinksProducer.mapTracks(), TrackClusterSplitter.markClusters(), conddb_migrate.migrate_accounts(), conddb_migrate.migrate_gts(), miniAOD_tools.miniAOD_customizeCommon(), pos::PixelPortcardMap.modules(), MuonProducer.MuonProducer(), cmsPerfRegress.newGraphAndHisto(), edm.operator||(), cmsPerfClient.optionparse(), cmsRelvalreportInput.optionparse(), cmsPerfSuite.PerfSuite.optionParse(), DTSegmentAnalysisTest.performClientDiagnostic(), RPCMonitorDigi.performSourceOperation(), QualityTester.performTests(), plotscripts.phiedges2c(), cond::PayLoadInspector< DataT >.plot(), SiStripInformationExtractor.plotHistosFromLayout(), cmsPerfPublish.populateFromTupleRoot(), pos::PixelPortcardMap.PortCardAndAOHs(), pos::PixelPortcardMap.portcards(), edm::service::PrescaleService.postBeginJob(), DynamicTruncation.preliminaryFit(), MatrixInjector.MatrixInjector.prepare(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), L1GtBoard.print(), EcalTPCondAnalyzer.printEcalTPGFineGrainEBIdMap(), EcalTPCondAnalyzer.printEcalTPGLutIdMap(), PhysicsObjects.printOut(), TrackingActionExecutor.printShiftHistoParameters(), SiStripActionExecutor.printShiftHistoParameters(), CkfDebugger.printSimHits(), SiPixelGainCalibrationAnalysis.printSummary(), EcalTPCondAnalyzer.printTOWEREE(), EcalTPCondAnalyzer.printWEIGHT(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), JetAnalyzer.JetAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), cmsPerfSuiteHarvest.process_timesize_dir(), create_public_peakpu_plots.processdata(), DOTExport.DotExport.processMap(), DTDigiToRawModule.produce(), magneticfield::AutoMagneticFieldESProducer.produce(), pat::helper::AnythingToValueMap< Adaptor, Collection, value_type >.produce(), CandIsolatorFromDeposits.produce(), PFCandIsolatorFromDeposits.produce(), MuonDetRecHitMixer< T1, T2 >.produce(), DTFakeT0ESProducer.produce(), MuonProducer.produce(), sistrip::FEDEmulatorModule.produce(), pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type >.produce(), DIPLumiProducer.produceDetail(), DIPLumiProducer.produceSummary(), HcalEmap.read_map(), EMap.read_map(), MatrixReader.MatrixReader.readMatrix(), SiStripDaqInfo.readSubdetFedFractions(), coral_bridge::AuthenticationCredentialSet.reset(), FastTimerService::StreamData.reset(), parsingRulesHelper.rulesParser(), ConversionTrackPairFinder.run(), CSCOverlapsAlignmentAlgorithm.run(), PVFitter.runBXFitter(), cmsPerfClient.runclient(), DTOccupancyTest.runOccupancyTest(), MatrixRunner.MatrixRunner.runTests(), cmsPerfPublish.scanReportArea(), Selections.Selections(), plotscripts.set_palette(), ora::Database.setAccessPermission(), PFElectronAlgo.SetActive(), PFElectronAlgo.SetCandidates(), EcalSelectiveReadout.setElecMap(), EcalRecHitWorkerSimple.setFlagBits(), PFElectronAlgo.SetIDOutputs(), CondDBESSource.setIntervalFor(), PFElectronAlgo.SetLinks(), HcalBaseSignalGenerator.setParameterMap(), SiStripTrackerMapCreator.setTkMapFromAlarm(), EcalSelectiveReadoutSuppressor.setTriggerMap(), EcalSelectiveReadout.setTriggerMap(), edm::detail::TriggerResultsBasedEventSelector.setup(), RecoTauValidation_cfi.SetYmodulesToLog(), DiLeptonAnalyzer.DiLeptonAnalyzer.shiftEnergyScale(), MatrixReader.MatrixReader.showRaw(), MatrixReader.MatrixReader.showWorkFlows(), specificLumi.specificlumiTofile(), AlignmentMonitorBase.startingNewLoop(), runTheMatrix.stepOrIndex(), cond::PayLoadInspector< DataT >.summary(), ecaldqm.tccId(), HcalEmap_test.test_read_map(), EMap_test.test_read_map(), CommonUtil.transposed(), ZdcTestAnalysis.update(), FWLiteESRecordWriterAnalyzer.update(), average.Averages.write(), counter.Counters.write(), cmsRelvalreportInput.writeCommands(), HcalLutManager.writeLutXmlFiles(), EcalDccWeightBuilder.writeWeightToAsciiFile(), EcalDccWeightBuilder.writeWeightToDB(), EcalDccWeightBuilder.writeWeightToRootFile(), DefaultFFTJetObjectFactory< AbsFFTSpecificScaleCalculator >.~DefaultFFTJetObjectFactory(), DefaultFFTJetRcdMapper< FFTPFJetCorrectorSequence >.~DefaultFFTJetRcdMapper(), HLTExoticaSubAnalysis.~HLTExoticaSubAnalysis(), HLTHiggsSubAnalysis.~HLTHiggsSubAnalysis(), lhef::LHEProxy.~LHEProxy(), and ThePEG::ProxyBase.~ProxyBase().

126  def map(self,function,mapvalues=2):
127  if mapvalues == 1: #consider key and all keyvalues at once
128  dict = self.__class__()
129  for key,values in self.items():
130  k,v = function(key,values)
131  dict[k]=v
132  return dict
133  else: #if mapvalues!=1: #consider key and every keyvalue for itself
134  dict = self.__class__()
135  for key,values in self.items():
136  for value in values:
137  k,v = function(key,value)
138  dict[k]=v
return dict
Definition: vlib.h:256
def python.multivaluedict.pop (   self,
  key = '...None',
  value = '...None' 
)

Definition at line 139 of file multivaluedict.py.

Referenced by electronDataDiscovery.common_search(), python.rootplot.utilities.Hist.delete_bin(), EmDQMPostProcessor.dqmEndJob(), and combineBTagCalibrationData.main().

140  def pop(self,key='...None',value='...None'):
141  if value=='...None':
142  if key=='...None':
143  pos = -1
144  key = self.list[pos]
145  else:
146  pos = self.list.index(key)
147  tmp = self.dict[key]
148  del self.dict[key]
149  return {self.list.pop(pos):tmp}
150  else:
151  val = self.dict[key]
152  index = val.index(value)
153  tmp = val[index]
154  del val[index]
return {key:tmp}
def python.multivaluedict.remove (   self,
  key,
  value = '...None' 
)

Definition at line 155 of file multivaluedict.py.

References cmsHarvester.index.

Referenced by HiCoreTools._removeMCMatchingForPATObject(), BTagDifferentialPlot.bookHisto(), EtaPtBin.buildDescriptionString(), ValidationMatrix_v2.ReleaseComparison.compare(), cond::persistency.compareTags(), customizeTrackingMonitorSeedNumber.customise_trackMon_IterativeTracking_PHASE1(), customizeTrackingMonitorSeedNumber.customise_trackMon_IterativeTracking_PHASE1PU140(), customizeTrackingMonitorSeedNumber.customise_trackMon_IterativeTracking_PHASE1PU70(), AlignmentParameterBuilder.decodeParamSel(), FedRawDataInputSource.deleteFile(), FedRawDataInputSource.grabNextJsonFile(), evf::EvFDaqDirector.preGlobalEndLumi(), ora::Container.realClassName(), HiHelperTools.removeIfInSequence(), helpers.removeIfInSequence(), own_ptr< std::ifstream >.reset(), popcon2dropbox.runO2O(), Vispa.Views.LineDecayView.LineDecayContainer.select(), gen::Pythia6Service.setSLHAFromHeader(), HiCoreTools.RemoveMCMatching.toolCode(), HiCoreTools.RemoveSpecificPATObjects.toolCode(), HiCoreTools.RemoveCleaning.toolCode(), popcon2dropbox.upload_to_dropbox(), cond::persistency.validateTag(), Pythia8Hadronizer.~Pythia8Hadronizer(), and XMLDocument.~XMLDocument().

156  def remove(self,key,value='...None'):
157  if value=='...None':
158  del self[key]
159  else:
160  index = self[key].index(value)
del self[key][index]
def python.multivaluedict.sort (   self,
  func1 = None,
  func2 = None 
)

Definition at line 161 of file multivaluedict.py.

References apply().

Referenced by fastjet::BackgroundEstimator._compute(), edm::DetSetVector< T >._sort(), SiStripQuality.add(), CSCStripElectronicsSim.addCrosstalk(), EgHLTOfflineSource.addEleTrigPath(), SiStripDetCabling.addFromSpecificConnection(), BetaCalculatorRPC.addInfoToCandidate(), BetaCalculatorECAL.addInfoToCandidate(), BeamHaloNavigationSchool.addInward(), EgHLTOfflineSource.addPhoTrigPath(), BetaCalculatorRPC.algo(), AlignableExtras.alignmentErrors(), AlignableCSCEndcap.alignmentErrors(), AlignableDTBarrel.alignmentErrors(), AlignableMuon.alignmentErrors(), AlignableTracker.alignmentErrors(), AlignableExtras.alignments(), AlignableCSCEndcap.alignments(), AlignableDTBarrel.alignments(), AlignableMuon.alignments(), AlignableTracker.alignments(), TTUTrackingAlg.alignTracks(), ora::AllKnowTypeHandlers.AllKnowTypeHandlers(), SiStripLatency.allLatencies(), SiStripLatency.allModes(), SiStripLatency.allUniqueLatencyAndModes(), ApvLatencyAlgorithm.analyse(), FedTimingAlgorithm.analyse(), ApvTimingAlgorithm.analyse(), FastFedCablingAlgorithm.analyse(), DaqScopeModeAlgorithm.analyse(), CMSDAS11DijetAnalyzer.analyze(), HLTTauDQML1Plotter.analyze(), TrackTypeMonitor.analyze(), TtSemiLepSignalSelMVATrainer.analyze(), CSCTFanalyzer.analyze(), PatBJetTrackAnalyzer.analyze(), PFCandidateChecker.analyze(), WValidation.analyze(), DTT0CalibrationNew.analyze(), DrellYanValidation.analyze(), LHEAnalyzer.analyze(), SUSY_HLT_Muon_Hadronic.analyze(), DQMSourcePi0.analyze(), TestPythiaDecays.analyze(), HeavyFlavorValidation.analyze(), L1RCTTestAnalyzer.analyze(), QcdUeDQM.analyze(), SusyDQM< Mu, Ele, Jet, Met >.analyze(), TestTrackHits.analyze(), TestOutliers.analyze(), SiStripFEDMonitorPlugin.analyze(), HLTAlCa.analyze(), PhotonValidator.analyze(), HLTEgamma.analyze(), HLTJets.analyze(), HLTMuon.analyze(), HLTMuonPlotter.analyze(), HLTHiggsSubAnalysis.analyze(), EmDQM.analyze(), L1TCompare.analyze(), HLTInfo.analyze(), EmDQMReco.analyze(), JetAnalyzer.analyze(), ZToMuMuGammaAnalyzer.analyze(), PhotonAnalyzer.analyze(), EventShape.aplanarity(), FFTJetCorrectionProducer.applyCorrections(), MuonAssociatorByHitsHelper.associateRecoToSimIndices(), MuonAssociatorByHitsHelper.associateSimToRecoIndices(), edm::ThinnedAssociationsHelper.associationToBranches(), AverageRunBadChannels(), AverageRunMultiplicity(), PickEvents.beginJob(), BSvsPVPlots(), NuclearVertexBuilder.build(), FWTrackingParticleProxyBuilderFullFramework.build(), PFEGammaAlgo.buildAndRefineEGObjects(), SiStripFedCablingBuilderFromDb.buildFecCablingFromDevices(), SiStripFedCabling.buildFedCabling(), reco::FlavorHistoryEvent.cache(), Averages.calc(), HcalHaloAlgo.Calculate(), JetPartonMatching.calculate(), EcalHaloAlgo.Calculate(), TT6CommonModeCalculator.calculateCMSlope(), MedianCommonModeCalculator.calculateCommonMode(), TT6ApvMask.calculateMask(), HBHEPulseShapeFlagSetter.CalculateRMS8Max(), HcalNoiseMonitor.CalculateRMS8Max(), EcalHitMaker.cellLine(), HcalLogicalMap.checkElectronicsHashIds(), EmDQM.checkGeneratedParticlesRequirement(), HcalLogicalMap.checkHashIds(), AlignmentTwoBodyDecayTrackSelector.checkMass(), AlignmentTwoBodyDecayTrackSelector.checkMETMass(), l1t::Stage2Layer2JetAlgorithmFirmwareImp1.chunkyDonutPUEstimate(), reco::helper::JetIDHelper.classifyJetComponents(), reco::helper::JetIDHelper.classifyJetTowers(), TrajectorySegmentBuilder.cleanCandidates(), CaloSD.cleanHitCollection(), TrackCleaner.cleanTracks(), HFClusterAlgo.clusterize(), CombinationGenerator< T >.combinations(), Combined2DHisto(), CombinedHisto(), CompositeTECWedge.CompositeTECWedge(), PVFitter.compressStore(), MuonResidualsFitter.computeHistogramRangeAndBinning(), PileupJetIdAlgo.computeIdVariables(), PFTauElementsOperators.computeInsideOutContents(), reco::PFMETProducerMVA.computeJetInfo(), PuppiAlgo.computeMedRMS(), ComputeOOTFractionvsFill(), ComputeOOTFractionvsRun(), APVShot.computeShot(), copy_and_sort_vector(), MuonResidualsFitter.correctBField(), reco::modules::CosmicTrackSplitter.CosmicTrackSplitter(), L1TGT.countPfsIndicesPerLs(), sistrip::DetSetVectorFiller< T, dsvIsSparse >.createDetSetVector(), edm::service::RandomNumberGeneratorService.createEnginesInVector(), SiStripMonitorMuonHLT.createMEs(), TrackerGeometryCompare.createROOTGeometry(), MultiVertexFitter.createSeed(), SmirnovDeDxDiscriminator.dedx(), ASmirnovDeDxDiscriminator.dedx(), BTagLikeDeDxDiscriminator.dedx(), ClusterShape.determineShape(), ESDataFormatterV4.DigiToRaw(), PFRecoTauDiscriminationByFlight.discriminate(), TemplatedJetBProbabilityComputer< Container, Base >.discriminator(), cscdqm::StripClusterFinder.DoAction(), EgammaRecHitIsolation.doFlagChecks(), OutsideInMuonSeeder.doLayer(), l1t::Stage2Layer2JetAlgorithmFirmwareImp1.donutPUEstimate(), EgammaRecHitIsolation.doSeverityChecks(), CSCValidation.doTimeMonitoring(), HLTTauDQMOfflineSource.dqmBeginRun(), TriggerRatesMonitor.dqmBeginRun(), CastorDbASCIIIO.dumpCastorSingleFloatObject(), CastorDbASCIIIO.dumpCastorSingleIntObject(), dumpHcalMatrixObject(), dumpHcalObject(), dumpHcalSingleFloatObject(), dumpHcalSingleIntObject(), pat::helper::EfficiencyLoader.EfficiencyLoader(), EmDQM.endRun(), EcalClusterToolsT< noZS >.energyBasketFractionEta(), EcalClusterToolsT< noZS >.energyBasketFractionPhi(), ExpressionVariable< Object, label >.eval(), EventShape.EventShape(), HLTConfigData.extract(), pftools::SpaceManager.extractEvolution(), MuonDetLayerMeasurements.fastMeasurements(), SiPixelFedCablingTree.fedList(), SimG4HcalValidation.fetchHits(), FFTJetDijetFilter.FFTJetDijetFilter(), FFTJetProducer.FFTJetProducer(), FFTJetTreeDump.FFTJetTreeDump(), VpspScanTask.fill(), PedestalsTask.fill(), PedsFullNoiseTask.fill(), MuonIdProducer.fillArbitrationInfo(), HcalTB06Analysis.fillBuffer(), HcalTB04Analysis.fillBuffer(), HcalDigitizerImpl.fillCells(), HcalDDDGeometry.fillDetIds(), HcalGeometry.fillDetIds(), CSCSegmentValidation.fillEfficiencyPlots(), HcalTestHistoClass.fillHits(), SiStripQualityDQM.fillMEsForLayer(), FWHLTValidator.fillOptions(), FWGeoMaterialValidator.fillOptions(), pat::helper::BasicOverlapTest.fillOverlapsForItem(), TkAlCaRecoMonitor.fillRawIdMap(), QcdLowPtDQM.fillTracklets(), ProbeTreeProducer.filter(), UniqueObjectSelector< T >.filter(), FFTJetDijetFilter.filter(), Phase2TrackerCabling.filterByCoolingLine(), Phase2TrackerCabling.filterByPowerGroup(), reco::tau.filterPFCandidates(), BinomialNoncentralInterval< FeldmanCousinsSorter >.find_rho_set(), DivisiveClusterizer1D< T >.findCandidates(), pixeltemp::DivisiveClusterizer1D< T >.findCandidates(), MuonCkfTrajectoryBuilder.findCompatibleMeasurements(), CkfTrajectoryBuilder.findCompatibleMeasurements(), SiStripElectronAlgo.findElectron(), GenHFHadronMatcher.findHadronJets(), sistrip::SpyUtilities.findMajorityValue(), NuclearInteractionFinder.findMeasurementsFromTSOS(), reco.findMethod(), FFTJetPFPileupCleaner.findSomeVertexWFakes(), DivisiveVertexFinder.findVertexesAlt(), sistrip::MeanAndStdDev.fit(), FixedGridEnergyDensity.fixedGridRho(), MuonSlaveSD.format(), FWExpressionValidator.FWExpressionValidator(), FWPartialConfigGUI.FWPartialConfigGUI(), RPCTBGhostBuster.gBEta(), RPCTBGhostBuster.gBPhi(), VertexClassifier.genPrimaryVertices(), TrackClassifier.genPrimaryVertices(), SiStripDetCabling.getActiveDetectorsContiguousIds(), egHLT::trigTools.getActiveFilters(), SiStripDetCabling.getAllDetectorsContiguousIds(), SiPixelQuality.getBadRocs(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >.getBestCombination(), SimG4HcalHitJetFinder.getClusters(), HcalQie.getCode(), RPCSeedrecHitFinder.getdeltaPhifromrecHits(), MeasurementTrackerEventProducer.getInactiveStrips(), cond::persistency.getInsertionLogs(), ESElectronicsMapper.GetListofFEDs(), L1TMenuHelper.getLUSOTrigger(), SiStripFEDMonitorPlugin.getMajority(), getSelMuons(), CaloGeometryHelper.getWindow(), TTUTrackingAlg.ghostBuster(), GroupedCkfTrajectoryBuilder.groupedLimitedCandidates(), LayerMeasurements.groupedMeasurements(), MuonDetLayerMeasurements.groupedMeasurements(), MuonSeedCleaner.GroupSeeds(), FWConfigurationManager.guessAndReadFromFile(), PlotMakerL1.handleObjects(), PlotMakerReco.handleObjects(), HBHELinearMap.HBHELinearMap(), HBHEPulseShapeFlagSetter.HBHEPulseShapeFlagSetter(), HBHETimeProfileStatusBitSetter.hbheSetTimeFlagsFromDigi(), HcalLaserEventFilter2012.HcalLaserEventFilter2012(), reco::HcalNoiseInfoProducer.HcalNoiseInfoProducer(), HLTEgammaDoubleEtPhiFilter.hltFilter(), HLTEgammaDoubleEtFilter.hltFilter(), HLTJetSortedVBFFilter< T >.hltFilter(), HLTRPCTrigNoSyncFilter.hltFilter(), HLTHcalMETNoiseCleaner.HLTHcalMETNoiseCleaner(), HLTHcalMETNoiseFilter.HLTHcalMETNoiseFilter(), HLTHcalTowerNoiseCleaner.HLTHcalTowerNoiseCleaner(), HybridClusterAlgo.HybridClusterAlgo(), PFHFRecHitCreator.importRecHits(), HSCPHLTFilter.IncreasedTreshold(), HSCPValidator.IncreasedTreshold(), MSLayersKeeperX0AtEta.init(), MSLayersAtAngle.init(), SiStripHashedDetId.init(), lhef::LHERunInfo.init(), DTClusterer.initHits(), DDG4ProductionCuts.initialize(), MuonAlignmentFromReference.initialize(), PixelUnpackingRegions.initialize(), npstat::GridAxis.initialize(), Phase2TrackerCabling.initializeCabling(), MuonHOAcceptance.initIds(), lhef::LHERunInfo.initLumi(), DreamSD.initMap(), VirtualJetProducer.inputTowers(), SiPixelQuality.IsModuleBad(), SiPixelQuality.IsModuleUsable(), SiPixelQuality.IsRocBad(), SimG4HcalValidation.jetAnalysis(), JetCorrectorParameters.JetCorrectorParameters(), MvaMEtUtilities.jetP4(), FWCompactVerticalLayout.Layout(), PixelEndcapLinkMaker.links(), PixelBarrelLinkMaker.links(), PFECALSuperClusterAlgo.loadAndSortPFClusters(), OptoScanTask.locateTicks(), SMS.location(), edm.LoggedErrorsOnlySummary(), edm.LoggedErrorsSummary(), ls_cert_type(), main(), Multi5x5ClusterAlgo.mainSearch(), HFClusterAlgo.makeCluster(), IslandClusterAlgo.makeClusters(), CosmicClusterAlgo.makeClusters(), Multi5x5ClusterAlgo.makeClusters(), HybridClusterAlgo.makeClusters(), EgammaHLTNxNClusterProducer.makeNxNClusters(), PiZeroAnalyzer.makePizero(), TSGForOI.makeSeedsFromHits(), reco.makeSpecific(), HybridClusterAlgo.makeSuperClusters(), lhef::JetMatchingMLM.match(), SiStripRecHitConverterAlgorithm.match(), btag::Matching< Delta >.match(), lhef::Matching< Delta >.match(), HLTEgammaDoubleLegCombFilter.matchCands(), JetPartonMatching.matchingMinSumDist(), JetPartonMatching.matchingPtOrderedMinDist(), JetPartonMatching.matchingTotalMinDist(), MatcherByPullsAlgorithm.matchMany(), fftjetcms.matchOneToOne(), MuonDetLayerMeasurements.measurements(), MuonResidualsTwoBin.median(), merge(), TrackMerger.merge(), QuadrupletSeedMerger.mergeTriplets(), METCorrectorParameters.METCorrectorParameters(), Multi5x5ClusterAlgo.Multi5x5ClusterAlgo(), multibsvspvplots(), SequentialCombinationGenerator< T >.next_combi(), npstat::NUHistoAxis.NUHistoAxis(), HLTTauDQMPath.offlineMatching(), operator!=(), CATopJetHelper.operator()(), reco::tau::RecoTauPhotonFilter.operator()(), lhef::JetInput.operator()(), MtvClusterizer1D< T >.operator()(), rpcrawtodigi::DebugDigisPrintout.operator()(), FsmwClusterizer1D< T >.operator()(), OutermostClusterizer1D< T >.operator()(), CAWZJetHelperUser.operator()(), TtHadLRSignalSelObservables.operator()(), reco::tau::RecoTauBuilderCombinatoricPlugin.operator()(), CATopJetHelperUser.operator()(), TtSemiLRSignalSelObservables.operator()(), reco::tau::RecoTauBuilderConePlugin.operator()(), reco::tau::PFRecoTauChargedHadronFromTrackPlugin.operator()(), edm::dslv::LazyAdapter< T >.operator()(), operator==(), fireworks::OptionNode.options(), L1TLSBlock.orderTestDoubleList(), L1TLSBlock.orderTestIntList(), perftools::EdmEventSize.parseFile(), HLTHiggsSubAnalysis.passJetCuts(), reco::tau.pfCandidates(), reco::tau.pfChargedCands(), Phase2OTBarrelRod.Phase2OTBarrelRod(), CmsTrackerPhase1DiskBuilder.PhiPosNegSplit_innerOuter(), SiPixelTemplateReco.PixelTempReco2D(), SiPixelTemplateSplit.PixelTempSplit(), EventShape.planarity(), GctErrorAnalyzer.plotIntJets(), edm::SortedCollection< T, SORT >.post_insert(), edm::DetSetVector< T >.post_insert(), edm::AssociationMap< edm::OneToMany< reco::BasicJetCollection, reco::TrackCollection > >.post_insert(), PFMuonAlgo.postClean(), precomputed_value_sort(), MultiTrajectoryStateAssembler.prepareCombinedState(), fireworks.prepareTrack(), PrimaryVertexPlots(), SiStripConfigDb.printAnalysisDescriptions(), SiStripConfigDb.printDeviceDescriptions(), SiStripConfigDb.printFedConnections(), SiStripConfigDb.printFedDescriptions(), CkfDebugger.printSimHits(), SiStripTrackerMapCreator.printTopModules(), MagGeoBuilderFromDDD::volumeHandle.printUniqueNames(), L1GctElectronFinalSort.process(), L1GctElectronSorter.process(), helper::ClusterStorer.processClusters(), DDLSpecPar.processElement(), PixelVertexProducerMedian.produce(), SeedGeneratorFromProtoTracksEDProducer.produce(), PseudoTopProducer.produce(), HIPixelMedianVtxProducer.produce(), L2TauJetsMerger.produce(), CandOneToManyDeltaRMatcher.produce(), GenParticlePruner.produce(), FWRecoGeometryESProducer.produce(), TtFullLepKinSolutionProducer.produce(), SimHitTPAssociationProducer.produce(), PFRecHitProducer.produce(), Phase2Tracker::Phase2TrackerDigiProducer.produce(), OtherObjectVariableComputer< T >.produce(), reco::CorrectedJetProducer< T >.produce(), ClusterTPAssociationProducer.produce(), pat::PATGenCandsFromSimTracksProducer.produce(), L1ExtraMEtMixerPlugin.produce(), L3TkMuonProducer.produce(), cms::JetCorrectionProducer< T >.produce(), InputGenJetsParticleSelector.produce(), L1ExtraMixerPluginT< T >.produce(), MuonPFCandidateCleaner.produce(), ReducedRecHitCollectionProducer.produce(), pat::PATJetUpdater.produce(), WMuNuProducer.produce(), Onia2MuMuPAT.produce(), BtoCharmDecayVertexMergerT< VTX >.produce(), pat::GenPlusSimParticleProducer.produce(), HLTJetCollectionsForBoostedLeptonPlusJets< jetType >.produce(), HLTJetCollForElePlusJets< T >.produce(), EgammaIsoESDetIdCollectionProducer.produce(), pat::PATGenericParticleProducer.produce(), pat::PATMuonProducer.produce(), pat::PATPFParticleProducer.produce(), EgammaIsoHcalDetIdCollectionProducer.produce(), pat::PATTauProducer.produce(), InterestingDetIdCollectionProducer.produce(), InterestingDetIdFromSuperClusterProducer.produce(), pat::PATJetProducer.produce(), RecoTauProducer.produce(), DeDxEstimatorProducer.produce(), l1t::L1TDigiToRaw.produce(), PrimaryVertexProducer.produce(), pat::PATPhotonProducer.produce(), pat::PATElectronProducer.produce(), FFTJetPileupProcessor.produce(), CorrectedECALPFClusterProducer.produce(), reco::PhysObjectMatcher< C1, C2, S, D, Q >.produce(), RPCTechnicalTrigger.produce(), FastPrimaryVertexProducer.produce(), HLTJetsCleanedFromLeadingLeptons< JetType >.produce(), SelectedElectronFEDListProducer< TEle, TCand >.produce(), FFTJetProducer.produce(), MuonTrackCleanerBase.produceTracks(), SiStripElectronAlgo.projectPhiBand(), PixelDigiCollection.put(), DigiCollectionFP420.put(), RecoCollectionFP420.put(), TrackCollectionFP420.put(), ClusterCollectionFP420.put(), TrackCollectionFP420.putclear(), RecoCollectionFP420.putclear(), ClusterCollectionFP420.putclear(), DigiCollectionFP420.putclear(), BeamHaloNavigationSchool.reachableFromHorizontal(), l1t::LUT.read(), RecHitsSortedInPhi.RecHitsSortedInPhi(), VoronoiAlgorithm.recombine_link(), pftools::Calibratable.recompute(), TrajectorySegmentBuilder.redoMeasurements(), SiStripPsuDetIdMap.RemoveDuplicateDetIDs(), OniaPhotonConversionProducer.removeDuplicates(), SiStripDetVOffBuilder.removeDuplicates(), L1MuonSeedsMerger.resolve(), SiStripPsuDetIdMap.retrieveDcuDeviceAddresses(), CSCTFMuonSorter.run(), RPCTCGhostBusterSorter.run(), CMSInsideOutAlgorithm.run(), CSCCathodeLCTProcessor.run(), CATopJetAlgorithm.run(), CSCStripElectronicsSim.runComparator(), RPCFinalSorter.runFinalSorter(), RPCHalfSorter.runHalf(), PSFitter::HybridMinimizer.Scan(), PATPrimaryVertexSelector.select(), StringCutEventSelector< Object, any >.select(), SortCollectionSelector< InputCollection, Comparator, OutputCollection, StoreContainer, RefAdder >.select(), StringCutsEventSelector< Object, existenceMatter >.select(), SiStripBaseCondObjDQM.selectModules(), SequentialCombinationGenerator< T >.SequentialCombinationGenerator(), HDQMInspector.setBlackList(), lhef::JetInput.setExcludedFromResonances(), lhef::JetInput.setExcludedResonances(), InputGenJetsParticleSelector.setExcludeFromResonancePids(), FWTriggerTableView.setFrom(), FWTableView.setFrom(), lhef::JetInput.setIgnoredParticles(), InputGenJetsParticleSelector.setIgnoredParticles(), SimpleForwardNavigableLayer.setInwardLinks(), SimpleBarrelNavigableLayer.setInwardLinks(), heppy::IsolationComputer.setPackedCandidates(), FWExpressionValidator.setType(), HDQMInspector.setWhiteList(), FWECALDetailViewBuilder.showSuperClusters(), SimpleBarrelNavigableLayer.SimpleBarrelNavigableLayer(), SimpleForwardNavigableLayer.SimpleForwardNavigableLayer(), SiStripDetWithSomething< T >.SiStripDetWithSomething(), cond::SmallWORMDict.SmallWORMDict(), CastorCalibrationsSet.sort(), StringMap.sort(), CastorCalibrationWidthsSet.sort(), HcalCalibrationWidthsSet.sort(), HcalCalibrationsSet.sort(), egHLT::ComCodes.sort(), CastorRawGains.sort(), HcalRawGains.sort(), HcalDQMChannelQuality.sort(), CSCMuonPortCard.sort(), edm::ThinnedAssociationsHelper.sort(), egHLT::TrigCodes.sort(), edm::DataFrameContainer.sort(), edm::OneToManyWithQualityGeneric< std::vector< reco::Track >, std::vector< reco::Vertex >, int, unsigned int >.sort(), edm::OwnArray< T, MAX_SIZE, P >.sort(), popcon::PopConSourceHandler< CastorPedestals >.sort(), edm::SortedCollection< T, SORT >.sort(), edm::OwnVector< T, P >.sort(), edm.sort_all(), pat::PATPackedCandidateProducer.sort_indexes(), perftools::EdmEventSize.sortAlpha(), reco::tau::RecoTauConstructor.sortAndCopyIntoTau(), HcalDcsMap.sortByDcsId(), CastorElectronicsMap.sortById(), HcalElectronicsMap.sortById(), HcalDcsMap.sortById(), CastorElectronicsMap.sortByTriggerId(), HcalElectronicsMap.sortByTriggerId(), DTOccupancyClusterBuilder.sortClusters(), DEcompare< T >.SortCollections(), PrimaryVertexSorter< ParticlesCollection >.sortedList(), PartitionGenerator.sortedPartitions(), CaloDigiCollectionSorter.sortedVector(), edm::IndexIntoFile.sortEventEntries(), edm::IndexIntoFile.sortEvents(), RecHitSorter.sortHits(), L1GlobalCaloTrigger.sortInputData(), CSCMotherboardME11GEM.sortLCTsByGEMDPhi(), CSCMotherboardME21GEM.sortLCTsByGEMDPhi(), CSCMotherboardME11GEM.sortLCTsByQuality(), CSCMotherboardME3141RPC.sortLCTsByQuality(), CSCMotherboardME21GEM.sortLCTsByQuality(), HcalDcsValues.sortList(), cond::IOVSequence.sortMe(), CmsTrackerPanelBuilder.sortNS(), CmsTrackerPetalBuilder.sortNS(), CmsTrackerLadderBuilder.sortNS(), CmsTrackerPixelPhase2EndcapBuilder.sortNS(), CmsTrackerPixelPhase1EndcapBuilder.sortNS(), CmsTrackerSubStrctBuilder.sortNS(), TauTagTools.sortRefVectorByPt(), DDStreamer.specs_read(), EventShape.sphericity(), XrdAdaptor::RequestManager.splitClientRequest(), SimpleNavigationSchool.splitForwardLayers(), XHistogram.splitSegment(), StatisticsPlots(), DTDigitizer.storeDigis(), StringBranchHelper< Object, Collection >.StringBranchHelper(), Phase2TrackerCabling.summaryDescription(), SummaryHisto(), SuperClusterHelper.SuperClusterHelper(), Alignable.surfaceDeformations(), TrackerGeometryCompare.surveyToTracker(), edm::SystemTimeKeeper.SystemTimeKeeper(), ParticleReplacerZtautau.testEvent(), TestPythiaDecays.TestPythiaDecays(), AlignmentMuonSelector.theBestMassPairCombinationMuons(), AlignmentMuonSelector.theNHighestPtMuons(), CalibrationTrackSelector.theNHighestPtTracks(), AlignmentTrackSelector.theNHighestPtTracks(), TIBLayer.TIBLayer(), TOBRod.TOBRod(), EgammaHadTower.towersOf(), TrackerStablePhiSort(), reco::modules::TrackerTrackHitFilter.TrackerTrackHitFilter(), QcdLowPtDQM.trackletVertexUnbinned(), SETFilter.transform(), egHLT::trigTools.translateFiltersToPathNames(), HLTScalersClient::CountLSFifo_t.trim_(), SimpleCosmicBONSeeder.triplets(), TtFullHadSignalSel.TtFullHadSignalSel(), ValidHitPairFilter.update(), sistrip::RawToDigiUnpacker.update(), MeasurementTrackerEventProducer.updatePixels(), DynamicTruncation.updateWithCSChits(), DynamicTruncation.updateWithDThits(), PFBenchmarkAlgo.vector_sort(), PrimaryVertexProducerAlgorithm.vertices(), MuonsGrabber.writeDataForRelativeBX(), SubsystemNeutronWriter.writeHits(), LaserSorter.writeIndexTable(), FFTJetProducer.writeJets(), writeProfileData(), and ZdcHitReconstructor.ZdcHitReconstructor().

162  def sort(self,func1=None,func2=None):
163  if not func1:
164  self.list.sort()
165  else:
166  apply(self.list.sort,[func1])
167  if func2:
168  for value in self.values():
169  apply(value.sort,[func2])
Vec apply(Vec v, F f)
Definition: ExtVec.h:95
def python.multivaluedict.swap (   self)

Definition at line 170 of file multivaluedict.py.

171  def swap(self):
172  tmp = self.__class__()
173  for key,values in self.items():
174  for value in values:
175  tmp[value]=key
176  self.list,self.dict = tmp.list,tmp.dict
177  del tmp

Variable Documentation

python.multivaluedict.dict

Definition at line 25 of file multivaluedict.py.

Referenced by Mixins._TypedParameterizable.__findDefaultsFor(), conddblib.EnumMetaclass.__init__(), svgfig.CurveAxis.__init__(), argparse.ArgumentError.__str__(), python.rootplot.argparse.ArgumentError.__str__(), checkBTagCalibrationConsistency.BtagCalibConsistencyChecker._check_sys_side(), argparse.HelpFormatter._expand_help(), python.rootplot.argparse.HelpFormatter._expand_help(), python.rootplot.argparse.HelpFormatter._format_text(), argparse.HelpFormatter._format_usage(), python.rootplot.argparse.HelpFormatter._format_usage(), argparse._ActionsContainer._get_optional_kwargs(), python.rootplot.argparse._ActionsContainer._get_optional_kwargs(), argparse._ActionsContainer._get_positional_kwargs(), python.rootplot.argparse._ActionsContainer._get_positional_kwargs(), Config.Process._sequencesInDependencyOrder(), svgfig.canvas(), relval_machine.convert_keys_to_string(), alignmentValidation.createCanvasToIDList(), Vispa.Gui.VispaWidget.VispaWidget.defineDistances(), Config.Process.extend(), helpers.extendWithPostfix(), edmConvertToStreamModule.find_all_module_classes(), helper.findEDAnalyzers(), helper.findEDFilters(), helper.findEDProducers(), helper.findModules(), cms.generate(), generateFlavCfromFlavB.generate_flav_c(), web.app_utils.get_directory_summary_stats(), web.app_utils.get_folders(), web.app_utils.get_release_summary_stats(), specificLumi.getFillFromDB(), specificLumi.getSpecificLumi(), mpl_axes_hist_fix.hist(), DigiAndMixAliasInfo_cff.infoToAlias(), combineBTagCalibrationData.main(), utils_v2.make_file_pairs(), utils.make_files_pairs(), Types.makeCppPSet(), deltar.matchObjectCollection(), deltar.matchObjectCollection2(), deltar.matchObjectCollection3(), Mixins._Parameterizable.parameters_(), python.rootplot.core.parse_arguments(), svgfig.pathtoPath(), matplotRender.matplotRender.plotInst_RunLS(), matplotRender.matplotRender.plotPeakPerday_Time(), matplotRender.matplotRender.plotSumX_Fill(), matplotRender.matplotRender.plotSumX_Run(), matplotRender.matplotRender.plotSumX_Time(), cmsPerfSuiteHarvest.process_igprof_dir(), cmsPerfSuiteHarvest.process_memcheck_dir(), cmsPerfSuiteHarvest.process_timesize_dir(), HTMLExport.HTMLExport.produce(), utils_v2.recursive_search_online(), python.rootplot.core.rootplot(), cond::Utilities.run(), geometryXMLtoCSV.ContentHandler.startElement(), geometryXMLparser.MuonGeometry.startElement(), and SequenceTypes.TestModuleCommand.testResolve().

python.multivaluedict.list

Definition at line 24 of file multivaluedict.py.