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
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.

00122                   :
00123     return hasattr(obj, '__call__') or hasattr(obj, '__bases__')
00124 
00125 # 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.

00172                                          :
00173     if getattr(namespace, name, None) is None:
00174         setattr(namespace, name, value)
00175     return getattr(namespace, name)
00176 
00177 
00178 # ===============
00179 # Formatting Help
00180 # ===============
00181 
def python::rootplot::argparse::_get_action_name (   argument) [private]

Definition at line 699 of file argparse.py.

00699                               :
00700     if argument is None:
00701         return None
00702     elif argument.option_strings:
00703         return  '/'.join(argument.option_strings)
00704     elif argument.metavar not in (None, SUPPRESS):
00705         return argument.metavar
00706     elif argument.dest not in (None, SUPPRESS):
00707         return argument.dest
00708     else:
00709         return None
00710 
00711 
def python::rootplot::argparse::_sorted (   iterable,
  reverse = False 
) [private]

Definition at line 114 of file argparse.py.

00114                                         :
00115         result = list(iterable)
00116         result.sort()
00117         if reverse:
00118             result.reverse()
00119         return result
00120 
00121 

Variable Documentation

Initial value:
00001 [
00002     'ArgumentParser',
00003     'ArgumentError',
00004     'Namespace',
00005     'Action',
00006     'FileType',
00007     'HelpFormatter',
00008     'RawDescriptionHelpFormatter',
00009     'RawTextHelpFormatter',
00010     'ArgumentDefaultsHelpFormatter',
00011 ]

Definition at line 79 of file argparse.py.

Definition at line 78 of file argparse.py.

Definition at line 106 of file argparse.py.

Definition at line 111 of file argparse.py.

Definition at line 129 of file argparse.py.

python::rootplot::argparse::category = DeprecationWarning,

Definition at line 131 of file argparse.py.

Referenced by edm::ActionTable::add(), HLTLogMonitorFilter::addCategory(), DTLocalTriggerBaseTest::analyze(), DQMMessageLogger::analyze(), LogMessageMonitor::analyze(), PrintLoadingPlugins::askedToLoad(), DTLocalTriggerBaseTest::beginJob(), DTLocalTriggerBaseTest::beginLuminosityBlock(), PhysicalPartsTree::beginRun(), DTLocalTriggerSynchTest::beginRun(), DTLocalTriggerBaseTest::beginRun(), DTLocalTriggerBaseTest::bookCmsHistos(), DTTriggerLutTest::bookCmsHistos1d(), DTLocalTriggerBaseTest::bookSectorHistos(), DTTriggerEfficiencyTask::bookWheelHistos(), EcalRawToRecHitRoI::Cand(), CosmicMuonSeedGenerator::checkQuality(), edm::service::MessageLoggerScribe::configure_dest(), CosmicMuonSeedGenerator::createSeed(), CosmicMuonSeedGenerator::createSeeds(), dd_to_html(), EcalRawToRecHitRoI::EcalRawToRecHitRoI(), EcalRawToRecHitRoI::Egamma(), EcalRawToRecHitRoI::Egamma_OneL1EmCollection(), DTLocalTriggerBaseTest::endJob(), DTLocalTriggerSynchTest::endJob(), DTLocalTriggerBaseTest::endRun(), DTLocalTriggerTest::fillGlobalSummary(), LogErrorFilter::filter(), HLTLogMonitorFilter::filter(), FWEveViewManager::FWEveViewManager(), L1GtVhdlWriterCore::getCategoryFromObject(), L1GtVhdlWriterCore::getDefValsFromTriggerMenu(), DTLocalTriggerSynchTest::getFloatFromME(), HLTLogMonitorFilter::HLTLogMonitorFilter(), VertexCategories::is(), TrackCategories::is(), EcalRawToRecHitRoI::Jet(), EcalRawToRecHitRoI::Jet_OneL1JetCollection(), EcalRawToRecHitRoI::ListOfFEDS(), CosmicMuonSeedGenerator::makeSegPairs(), GlobalMuonTrajectoryBuilder::makeTkCandCollection(), L3MuonTrajectoryBuilder::makeTkCandCollection(), EcalRawToRecHitRoI::Muon(), EcalRawToRecHitRoI::OneCandCollection(), FixedAreaIsolationCone::operator()(), edm::service::SimpleMemoryCheck::postEndJob(), Selection< C, Selector, StoreContainer >::print(), CosmicMuonSeedGenerator::produce(), EcalRawToRecHitRoI::produce(), pat::PATTriggerProducer::produce(), DTLocalTriggerSynchTest::runClientDiagnostic(), DTFineDelayCorr::runClientDiagnostic(), DTLocalTriggerLutTest::runClientDiagnostic(), CosmicMuonSeedGenerator::selectSegments(), DTTSTheta::setConfig(), L3MuonTrajectoryBuilder::setEvent(), GlobalMuonTrajectoryBuilder::setEvent(), L3MuonTrajectoryBuilder::trajectories(), GlobalMuonTrajectoryBuilder::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 evf::FWEPWrapper::createAndSendScalersMessage(), DDIsValid(), MuonAlignmentInputXML::do_setposition(), DDValue::doubles(), StoreEcalCondition::endJob(), SiStripCMMonitorPlugin::endJob(), pat::JetCorrFactorsProducer::expand(), cscdqm::XMLFileErrorHandler::fatalError(), PFCandCommonVertexFitterBase::fill(), SiPixelUtility::fillPaveText(), HLTHighLevel::filter(), SiStripTrackerMapCreator::getDetectorFlagAndComment(), XMLDOMBlock::getNewDocument(), cond::Utilities::getOptionValue(), hitfit::EtaDepResolution::GetResolution(), cond::Utilities::hasOptionValue(), cond::XMLAuthenticationService::XMLAuthenticationService::initialize(), L1GtTriggerMenuXmlParser::initXML(), pat::JetCorrFactorsProducer::JetCorrFactorsProducer(), listbadmodule(), cscdqm::Collection::load(), MonitorXMLParser::load(), PropagatorWithMaterial::materialAtSource(), MonitorXMLParser::MonitorXMLParser(), AlignableModifier::moveAlignable(), AlignableModifier::moveAlignableLocal(), MuonAlignmentInputXML::newAlignableMuon(), DDValue::operator[](), XMLDOMBlock::parse(), SummaryPlotXmlParser::parseXML(), DDStreamer::pos_read(), pat::TauJetCorrFactors::print(), pat::JetCorrFactors::print(), SiStripActionExecutor::printFaultyModuleList(), cond::XMLAuthenticationService::XMLAuthenticationService::processFile(), magneticfield::AutoMagneticFieldESProducer::produce(), raiseDQMError(), FWConfigurationManager::readFromOldFile(), SiStripInformationExtractor::readQTestSummary(), edm::multicore::MessageReceiverForSource::receive(), ora::MappingElement::recordIdColumns(), CmsShowEDI::removeItem(), cond::IOVEditor::reportError(), RooGKCounter::RooGKCounter(), AlignableModifier::rotateAlignable(), AlignableModifier::rotateAlignableLocal(), evf::CPUStat::sendLegenda(), XMLProcessor::serializeDOM(), RooGKCounter::setMessage(), CompareToMedian::setMessage(), Comp2RefChi2::setMessage(), JetTagMVATrainer::setup(), JetTagProducer::setup(), edm::ParameterSwitchBase::throwNoCaseForSwitchValue(), cscdqm::XMLFileErrorHandler::warning(), FWConfigurationManager::writeToFile(), XMLDOMBlock::XMLDOMBlock(), statemachine::HandleFiles::~HandleFiles(), statemachine::HandleLumis::~HandleLumis(), statemachine::HandleRuns::~HandleRuns(), MonitorXMLParser::~MonitorXMLParser(), and TagNames::~TagNames().

Definition at line 132 of file argparse.py.

Referenced by EcalTestPulseAnalyzer::analyze(), SiPixelTrackResidualSource::beginRun(), SiPixelHitEfficiencySource::beginRun(), PhysicsTools::TrainerMonitoring::book(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), RingMaker::constructPXBRings(), RingMaker::constructPXFRings(), RingMaker::constructTECRing(), RingMaker::constructTOBRings(), edm::service::ELrecv(), DDTIDModuleAlgo::execute(), DDTIDRingAlgo::execute(), pos::PixelCalibConfiguration::fedCardsAndChannels(), SiPixelRecHitsValid::fillBarrel(), SiPixelRecHitsValid::fillForward(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), EcalRingCalibrationTools::getModuleIndex(), edm::WorkerMaker< T >::implSwapModule(), DDHCalEndcapAlgo::initialize(), SiPixelDisabledModules::isModuleDisabled(), CastorHardcodeGeometryLoader::makeCell(), makePSetsFromString(), TrajectoryManager::makeSinglePSimHit(), edm::WorkerMaker< T >::makeWorker(), pos::PixelCalibConfiguration::nextFECState(), pos::PixelDetectorConfig::PixelDetectorConfig(), pos::PixelLowVoltageMap::PixelLowVoltageMap(), pos::PixelPortcardMap::PixelPortcardMap(), FastTimerService::preModuleBeginJob(), CastorPSMonitor::processEvent(), ShallowClustersProducer::produce(), EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile(), EcalDQMStatusWriter::readEcalDQMTowerStatusFromFile(), SiPixelDisabledModules::removeDisabledModule(), EcalLaserAnalyzer::setGeomEB(), EcalLaserAnalyzer2::setGeomEB(), EcalLaserAnalyzer2::setGeomEE(), EcalLaserAnalyzer::setGeomEE(), edm::ErrorObj::setModule(), ResidualRefitting::StoreTrackerRecHits(), trackerHierarchy(), CastorTopology::validRaw(), pos::PixelDACSettings::writeASCII(), pos::PixelTBMSettings::writeASCII(), pos::PixelTrimAllPixels::writeASCII(), pos::PixelMaskAllPixels::writeASCII(), and pos::PixelTBMSettings::writeXML().

Definition at line 139 of file argparse.py.

Definition at line 137 of file argparse.py.

Definition at line 140 of file argparse.py.

Definition at line 141 of file argparse.py.

Definition at line 135 of file argparse.py.

Definition at line 138 of file argparse.py.