CMS 3D CMS Logo

Classes | Functions | Variables

VarParsing Namespace Reference

Classes

class  VarParsing

Functions

def save_history

Variables

tuple historyPath = os.path.expanduser("~/.pyhistory")
string ifCond = "someVar"
string info = "for testing"
 mult = VarParsing.multiplicity.singleton,
tuple obj = VarParsing('standard')
 Example code starts here #.

Function Documentation

def VarParsing::save_history (   historyPath = historyPath)

Definition at line 636 of file VarParsing.py.

00637                                              :
00638         import readline
00639         readline.write_history_file(historyPath)
00640         if os.path.exists(historyPath):
00641             readline.read_history_file(historyPath)
00642 


Variable Documentation

tuple VarParsing::historyPath = os.path.expanduser("~/.pyhistory")

Definition at line 633 of file VarParsing.py.

string VarParsing::ifCond = "someVar"

Definition at line 660 of file VarParsing.py.

string VarParsing::info = "for testing"

Definition at line 658 of file VarParsing.py.

VarParsing::mult = VarParsing.multiplicity.singleton,

Example code starts here #.

Definition at line 655 of file VarParsing.py.

Referenced by L1GtTriggerMenuConfigOnlineProd::addBptxCondition(), L1GtTriggerMenuConfigOnlineProd::addCaloCondition(), L1GtTriggerMenuConfigOnlineProd::addCastorCondition(), L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition(), L1GtTriggerMenuConfigOnlineProd::addEnergySumCondition(), L1GtTriggerMenuConfigOnlineProd::addExternalCondition(), L1GtTriggerMenuConfigOnlineProd::addHfBitCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addHfRingEtSumsCondition(), L1GtTriggerMenuConfigOnlineProd::addJetCountsCondition(), metsig::significanceAlgo::addObjects(), PhysicsTools::Calibration::MVAComputer::addProcessor(), CollectionDumper< T >::analyze(), SiStripThresholdBuilder::analyze(), SiStripApvGainBuilder::analyze(), SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripNoisesBuilder::analyze(), JetTagMVATreeTrainer::analyze(), SiStripSummaryBuilder::analyze(), SiStripPedestalsBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), edm::EDCollection< T >::at(), PhysicsTools::TreeReader::automaticAdd(), edm::SortedCollection< T, SORT >::back(), edm::EDCollection< T >::begin(), edm::SortedCollection< T, SORT >::begin(), SiStripFedCablingBuilder::beginRun(), PhysicsTools::TrainerMonitoring::Module::book(), L1GtVmeWriterCore::calculateAddress(), L1GtVmeWriterCore::calculateJetsAddress(), edm::EDCollection< T >::capacity(), edm::SortedCollection< T, SORT >::capacity(), JetCharge::chargeFromRef(), JetCharge::chargeFromValIterator(), chInputObjects(), MonitorElement::copyFunctions(), ESDBCopy::copyToDB(), EcalTPGDBCopy::copyToDB(), EcalDBCopy::copyToDB(), SiStripBadModuleGenerator::createObject(), HLTLevel1GTSeed::debugPrint(), SiStripTFile::dirContent(), DTDDUFirstStatusWord::DTDDUFirstStatusWord(), DTDDUSecondStatusWord::DTDDUSecondStatusWord(), DTLocalTriggerDataWord::DTLocalTriggerDataWord(), DTLocalTriggerHeaderWord::DTLocalTriggerHeaderWord(), DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord(), DTLocalTriggerSectorCollectorSubHeaderWord::DTLocalTriggerSectorCollectorSubHeaderWord(), DTLocalTriggerTrailerWord::DTLocalTriggerTrailerWord(), DTROBHeaderWord::DTROBHeaderWord(), DTROBTrailerWord::DTROBTrailerWord(), DTROSDebugWord::DTROSDebugWord(), DTROSErrorWord::DTROSErrorWord(), DTROSHeaderWord::DTROSHeaderWord(), DTROSTrailerWord::DTROSTrailerWord(), DTROSWordType::DTROSWordType(), DTTDCErrorWord::DTTDCErrorWord(), DTTDCHeaderWord::DTTDCHeaderWord(), DTTDCMeasurementWord::DTTDCMeasurementWord(), DTTDCTrailerWord::DTTDCTrailerWord(), HLTLevel1GTSeed::dumpTriggerFilterObjectWithRefs(), edm::EDCollection< T >::empty(), edm::SortedCollection< T, SORT >::empty(), edm::EDCollection< T >::end(), edm::SortedCollection< T, SORT >::end(), DummyCondDBWriter< TObject, TObjectO, TRecord >::endRun(), TauDQMFileLoader::endRun(), SiStripFedCablingManipulator::endRun(), helper::Parser::eval(), helper::ScannerBase::eval(), fwlite::EventSetup::exists(), helper::ScannerBase::fill1D(), helper::ScannerBase::fill2D(), helper::ScannerBase::fillGraph(), helper::ScannerBase::fillProf(), edm::Wrapper< T >::fillPtrVector(), edm::Wrapper< T >::fillView(), edm::SortedCollection< T, SORT >::find(), edm::SortedCollection< T, SORT >::front(), getAllObjects(), fwlite::DataGetterHelper::getBranchData(), fwlite::DataGetterHelper::getBranchDataFor(), DTConfigPluginHandler::getData(), HLTTauDQMPathPlotter::getFilterCollection(), SiStripGainFromCalibTree::getNewObject(), SiStripHitEffFromCalibTree::getNewObject(), DeDxDiscriminatorLearnerFromCalibTree::getNewObject(), SiStripGainRandomCalculator::getNewObject(), DeDxDiscriminatorLearner::getNewObject(), SiStripQualityHotStripIdentifierRoot::getNewObject(), SiStripBadModuleByHandBuilder::getNewObject(), SiStripGainFromData::getNewObject(), SiStripGainCosmicCalculator::getNewObject(), SiStripGainFromAsciiFile::getNewObject(), SiStripQualityHotStripIdentifier::getNewObject(), RPCDBPerformanceHandler::getNewObjects(), edm::Wrapper< T >::hasIsProductEqual(), fwlite::Scanner< Collection >::htempDelete(), edm::WorkerT< T >::implDoBegin(), FWOverlapTableManager::importOverlaps(), edm::Wrapper< T >::isMergeable(), edm::Wrapper< T >::isProductEqual(), RPCFakeCalibration::makeCls(), RPCFakeCalibration::makeNoise(), mapSubDirectoryStructure(), L1MuonMatcherAlgo::matchGeneric(), edm::Wrapper< T >::mergeProduct(), MergeRootfile(), fwlite::EventSetup::namesOfAvailableRecords(), edm::RefCoreWithIndexStreamer::operator()(), edm::StreamedProductStreamer::operator()(), edm::RefCoreStreamer::operator()(), edm::SortedCollection< T, SORT >::operator[](), edm::EDCollection< T >::operator[](), cond::PayLoadInspector< DataT >::plot(), edm::reftobase::RefHolder< REF >::pointerToType(), PFTauRenderPlugin::preDraw(), helper::ScannerBase::print(), edm::printTrees(), DeltaRNearestObjectComputer< T >::produce(), SiPixelFakeLorentzAngleESSource::produce(), SiPixelFakeGainForHLTESSource::produce(), AssociationVectorSelector< KeyRefProd, CVal, KeySelector, ValSelector >::produce(), SiPixelFakeGainESSource::produce(), ObjectViewCleaner< T >::produce(), SiPixelFakeGainOfflineESSource::produce(), SiPixelFakeQualityESSource::produce(), SiPixelFakeCPEGenericErrorParmESSource::produce(), SiStripQualityESProducer::produce(), ObjectViewMatcher< T1, T2 >::produce(), pat::PATCleaner< PATObjType >::produce(), SiPixelFakeTemplateDBObjectESSource::produce(), SiStripTemplateFakeESSource< TObject, TRecord, TService >::produce(), edm::SortedCollection< T, SORT >::push_back(), edm::EDCollection< T >::push_back(), AlgorithmCalibration< T, CO >::readCategories(), DQMStore::readDirectory(), SiStripTFile::readDQMFormat(), edm::detail::reallyfillPtrVector(), edm::detail::reallySetPtr(), fwlite::EventSetup::recordID(), edm::reflex_cast(), edm::reflex_pointer_adjust(), FFTJetProducer::saveResults(), SelectionStep< Object >::select(), SelectionStepHLT< Object >::select(), SelectionStep< Object >::selectVertex(), SelectionStepHLT< Object >::selectVertex(), edm::helpers::PtrSetter< T >::set(), popcon::DQMHistoryPopConHandler< U >::setForTransfer(), popcon::SiStripPopConDbObjHandler< T, U >::setForTransfer(), popcon::SiStripPopConHandlerUnitTest< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestGain< T >::setForTransfer(), popcon::SiStripPopConConfigDbObjHandler< T >::setForTransfer(), popcon::SiStripPopConHandlerUnitTestNoise< T >::setForTransfer(), TEveEllipsoidProjectedGL::SetModel(), TEveEllipsoidGL::SetModel(), FWGeoTopNodeGL::SetModel(), hcalCalib::SetObject(), edm::Wrapper< T >::setPtr(), edm::SortedCollection< T, SORT >::size(), edm::EDCollection< T >::size(), edm::SortedCollection< T, SORT >::sort(), metsig::significanceAlgo::subtractObjects(), edm::EDCollection< T >::swap(), edm::SortedCollection< T, SORT >::swap_contents(), helper::ScannerBase::test(), helper::Parser::test(), edm::toVector(), TrackerStablePhiSort(), fwlite::Record::typeAndLabelOfAvailableData(), and L1GtVmeWriterCore::writeVME().