CMS 3D CMS Logo

Classes | Functions | Variables
python.rootplot.argparse Namespace Reference

Classes

class  _ActionsContainer
 
class  _AppendAction
 
class  _AppendConstAction
 
class  _ArgumentGroup
 
class  _AttributeHolder
 
class  _CountAction
 
class  _HelpAction
 
class  _MutuallyExclusiveGroup
 
class  _StoreAction
 
class  _StoreConstAction
 
class  _StoreFalseAction
 
class  _StoreTrueAction
 
class  _SubParsersAction
 
class  _VersionAction
 
class  Action
 
class  ArgumentDefaultsHelpFormatter
 
class  ArgumentError
 
class  ArgumentParser
 
class  ArgumentTypeError
 
class  FileType
 
class  HelpFormatter
 
class  Namespace
 
class  RawDescriptionHelpFormatter
 
class  RawTextHelpFormatter
 

Functions

def _callable (obj)
 
def _ensure_value (namespace, name, value)
 
def _get_action_name (argument)
 
def _sorted (iterable, reverse=False)
 

Variables

 __all__
 
 __version__
 
 _basestring
 
 _set
 
 _sorted
 
 action
 
 category
 
 message
 
 module
 
 ONE_OR_MORE
 
 OPTIONAL
 
 PARSER
 
 REMAINDER
 
 SUPPRESS
 
 ZERO_OR_MORE
 

Function Documentation

def python.rootplot.argparse._callable (   obj)
private

Definition at line 122 of file argparse.py.

Referenced by python.rootplot.argparse.ArgumentParser._get_value(), and python.rootplot.argparse._ActionsContainer.add_argument().

122 def _callable(obj):
123  return hasattr(obj, '__call__') or hasattr(obj, '__bases__')
124 
125 # silence Python 2.6 buggy warnings about Exception.message
def python.rootplot.argparse._ensure_value (   namespace,
  name,
  value 
)
private

Definition at line 172 of file argparse.py.

Referenced by python.rootplot.argparse._AppendAction.__call__(), python.rootplot.argparse._AppendConstAction.__call__(), and python.rootplot.argparse._CountAction.__call__().

172 def _ensure_value(namespace, name, value):
173  if getattr(namespace, name, None) is None:
174  setattr(namespace, name, value)
175  return getattr(namespace, name)
176 
177 
178 # ===============
179 # Formatting Help
180 # ===============
181 
def _ensure_value(namespace, name, value)
Definition: argparse.py:172
def python.rootplot.argparse._get_action_name (   argument)
private

Definition at line 699 of file argparse.py.

References join().

Referenced by python.rootplot.argparse.ArgumentParser._parse_known_args().

699 def _get_action_name(argument):
700  if argument is None:
701  return None
702  elif argument.option_strings:
703  return '/'.join(argument.option_strings)
704  elif argument.metavar not in (None, SUPPRESS):
705  return argument.metavar
706  elif argument.dest not in (None, SUPPRESS):
707  return argument.dest
708  else:
709  return None
710 
711 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def _get_action_name(argument)
Definition: argparse.py:699
def python.rootplot.argparse._sorted (   iterable,
  reverse = False 
)
private

Definition at line 114 of file argparse.py.

References python.rootplot.argparse._sorted, and list().

114  def _sorted(iterable, reverse=False):
115  result = list(iterable)
116  result.sort()
117  if reverse:
118  result.reverse()
119  return result
120 
121 
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run

Variable Documentation

python.rootplot.argparse.__all__
private

Definition at line 79 of file argparse.py.

python.rootplot.argparse.__version__
private

Definition at line 78 of file argparse.py.

python.rootplot.argparse._basestring
private

Definition at line 106 of file argparse.py.

python.rootplot.argparse._set
private
python.rootplot.argparse._sorted
private
python.rootplot.argparse.action
python.rootplot.argparse.category

Definition at line 131 of file argparse.py.

Referenced by OOTPileupCorrectionColl.add(), StorableDoubleMap< AbsOOTPileupCorrection >.add(), edm::ExceptionToActionTable.add(), HLTLogMonitorFilter.addCategory(), GBRForestWriter.analyze(), DQMMessageLogger.analyze(), TotemRPDQMSource.analyze(), LogMessageMonitor.analyze(), archive_stream_copy(), PrintLoadingPlugins.askedToLoad(), QGLikelihoodSystematicsDBWriter.beginJob(), QGLikelihoodDBWriter.beginJob(), DTLocalTriggerBaseTest.beginRun(), DTLocalTriggerSynchTest.bookChambHistos(), DTTriggerEfficiencyTest.bookChambHistos(), DTLocalTriggerBaseTest.bookCmsHistos(), DTTriggerLutTest.bookCmsHistos1d(), DTLocalTriggerBaseTest.bookSectorHistos(), DTTriggerEfficiencyTest.bookWheelHistos(), DTLocalTriggerBaseTest.bookWheelHistos(), edm::Exception.categoryCode(), CosmicMuonSeedGenerator.checkQuality(), edm::service::ThreadSafeLogMessageLoggerScribe.configure_dest(), edm::service::MessageLoggerScribe.configure_dest(), GlobalMuonTrackMatcher.convertToTSOSMuHit(), GlobalMuonTrackMatcher.convertToTSOSTk(), GlobalMuonTrackMatcher.convertToTSOSTkHit(), correctionCategory_class.correctionCategory_class(), edmplugin::PluginFactory< R *(Args...)>::PMaker< TPlug >.create(), CosmicMuonSeedGenerator.createSeed(), CosmicMuonSeedGenerator.createSeeds(), DDLogicalPart.DDLogicalPart(), PATTauDiscriminationAgainstElectronMVA6.discriminate(), PFRecoTauDiscriminationAgainstElectronMVA6.discriminate(), PFRecoTauDiscriminationAgainstElectronMVA5.discriminate(), PFRecoTauDiscriminationByIsolationMVA2.discriminate(), PFRecoTauDiscriminationByMVAIsolationRun2.discriminate(), PATTauDiscriminationByMVAIsolationRun2.discriminate(), DTLocalTriggerSynchTest.dqmEndJob(), DTLocalTriggerBaseTest.dqmEndJob(), DTLocalTriggerSynchTest.dqmEndLuminosityBlock(), OOTPileupCorrectionColl.empty(), StorableDoubleMap< AbsOOTPileupCorrection >.empty(), DTLocalTriggerBaseTest.endRun(), DTLocalTriggerTest.fillGlobalSummary(), dqm::TrackAnalyzer.fillHistosForEfficiencyFromHitPatter(), LogErrorFilter.filter(), HLTLogMonitorFilter.filter(), FWDetailViewManager.findViewersFor(), FWEveViewManager.FWEveViewManager(), L1GtVhdlWriterCore.getCategoryFromObject(), L1GtVhdlWriterCore.getDefValsFromTriggerMenu(), DTLocalTriggerSynchTest.getFloatFromME(), PhotonMVAEstimatorRun2Spring16NonTrig.getNCategories(), PhotonMVAEstimatorRun2Phys14NonTrig.getNCategories(), PhotonMVAEstimatorRun2Spring15NonTrig.getNCategories(), ElectronMVAEstimatorRun2Phys14NonTrig.getNCategories(), ElectronMVAEstimatorRun2Spring15Trig.getNCategories(), ElectronMVAEstimatorRun2Spring15NonTrig.getNCategories(), ElectronMVAEstimatorRun2Spring16GeneralPurpose.getNCategories(), ElectronMVAEstimatorRun2Spring16HZZ.getNCategories(), EnergyScaleCorrection_class.getScaleCorrection(), EnergyScaleCorrection_class.getScaleOffset(), EnergyScaleCorrection_class.getSmearingRho(), EnergyScaleCorrection_class.getSmearingSigma(), VertexCategories.is(), TrackCategories.is(), GBRForestWriter::jobEntryType.jobEntryType(), CosmicMuonSeedGenerator.makeSegPairs(), GlobalMuonTrajectoryBuilder.makeTkCandCollection(), L3MuonTrajectoryBuilder.makeTkCandCollection(), GlobalMuonTrackMatcher.match(), GlobalMuonTrackMatcher.match_Chi2(), GlobalMuonTrackMatcher.match_dist(), reco::HitPattern.numberOfValidStripLayersWithMonoAndStereo(), FixedAreaIsolationCone.operator()(), edm::Suppress_LogDebug_.operator<<(), PATTauDiscriminantCutMultiplexer.PATTauDiscriminantCutMultiplexer(), reco::HitPattern.pixelLayersWithMeasurement(), edm::service::SimpleMemoryCheck.postEndJob(), FilterSelection.print(), CosmicMuonSeedGenerator.produce(), pat::PATTriggerProducer.produce(), EnergyScaleCorrection_class.ReadFromFile(), EnergyScaleCorrection_class.ReadSmearingFromFile(), RecoTauDiscriminantCutMultiplexer.RecoTauDiscriminantCutMultiplexer(), DTLocalTriggerLutTest.runClientDiagnostic(), DTLocalTriggerSynchTest.runClientDiagnostic(), CosmicMuonSeedGenerator.selectSegments(), DTLocalTriggerBaseTest.setConfig(), GlobalMuonTrajectoryBuilder.setEvent(), L3MuonTrajectoryBuilder.setEvent(), reco::HitPattern.trackerLayersWithMeasurement(), GlobalMuonTrajectoryBuilder.trajectories(), L3MuonTrajectoryBuilder.trajectories(), edm::TypeWithDict.typeInfo(), TaggingVariablePlotter::VariableConfig.VariableConfig(), and DTLocalTriggerBaseTest.~DTLocalTriggerBaseTest().

python.rootplot.argparse.message

Definition at line 130 of file argparse.py.

Referenced by HLTEventAnalyzerAOD.analyzeTrigger(), MillePedeAlignmentAlgorithm.beginRun(), EmissionVetoHook1.canVetoMPIEmission(), pat::EventHypothesis.createExceptionMessage(), DDIsValid(), MuonAlignmentInputXML.do_setposition(), DDValue.doubles(), StoreESCondition.endJob(), StoreEcalCondition.endJob(), SaxToDom.error(), SaxToDom2.error(), pat::JetCorrFactorsProducer.expand(), CandCommonVertexFitterBase.fill(), PFCandCommonVertexFitterBase.fill(), CandKinematicVertexFitter.fill(), SiPixelUtility.fillPaveText(), HLTHighLevel.filter(), SiStripTrackerMapCreator.getDetectorFlagAndComment(), cond::persistency::RUN_INFO::Table.getLastInserted(), XMLDOMBlock.getNewDocument(), cond::Utilities.getOptionValue(), hitfit::EtaDepResolution.GetResolution(), cond::Utilities.hasOptionValue(), MillePedeAlignmentAlgorithm.initialize(), cond::XMLAuthenticationService::XMLAuthenticationService.initialize(), L1GtTriggerMenuXmlParser.initXML(), pat::JetCorrFactorsProducer.JetCorrFactorsProducer(), listbadmodule(), cscdqm::Collection.load(), MonitorXMLParser.load(), MagException.MagException(), MonitorXMLParser.MonitorXMLParser(), AlignableModifier.moveAlignable(), AlignableModifier.moveAlignableLocal(), MuonAlignmentInputXML.newAlignableMuon(), ExceptionHandler.Notify(), DDValue.operator[](), XMLDOMBlock.parse(), SummaryPlotXmlParser.parseXML(), path_state(), HLTPrescaleProvider.prescaleValuesInDetail(), pat::TauJetCorrFactors.print(), pat::JetCorrFactors.print(), TrackerHitAssociator.printDetBnchEvtTrk(), SiStripActionExecutor.printFaultyModuleList(), edm::EventProcessor.processConfiguration(), cond::XMLAuthenticationService::XMLAuthenticationService.processFile(), magneticfield::AutoMagneticFieldESProducer.produce(), JetTagProducer.produce(), magneticfield::AutoParametrizedMagneticFieldProducer.produce(), magneticfield::VolumeBasedMagneticFieldESProducerFromDB.produce(), raiseDQMError(), FWConfigurationManager.readFromOldFile(), CmsShowEDI.removeItem(), RooGKCounter.RooGKCounter(), edm::RootOutputFile.RootOutputFile(), AlignableModifier.rotateAlignable(), AlignableModifier.rotateAlignableLocal(), RawToDigiConverter.RunCommon(), XMLProcessor.serializeDOM(), HcalSourcePositionData.set(), edm::EventProcessor.setExceptionMessageFiles(), edm::EventProcessor.setExceptionMessageLumis(), edm::EventProcessor.setExceptionMessageRuns(), RooGKCounter.setMessage(), Comp2RefChi2.setMessage(), Comp2Ref2DChi2.setMessage(), CompareToMedian.setMessage(), CompareLastFilledBin.setMessage(), edm::ParameterSwitchBase.throwNoCaseForSwitchValue(), FWConfigurationManager.writeToFile(), XMLDOMBlock.XMLDOMBlock(), MonitorXMLParser.~MonitorXMLParser(), and TagNames.~TagNames().

python.rootplot.argparse.module

Definition at line 132 of file argparse.py.

Referenced by PixelToLNKAssociateFromAscii.addConnections(), EcalTestPulseAnalyzer.analyze(), SiPixelTrackResidualSource.analyze(), HLTObjectsMonitor.analyze(), SiPixelTrackResidualModule.book(), SiPixelHitEfficiencyModule.book(), SiPixelRecHitModule.book(), SiPixelClusterModule.book(), SiPixelDigiModule.book(), PhysicsTools::TrainerMonitoring.book(), edm::OutputModuleCommunicatorT< T >.closeFile(), edm::OutputModuleCommunicatorT< T >.configure(), edm::OutputModuleCommunicatorT< T >.description(), SiPixelHitEfficiencySource.dqmBeginRun(), SiPixelTrackResidualSource.dqmBeginRun(), TrackerTreeGenerator.endJob(), DDTIDModuleAlgo.execute(), DDTIDRingAlgo.execute(), pos::PixelCalibConfiguration.fedCardsAndChannels(), HGCalTriggerGeometryHexImp1.fillMaps(), HGCalTriggerGeometryHexLayerBasedImp1.fillMaps(), HGCalTriggerGeometryHexImp2.fillMaps(), GenericTriggerEventFlag.GenericTriggerEventFlag(), HGCalTriggerGeometryHexImp2.getModuleFromCell(), HGCalTriggerGeometryHexImp2.getModuleFromTriggerCell(), HGCalTriggerGeometryHexLayerBasedImp1.getModuleFromTriggerCell(), EcalRingCalibrationTools.getModuleIndex(), HGCalTriggerGeometryHexLayerBasedImp1.getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryHexLayerBasedImp1.getTriggerCellsFromModule(), DDHCalEndcapAlgo.initialize(), Phase2TrackerCabling.initializeCabling(), SiPixelDisabledModules.isModuleDisabled(), edm::OutputModuleCommunicatorT< T >.keptProducts(), edm::OutputModuleCommunicatorT< T >.limitReached(), CastorHardcodeGeometryLoader.makeCell(), edm::Maker.makeModule(), makePSetsFromString(), ProcessCallGraph.module(), HLTCommonConfig.moduleLabel(), HLTCommonConfig.moduleType(), pos::PixelCalibConfiguration.nextFECState(), edm::OutputModuleCommunicatorT< T >.openFile(), ProcessCallGraph.operator[](), edm::ParentContext.ParentContext(), SiPixelDigitizerAlgorithm.pixel_inefficiency(), pos::PixelDetectorConfig.PixelDetectorConfig(), pos::PixelLowVoltageMap.PixelLowVoltageMap(), pos::PixelPortcardMap.PixelPortcardMap(), DependencyGraph.preBeginJob(), edm::service::Tracer.preBeginJob(), ProcessCallGraph.preBeginJob(), HLTCommonConfig.prescaler(), ProcessCallGraph.preSourceConstruction(), CastorRecHitMonitor.processEvent(), ClusterSummaryProducer.produce(), SelectedElectronFEDListProducer< TEle, TCand >.produce(), edm::DataMixingSiPixelMCDigiWorker.putSiPixel(), ecaldqm::StatusManager.readFromStream(), edm::maker::ModuleHolderT< T >.registerProductsAndCallbacks(), SiPixelDisabledModules.removeDisabledModule(), ApeTreeCreateDefault.sectorBuilder(), ApeEstimator.sectorBuilder(), edm::OutputModuleCommunicatorT< T >.selectProducts(), HGCSD.setDetUnitId(), edm::OutputModuleCommunicatorT< T >.setEventSelectionInfo(), EcalLaserAnalyzer2.setGeomEB(), EcalLaserAnalyzer.setGeomEB(), EcalLaserAnalyzer2.setGeomEE(), EcalLaserAnalyzer.setGeomEE(), edm::ErrorObj.setModule(), SiStripTrackerMapCreator.setTkMapFromAlarm(), edm::OutputModuleCommunicatorT< T >.shouldWeCloseFile(), ResidualRefitting.StoreTrackerRecHits(), SimG4HGCalValidation.update(), CastorTopology.validRaw(), edm::OutputModuleCommunicatorT< T >.wantAllEvents(), pos::PixelMaskAllPixels.writeASCII(), pos::PixelTBMSettings.writeASCII(), pos::PixelTrimAllPixels.writeASCII(), pos::PixelDACSettings.writeASCII(), edm::OutputModuleCommunicatorT< T >.writeLumi(), edm::OutputModuleCommunicatorT< T >.writeRun(), and pos::PixelTBMSettings.writeXML().

python.rootplot.argparse.ONE_OR_MORE

Definition at line 139 of file argparse.py.

python.rootplot.argparse.OPTIONAL

Definition at line 137 of file argparse.py.

python.rootplot.argparse.PARSER

Definition at line 140 of file argparse.py.

python.rootplot.argparse.REMAINDER

Definition at line 141 of file argparse.py.

python.rootplot.argparse.SUPPRESS

Definition at line 135 of file argparse.py.

python.rootplot.argparse.ZERO_OR_MORE

Definition at line 138 of file argparse.py.