CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
 
def _ensure_value
 
def _get_action_name
 
def _sorted
 

Variables

list __all__
 
string __version__ = '1.1'
 
 _basestring = basestring
 
 _set = set
 
 _sorted = sorted
 
string action = 'ignore'
 
 category = DeprecationWarning,
 
string message = 'BaseException.message has been deprecated as of Python 2.6'
 
string module = 'argparse'
 
string ONE_OR_MORE = '+'
 
string OPTIONAL = '?'
 
string PARSER = 'A...'
 
string REMAINDER = '...'
 
string SUPPRESS = '==SUPPRESS=='
 
string 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().

123 def _callable(obj):
124  return hasattr(obj, '__call__') or hasattr(obj, '__bases__')
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__().

173 def _ensure_value(namespace, name, value):
174  if getattr(namespace, name, None) is None:
175  setattr(namespace, name, value)
176  return getattr(namespace, name)
177 
178 
179 # ===============
180 # Formatting Help
181 # ===============
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().

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

Definition at line 114 of file argparse.py.

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

115  def _sorted(iterable, reverse=False):
116  result = list(iterable)
117  result.sort()
118  if reverse:
119  result.reverse()
120  return result
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

list python.rootplot.argparse.__all__
Initial value:
1 = [
2  'ArgumentParser',
3  'ArgumentError',
4  'Namespace',
5  'Action',
6  'FileType',
7  'HelpFormatter',
8  'RawDescriptionHelpFormatter',
9  'RawTextHelpFormatter',
10  'ArgumentDefaultsHelpFormatter',
11 ]

Definition at line 79 of file argparse.py.

string python.rootplot.argparse.__version__ = '1.1'

Definition at line 78 of file argparse.py.

python.rootplot.argparse._basestring = basestring

Definition at line 106 of file argparse.py.

python.rootplot.argparse._set = set

Definition at line 101 of file argparse.py.

Referenced by python.rootplot.argparse.HelpFormatter._format_actions_usage(), python.rootplot.argparse.ArgumentParser._parse_known_args(), HcalLutManager.getCompressionLutXmlFromAsciiMaster(), HcalLutManager.getLinearizationLutXmlFromAsciiMasterEmap(), HcalLutManager.getLinearizationLutXmlFromAsciiMasterEmap_new(), HcalLutManager_test.getLutSetFromFile_test(), and HcalLutManager.getLutXmlFromAsciiMaster().

python.rootplot.argparse._sorted = sorted

Definition at line 111 of file argparse.py.

Referenced by python.rootplot.argparse.HelpFormatter._format_actions_usage(), python.rootplot.argparse._AttributeHolder._get_kwargs(), and python.rootplot.argparse._sorted().

string python.rootplot.argparse.action = 'ignore'

Definition at line 129 of file argparse.py.

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

python.rootplot.argparse.category = DeprecationWarning,

Definition at line 131 of file argparse.py.

Referenced by OOTPileupCorrectionColl.add(), StorableDoubleMap< AbsOOTPileupCorrection >.add(), edm::ExceptionToActionTable.add(), HLTLogMonitorFilter.addCategory(), GBRForestWriter.analyze(), DQMMessageLogger.analyze(), DTLocalTriggerBaseTest.analyze(), LogMessageMonitor.analyze(), PrintLoadingPlugins.askedToLoad(), QGLikelihoodSystematicsDBWriter.beginJob(), QGLikelihoodDBWriter.beginJob(), DTLocalTriggerBaseTest.beginJob(), DTLocalTriggerBaseTest.beginLuminosityBlock(), PhysicalPartsTree.beginRun(), DTLocalTriggerSynchTest.beginRun(), DTLocalTriggerBaseTest.beginRun(), DTLocalTriggerSynchTest.bookChambHistos(), DTTriggerEfficiencyTest.bookChambHistos(), DTLocalTriggerBaseTest.bookCmsHistos(), DTTriggerLutTest.bookCmsHistos1d(), DTLocalTriggerBaseTest.bookSectorHistos(), DTTriggerEfficiencyTest.bookWheelHistos(), DTLocalTriggerBaseTest.bookWheelHistos(), CosmicMuonSeedGenerator.checkQuality(), edm::service::ThreadSafeLogMessageLoggerScribe.configure_dest(), edm::service::MessageLoggerScribe.configure_dest(), GlobalMuonTrackMatcher.convertToTSOSMuHit(), GlobalMuonTrackMatcher.convertToTSOSTk(), GlobalMuonTrackMatcher.convertToTSOSTkHit(), CosmicMuonSeedGenerator.createSeed(), CosmicMuonSeedGenerator.createSeeds(), dd_to_html(), PFRecoTauDiscriminationAgainstElectronMVA5.discriminate(), PFRecoTauDiscriminationByIsolationMVA2.discriminate(), DTLocalTriggerSynchTest.endJob(), DTLocalTriggerBaseTest.endJob(), DTLocalTriggerBaseTest.endRun(), DTLocalTriggerTest.fillGlobalSummary(), LogErrorFilter.filter(), HLTLogMonitorFilter.filter(), FWEveViewManager.FWEveViewManager(), L1GtVhdlWriterCore.getCategoryFromObject(), L1GtVhdlWriterCore.getDefValsFromTriggerMenu(), DTLocalTriggerSynchTest.getFloatFromME(), HLTLogMonitorFilter.HLTLogMonitorFilter(), 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()(), reco::HitPattern.pixelLayersWithMeasurement(), edm::service::SimpleMemoryCheck.postEndJob(), Selection< C, Selector, StoreContainer >.print(), CosmicMuonSeedGenerator.produce(), pat::PATTriggerProducer.produce(), RecoTauDiscriminantCutMultiplexer.RecoTauDiscriminantCutMultiplexer(), DTLocalTriggerLutTest.runClientDiagnostic(), DTFineDelayCorr.runClientDiagnostic(), DTLocalTriggerSynchTest.runClientDiagnostic(), CosmicMuonSeedGenerator.selectSegments(), DTLocalTriggerBaseTest.setConfig(), GlobalMuonTrajectoryBuilder.setEvent(), L3MuonTrajectoryBuilder.setEvent(), reco::HitPattern.trackerLayersWithMeasurement(), GlobalMuonTrajectoryBuilder.trajectories(), L3MuonTrajectoryBuilder.trajectories(), TaggingVariablePlotter::VariableConfig.VariableConfig(), and DTLocalTriggerBaseTest.~DTLocalTriggerBaseTest().

string python.rootplot.argparse.message = 'BaseException.message has been deprecated as of Python 2.6'

Definition at line 130 of file argparse.py.

Referenced by HLTEventAnalyzerAOD.analyzeTrigger(), DDIsValid(), MuonAlignmentInputXML.do_setposition(), DDValue.doubles(), StoreEcalCondition.endJob(), pat::JetCorrFactorsProducer.expand(), cscdqm::XMLFileErrorHandler.fatalError(), CandCommonVertexFitterBase.fill(), PFCandCommonVertexFitterBase.fill(), CandKinematicVertexFitter.fill(), SiPixelUtility.fillPaveText(), HLTHighLevel.filter(), SiStripTrackerMapCreator.getDetectorFlagAndComment(), XMLDOMBlock.getNewDocument(), cond::Utilities.getOptionValue(), hitfit::EtaDepResolution.GetResolution(), cond::Utilities.hasOptionValue(), cond::XMLAuthenticationService::XMLAuthenticationService.initialize(), L1GtTriggerMenuXmlParser.initXML(), l1t::TriggerMenuXmlParser.initXML(), pat::JetCorrFactorsProducer.JetCorrFactorsProducer(), listbadmodule(), cscdqm::Collection.load(), MonitorXMLParser.load(), MonitorXMLParser.MonitorXMLParser(), AlignableModifier.moveAlignable(), AlignableModifier.moveAlignableLocal(), MuonAlignmentInputXML.newAlignableMuon(), DDValue.operator[](), XMLDOMBlock.parse(), SummaryPlotXmlParser.parseXML(), DDStreamer.pos_read(), HLTConfigProvider.prescaleValuesInDetail(), pat::TauJetCorrFactors.print(), pat::JetCorrFactors.print(), SiStripActionExecutor.printFaultyModuleList(), cond::XMLAuthenticationService::XMLAuthenticationService.processFile(), JetTagProducer.produce(), magneticfield::AutoMagneticFieldESProducer.produce(), magneticfield::VolumeBasedMagneticFieldESProducerFromDB.produce(), raiseDQMError(), FWConfigurationManager.readFromOldFile(), edm::multicore::MessageReceiverForSource.receive(), ora::MappingElement.recordIdColumns(), CmsShowEDI.removeItem(), cond::IOVEditor.reportError(), RooGKCounter.RooGKCounter(), AlignableModifier.rotateAlignable(), AlignableModifier.rotateAlignableLocal(), XMLProcessor.serializeDOM(), HcalSourcePositionData.set(), edm::EventProcessor.setExceptionMessageFiles(), edm::EventProcessor.setExceptionMessageLumis(), edm::EventProcessor.setExceptionMessageRuns(), RooGKCounter.setMessage(), Comp2RefChi2.setMessage(), CompareToMedian.setMessage(), CompareLastFilledBin.setMessage(), edm::ParameterSwitchBase.throwNoCaseForSwitchValue(), cscdqm::XMLFileErrorHandler.warning(), FWConfigurationManager.writeToFile(), XMLDOMBlock.XMLDOMBlock(), statemachine::HandleFiles.~HandleFiles(), statemachine::HandleLumis.~HandleLumis(), statemachine::HandleRuns.~HandleRuns(), MonitorXMLParser.~MonitorXMLParser(), and TagNames.~TagNames().

string python.rootplot.argparse.module = 'argparse'

Definition at line 132 of file argparse.py.

Referenced by EcalTestPulseAnalyzer.analyze(), SiPixelHitEfficiencyModule.book(), SiPixelTrackResidualModule.book(), SiPixelRecHitModule.book(), SiPixelDigiModule.book(), SiPixelClusterModule.book(), PhysicsTools::TrainerMonitoring.book(), edm::OutputModuleCommunicatorT< T >.closeFile(), edm::OutputModuleCommunicatorT< T >.configure(), edm::OutputModuleCommunicatorT< T >.description(), SiPixelHitEfficiencySource.dqmBeginRun(), SiPixelTrackResidualSource.dqmBeginRun(), DDTIDModuleAlgo.execute(), DDTIDRingAlgo.execute(), pos::PixelCalibConfiguration.fedCardsAndChannels(), FastTimerService.fillPathMap(), EcalRingCalibrationTools.getModuleIndex(), DDHCalEndcapAlgo.initialize(), Phase2TrackerCabling.initializeCabling(), SiPixelDisabledModules.isModuleDisabled(), edm::OutputModuleCommunicatorT< T >.keptProducts(), edm::OutputModuleCommunicatorT< T >.limitReached(), CastorHardcodeGeometryLoader.makeCell(), edm::Maker.makeModule(), makePSetsFromString(), pos::PixelCalibConfiguration.nextFECState(), edm::OutputModuleCommunicatorT< T >.openFile(), edm::OutputModuleCommunicatorT< T >.openNewFileIfNeeded(), edm::ParentContext.ParentContext(), SiPixelDigitizerAlgorithm.pixel_inefficiency(), pos::PixelDetectorConfig.PixelDetectorConfig(), pos::PixelLowVoltageMap.PixelLowVoltageMap(), pos::PixelPortcardMap.PixelPortcardMap(), FastTimerService.preModuleEvent(), CastorPSMonitor.processEvent(), ShallowClustersProducer.produce(), ClusterSummaryProducer.produce(), SelectedElectronFEDListProducer< TEle, TCand >.produce(), ecaldqm::StatusManager.readFromStream(), SiPixelDisabledModules.removeDisabledModule(), edm::OutputModuleCommunicatorT< T >.selectProducts(), edm::OutputModuleCommunicatorT< T >.setEventSelectionInfo(), EcalLaserAnalyzer2.setGeomEB(), EcalLaserAnalyzer.setGeomEB(), EcalLaserAnalyzer2.setGeomEE(), EcalLaserAnalyzer.setGeomEE(), edm::ErrorObj.setModule(), SiStripTrackerMapCreator.setTkMapFromAlarm(), edm::OutputModuleCommunicatorT< T >.shouldWeCloseFile(), ResidualRefitting.StoreTrackerRecHits(), trackerHierarchy(), 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().

string python.rootplot.argparse.ONE_OR_MORE = '+'

Definition at line 139 of file argparse.py.

string python.rootplot.argparse.OPTIONAL = '?'

Definition at line 137 of file argparse.py.

string python.rootplot.argparse.PARSER = 'A...'

Definition at line 140 of file argparse.py.

string python.rootplot.argparse.REMAINDER = '...'

Definition at line 141 of file argparse.py.

string python.rootplot.argparse.SUPPRESS = '==SUPPRESS=='

Definition at line 135 of file argparse.py.

string python.rootplot.argparse.ZERO_OR_MORE = '*'

Definition at line 138 of file argparse.py.