CMS 3D CMS Logo

Functions | Variables

runTheMatrix Namespace Reference

Functions

def runSelected
def showRaw

Variables

string action = 'store_true'
list choices = ['init','test','submit','force']
int default = 4
string dest = 'nThreads'
string help = 'number of threads. 0 Will use 4 threads, not execute anything but create the wfs'
 mapped = False
tuple parser = optparse.OptionParser(usage)
dictionary predefinedSet
tuple ret = showRaw(opt)
 prodAgent to be discontinued
list testList = []
string usage = 'usage: runTheMatrix.py --show -s '

Function Documentation

def runTheMatrix::runSelected (   opt)

Definition at line 20 of file runTheMatrix.py.

00021                     :
00022 
00023     mrd = MatrixReader(opt)
00024     mrd.prepare(opt.useInput, opt.refRel, opt.fromScratch)
00025 
00026     ret = 0
00027     if opt.show:
00028         mrd.show(opt.testList,opt.extended)
00029         if opt.testList : print 'testListected items:', opt.testList
00030     else:
00031         mRunnerHi = MatrixRunner(mrd.workFlows, opt.nThreads)
00032         ret = mRunnerHi.runTests(opt)
00033 
00034     if opt.wmcontrol:
00035         if ret!=0:
00036             print 'Cannot go on with wmagent injection with failing workflows'
00037         else:
00038             wfInjector = MatrixInjector(mode=opt.wmcontrol)
00039             ret= wfInjector.prepare(mrd,
00040                                     mRunnerHi.runDirs)
00041             if ret==0:
00042                 wfInjector.upload()
00043                 wfInjector.submit()
00044     return ret
00045 
00046 # ================================================================================

def runTheMatrix::showRaw (   opt)

Definition at line 11 of file runTheMatrix.py.

00012                 :
00013 
00014     mrd = MatrixReader(opt)
00015     mrd.showRaw(opt.useInput, opt.refRel, opt.fromScratch, opt.raw, opt.step1Only, selected=opt.testList)
00016 
00017     return 0
00018         
00019 # ================================================================================


Variable Documentation

string runTheMatrix::action = 'store_true'

Definition at line 81 of file runTheMatrix.py.

list runTheMatrix::choices = ['init','test','submit','force']

Definition at line 131 of file runTheMatrix.py.

Definition at line 75 of file runTheMatrix.py.

string runTheMatrix::dest = 'nThreads'

Definition at line 74 of file runTheMatrix.py.

string runTheMatrix::help = 'number of threads. 0 Will use 4 threads, not execute anything but create the wfs'

Definition at line 73 of file runTheMatrix.py.

Definition at line 174 of file runTheMatrix.py.

tuple runTheMatrix::parser = optparse.OptionParser(usage)

Definition at line 70 of file runTheMatrix.py.

Initial value:
00001 {
00002         'limited' : [5.1, #FastSim ttbar
00003                      8, #BH/Cosmic MC
00004                      25, #MC ttbar
00005                      4.22, #cosmic data
00006                      4.291, #hlt data
00007                      1000, #data+prompt
00008                      1001, #data+express
00009                      4.53, #HI data
00010                      40, #HI MC
00011                      ],
00012         'jetmc': [5.1, 13, 15, 25, 38, 39], #MC
00013         'metmc' : [5.1, 15, 25, 37, 38, 39], #MC
00014         'muonmc' : [5.1, 124.4, 124.5, 20, 21, 22, 23, 25, 30], #MC
00015         }

Definition at line 50 of file runTheMatrix.py.

tuple runTheMatrix::ret = showRaw(opt)

prodAgent to be discontinued

Definition at line 199 of file runTheMatrix.py.

Referenced by __attribute__(), Selection< C, Selector, StoreContainer >::accept(), TrajectorySegmentBuilder::addGroup(), edm::ProductRegistry::addProduct(), edm::eventsetup::ComponentFactory< T >::addTo(), pat::EventHypothesis::all(), BlockWipedAllocator::alloc(), pat::helper::RefHelper< T >::ancestorOrSelf(), cond::IOVEditor::append(), cond::Cipher::b64decrypt(), cond::Cipher::b64encrypt(), base64_decode(), base64_encode(), FWTableViewTableManager::cellRenderer(), LMFDat::check(), StorageFactory::check(), popcon::EcalLaserHandler::checkAPDPN(), popcon::EcalLaserHandler::checkAPDPNs(), DTCalibrationMap::checkGranularity(), cond::DbSession::classNameForItem(), ora::MappingRules::classNameFromBaseId(), ora::MappingRules::classVersionFromId(), AdaptiveVertexReconstructor::cleanUp(), AdaptiveVertexReconstructor::cleanUpVertices(), ecaldqm::cloneIt(), ora::MappingRules::columnNameForNamedReference(), ora::MappingRules::columnNameForOID(), ora::MappingRules::columnNameForRefId(), ora::MappingRules::columnNameForRefMetadata(), ora::MappingRules::columnNameForVariable(), cond::DbScopedTransaction::commit(), DCCTBBlockPrototype::compare(), DCCTBEventBlock::compare(), edm::StreamSerializer::compressBuffer(), computeAverageRMS(), computeMinRMS(), ora::OraMappingSchema::containerForMappingVersion(), coralMessageLevel(), TtFullHadKinFitter::KinFit::corJet(), pat::strbitset::count(), ConstrainedTreeBuilderT::covarianceMatrix(), JetIDSelectionFunctor::craft08Cuts(), cond::IOVEditor::createIOVContainerIfNecessary(), reco::CompositeCandidate::daughter(), reco::NamedCompositeCandidate::daughter(), DDDWorld::DDDWorld(), cond::Cipher::decrypt(), ora::ClassUtils::demangledName(), pat::helper::ParametrizationHelper::diffToParameters(), edm::DisableLoggedErrorsSummary(), evf::MasterQueue::disconnect(), edm::FUShmOutputModule::doOutputEvent(), edm::FUShmOutputModule::doOutputHeader(), pat::GenericDuplicateRemover< Comparator, Arbitrator >::duplicates(), pat::PATObject< ObjectType >::efficiencies(), edm::EnableLoggedErrorsSummary(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::end(), MuonGeometryArrange::endHist(), DCCTBEventBlock::eventErrorString(), DCCTBEventBlock::eventHasErrors(), ora::DeleteOperation::execute(), ora::UpdateOperation::execute(), ora::existAttribute(), LMFUnique::exists(), cond::IOVSchemaUtility::existsIOVContainer(), ora::ContainerSchema::extendIfRequired(), DDLParser::extractFileName(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), edm::service::ProcInfoFetcher::fetch(), LMFSeqDat::fetchByRunNumber(), EcalCondDBInterface::fetchFEDelaysForRun(), LMFSeqDat::fetchLast(), EcalCondDBInterface::fetchLMFRunIOV(), ora::DatabaseSession::fetchObjectByName(), edm::service::SimpleMemoryCheck::fetchSmaps(), ora::DatabaseSession::fetchTypedObjectByName(), StopAfterNEvents::filter(), SimpleEventFilter::filter(), SimpleJetFilter::filter(), pat::GenericOverlapFinder< Distance >::find(), EcalDQMBinningService::findBins(), EcalDQMBinningService::findBinsNoMap(), fwlite::EntryFinder::findEvent(), fwlite::EntryFinder::findLumi(), fwlite::EntryFinder::findRun(), PFJetIDSelectionFunctor::firstDataCuts(), ElectronVPlusJetsIDSelectionFunctor::firstDataCuts(), MuonVPlusJetsIDSelectionFunctor::firstDataCuts(), MultiVertexFitter::fit(), KFTrajectoryFitter::fit(), ora::MappingRules::fkNameForIdentity(), ora::RelationalBuffer::flush(), DCCTBBlockPrototype::formatString(), cond::IOVEditor::freeInsert(), FsmwClusterizer1DNameSpace::fsmw(), JetIDSelectionFunctor::fwd09Cuts(), GCTEnergyTrunc(), pat::PATObject< ObjectType >::genParticleRefs(), coral_bridge::AuthenticationCredentialSet::get(), pat::Flags::get(), SiStripPedestals::get10bits(), SiStripNoises::get9bits(), ora::CondMetadataTable::getAllNames(), ora::OraNamingServiceTable::getAllNames(), pat::EventHypothesis::getAs(), ora::MappingDatabase::getBaseMappingForContainer(), PropagateToMuon::getBestDet(), Selector< pat::Electron >::getBitTemplate(), ora::PoolMappingSchema::getClassVersionListForContainer(), ora::OraMappingSchema::getClassVersionListForContainer(), ora::OraMappingSchema::getClassVersionListForMappingVersion(), ora::PoolMappingSchema::getClassVersionListForMappingVersion(), LMFDefFabric::getColor(), LMFColoredTable::getColor(), LMFDefFabric::getColorFromID(), ora::PoolContainerHeaderTable::getContainerData(), ora::OraMappingSchema::getContainerTableMap(), LMFCorrCoefDat::getCorrections(), pos::PixelGlobalDelay25::getCyclicDelay(), LMFDat::getData(), pos::PixelGlobalDelay25::getDelay(), ora::OraMappingSchema::getDependentClassesInContainerMapping(), ora::MappingDatabase::getDependentMappingsForContainer(), ECalSD::getDepth(), EcalCondDBInterface::getEcalLogicID2LmrMap(), EcalCondDBInterface::getEcalLogicIDMappedTo(), ora::Properties::getFlag(), UtilsClient::getHisto(), HcalUtilsClient::getHisto(), DCCTBDataParser::getIndexedData(), LMFUnique::getInt(), LMFLmrSubIOV::getIOVIDsLaterThan(), ora::IteratorBuffer::getItem(), DTOccupancyCluster::getLayerIDs(), L1RPCConeBuilder::TCompressedCon::getLogStrip(), ora::PoolMappingSchema::getMapping(), ora::OraMappingSchema::getMapping(), ora::MappingDatabase::getMappingByVersion(), ora::MappingDatabase::getMappingForContainer(), ora::PoolMappingSchema::getMappingVersionListForContainer(), ora::OraMappingSchema::getMappingVersionListForContainer(), ora::OraMappingSchema::getMappingVersionListForTable(), TestFunct::GetMetadata(), TrackerMuonHitExtractor::getMuonHits(), ora::TransactionCache::getNamedReference(), ora::CondMetadataTable::getNamesForContainer(), ora::OraNamingServiceTable::getNamesForContainer(), ora::OraNamingServiceTable::getNamesForObject(), ora::CondMetadataTable::getNamesForObject(), DDLParser::getNameSpace(), ora::CondMetadataTable::getObjectByName(), ora::OraNamingServiceTable::getObjectByName(), evf::iDie::lsStat::getOffendersVector(), LMFCorrCoefDat::getParameters(), ora::OraMainTable::getParameters(), RPCPacData::getPatternsGroupDescription(), edm::pdtentry::getPdtEntryVector(), ora::Properties::getProperty(), LMFCorrCoefDat::getSubIOVIDs(), LMFColoredTable::getSystem(), FWTriggerTableViewTableManager::getTitles(), FWTableViewTableManager::getTitles(), RPCStripsRing::getTowerForRefRing(), pos::PixelGlobalDelay25::getTTCrxDelay(), edm::MultiAssociation< C >::getValues(), ora::OraMappingSchema::getVersionList(), ora::PoolMappingSchema::getVersionList(), JetCharge::getWeight(), L1GtTriggerMenuXmlParser::getXMLAttribute(), L1GtTriggerMenuXmlParser::getXMLTextValue(), ecalpyutils::hashedIndexToEtaPhi(), ecalpyutils::hashedIndexToXY(), hsm_3d(), ora::PoolDbCache::idByName(), cond::DbSession::importObject(), reco::HitPattern::innermostMuonStationWithHits(), cond::IOVEditor::insert(), reco::parser::LazyInvoker::invoke(), evf::ServiceWebRegistry::invoke(), reco::parser::SingleInvoker::invoke(), reco::parser::LazyInvoker::invokeLast(), DTHitPairForFit::isCompatible(), DDLRotationAndReflection::isLeftHanded(), ora::DatabaseSession::isTransactionActive(), ora::ClassUtils::isType(), LMFSeqDat::isValid(), LMFRunTag::isValid(), LMFRunIOV::isValid(), LMFLaserPulseDat::isValid(), LMFClsDat::isValid(), LMFDat::isValid(), LMFPrimDat::isValid(), LMFColor::isValid(), LMFPnPrimDat::isValid(), reco::parser::ExpressionVar::isValidReturnType(), hitfit::Lepjets_Event::jet_types(), hitfit::jetTypeString(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), xmas2dqm::wse::XmasToDQM::LASReadoutWorkLoop(), ora::PoolContainerHeaderTable::lockContainer(), ora::OraContainerHeaderTable::lockContainer(), cond::KeyGenerator::make(), IsoDepositVetoFactory::make(), helper::Parser::makeExpression(), helper::Parser::makeSelector(), reco::parser::ExpressionVar::makeStorage(), edm::Factory::makeWorker(), DTRecHitQuality::map1DRecHitsPerWire(), DTCalibValidation::map1DRecHitsPerWire(), GlobalRecHitsAnalyzer::map1DRecHitsPerWire(), GlobalRecHitsProducer::map1DRecHitsPerWire(), DTHitQualityUtils::mapMuSimHitsPerWire(), pat::Flags::maskToString(), EcalCleaningAlgo::neighbours(), ora::SelectOperation::nextCursorRow(), reco::parser::ExpressionVar::objToDouble(), StorageFactory::open(), pat::operator&(), MtvClusterizer1D< T >::operator()(), JetIDStudiesSelector::operator()(), DDCompareDBLVEC::operator()(), PFJetIDSelectionFunctor::operator()(), ato< bool >::operator()(), MultiClusterizer1D< T >::operator()(), WSelector::operator()(), WPlusJetsEventSelector::operator()(), FsmwModeFinder3d::operator()(), PVObjectSelector::operator()(), RunLumiSelector::operator()(), DDCompareSolid::operator()(), DDCompareEPV::operator()(), SubsetHsmModeFinder3d::operator()(), DDCompareBoolSol::operator()(), FsmwClusterizer1D< T >::operator()(), DDCompareDDRotMat::operator()(), DDCompareDDTrans::operator()(), DDCompareCPV::operator()(), DDCompareDDRot::operator()(), OutermostClusterizer1D< T >::operator()(), DDCompareLP::operator()(), JetIDSelectionFunctor::operator()(), Tm::operator+(), stor::ConsumerID::operator++(), smproxy::ConnectionID::operator++(), pat::operator^(), pat::operator|(), pat::strbitset::operator~(), reco::HitPattern::outermostMuonStationWithHits(), reco::modules::TrackMultiSelector::Block::p2p(), pat::helper::ParametrizationHelper::p4fromParameters(), pat::helper::ParametrizationHelper::parametersFromP4(), pat::helper::RefHelper< T >::parentOrSelf(), pat::helper::ParametrizationHelper::polarP4fromParameters(), helper::ScannerBase::print(), TrackerMap::printall(), TrackerMap::printonline(), JetChargeProducer::produce(), ParticleReplacerClass::produce(), CandIsolatorFromDeposits::produce(), RPCpg::rate(), RCTEnergyTrunc(), LocalFileSystem::readFSTypes(), ora::MappingElement::recordIdColumns(), helpers::CompositePtrCandidateMaker::release(), helpers::NamedCompositeCandidateMaker::release(), helpers::CompositeCandidateMaker::release(), ora::Properties::removeFlag(), ora::Properties::removeProperty(), cond::DbScopedTransaction::rollback(), cond::Utilities::run(), TrackerMap::save_as_fectrackermap(), TrackerMap::save_as_HVtrackermap(), TrackerMap::save_as_psutrackermap(), evf::FUEventProcessor::scalers(), cond::schemaLabel(), CocoaToDDLMgr::scrubString(), KDTreeLinkerTrackHcal::searchLinks(), KDTreeLinkerTrackEcal::searchLinks(), KDTreeLinkerPSEcal::searchLinks(), ora::PoolMappingSchema::selectMappingVersion(), ora::OraMappingSchema::selectMappingVersion(), edm::FUShmOutputModule::sendPostponedInitMsg(), ora::MappingRules::sequenceNameForContainer(), ora::MappingRules::sequenceNameForDependentClass(), LogErrorEventFilter::serialize(), EcalElectronicsMapper::setActiveDCC(), EcalUncalibRecHitWorkerFixedAlphaBetaFit::setAlphaBeta(), PFElectronAlgo::SetLinks(), cond::CredentialStore::setPermission(), ora::Properties::setProperty(), PhiSymmetryCalibration::setUp(), PhiSymmetryCalibration_step2_SM::setUp(), PhiSymmetryCalibration_step2::setUp(), ora::MappingRules::shortScopedName(), pat::VertexAssociationSelector::simpleAssociation(), DTResolutionTest::slFromBin(), DTtTrigDBValidation::slFromBin(), DTResolutionAnalysisTest::slFromBin(), MuonRoadTrajectoryBuilder::smooth(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), SimpleCutBasedElectronIDSelectionFunctor::spring10Variables(), PFMuonSelector::spring11Cuts(), PFElectronSelector::spring11Cuts(), cond::DbScopedTransaction::start(), MatcherUsingTracksAlgorithm::startingState(), PropagateToMuon::startingState(), ora::Monitoring::startSession(), LocalFileSystem::statFSInfo(), evf::MasterQueue::status(), cond::DbSession::storeObject(), StringToEnumValue(), edm::TypeID::stripNamespace(), evf::FUEventProcessor::summarize(), MuonVPlusJetsIDSelectionFunctor::summer08Cuts(), IOChannel::sysclose(), File::sysclose(), FWTableViewManager::tableFormats(), FWTableViewManager::tableFormatsImpl(), ora::MappingTree::tables(), MatcherUsingTracksAlgorithm::targetState(), ora::OraDatabaseSchema::testDropPermission(), TrackerMap::TrackerMap(), KFTrajectorySmoother::trajectories(), TrajectoryBuilder::trajectories(), GroupedCkfTrajectoryBuilder::trajectories(), TangentApproachInRPhi::trajectoryParameters(), ClosestApproachInRPhi::trajectoryParameters(), edm::EventBase::triggerNames_(), cond::IOVEditor::truncate(), ora::UniqueRef< T >::typeInfo(), edm::StreamerInputSource::uncompressBuffer(), Basic3DVector< long double >::unit(), ora::ClassUtils::upCast(), cond::DbSession::updateObject(), reco::parser::ExpressionLazyVar::value(), StreamerOutputFile::write(), popcon::PopCon::write(), LMFDat::writeDB(), LMFCorrCoefDatComponent::writeDB(), LMFColoredTable::writeDB(), StreamerOutputFile::writeEOF(), StreamerOutputFile::writeEventFragment(), StreamerOutputFile::writeEventHeader(), StreamerOutputFile::writeInitFragment(), FUShmDQMOutputService::writeShmDQMData(), and StreamerOutputFile::writeStart().

Definition at line 171 of file runTheMatrix.py.

Referenced by QTestConfigurationParser::monitorElementTestsMap().

string runTheMatrix::usage = 'usage: runTheMatrix.py --show -s '

Definition at line 68 of file runTheMatrix.py.