CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
runTheMatrix Namespace Reference

Functions

def runSelected
 
def showRaw
 
def stepOrIndex
 

Variables

string action = 'store_true'
 
list choices = ['init','test','submit','force']
 
string default = ''
 
string dest = 'batchName'
 
string help = 'relval batch: suffix to be appended to Campaign name'
 
 mapped = False
 
tuple parser = optparse.OptionParser(usage)
 
dictionary predefinedSet
 
tuple ret = showRaw(opt)
 prodAgent to be discontinued More...
 
list testList = []
 
string usage = 'usage: runTheMatrix.py --show -s '
 

Function Documentation

def runTheMatrix.runSelected (   opt)

Definition at line 19 of file runTheMatrix.py.

19 
20 def runSelected(opt):
21 
22  mrd = MatrixReader(opt)
23  mrd.prepare(opt.useInput, opt.refRel, opt.fromScratch)
24 
25  ret = 0
26  if opt.show:
27  mrd.show(opt.testList, opt.extended, opt.cafVeto)
28  if opt.testList : print 'testListected items:', opt.testList
29  else:
30  mRunnerHi = MatrixRunner(mrd.workFlows, opt.nProcs, opt.nThreads)
31  ret = mRunnerHi.runTests(opt)
32 
33  if opt.wmcontrol:
34  if ret!=0:
35  print 'Cannot go on with wmagent injection with failing workflows'
36  else:
37  wfInjector = MatrixInjector(opt,mode=opt.wmcontrol,options=opt.wmoptions)
38  ret= wfInjector.prepare(mrd,
39  mRunnerHi.runDirs)
40  if ret==0:
41  wfInjector.upload()
42  wfInjector.submit()
43  return ret
44 
45 # ================================================================================
def runTheMatrix.showRaw (   opt)

Definition at line 10 of file runTheMatrix.py.

10 
11 def showRaw(opt):
12 
13  mrd = MatrixReader(opt)
14  mrd.showRaw(opt.useInput, opt.refRel, opt.fromScratch, opt.raw, opt.step1Only, selected=opt.testList)
15 
16  return 0
17 
18 # ================================================================================
def runTheMatrix.stepOrIndex (   s)

Definition at line 235 of file runTheMatrix.py.

236  def stepOrIndex(s):
237  if s.isdigit():
238  return int(s)
239  else:
return s

Variable Documentation

string runTheMatrix.action = 'store_true'

Definition at line 103 of file runTheMatrix.py.

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

Definition at line 153 of file runTheMatrix.py.

string runTheMatrix.default = ''

Definition at line 75 of file runTheMatrix.py.

string runTheMatrix.dest = 'batchName'

Definition at line 74 of file runTheMatrix.py.

string runTheMatrix.help = 'relval batch: suffix to be appended to Campaign name'

Definition at line 73 of file runTheMatrix.py.

runTheMatrix.mapped = False

Definition at line 251 of file runTheMatrix.py.

Referenced by npstat::ArrayND< Numeric, StackLen, StackDim >.marginalize(), and npstat::ArrayND< Numeric, StackLen, StackDim >.marginalizeLoop().

tuple runTheMatrix.parser = optparse.OptionParser(usage)

Definition at line 70 of file runTheMatrix.py.

dictionary runTheMatrix.predefinedSet
Initial value:
1 = {
2  'limited' : [5.1, #FastSim ttbar
3  8, #BH/Cosmic MC
4  25, #MC ttbar
5  4.22, #cosmic data
6  4.53, #run1 data + miniAOD
7  1000, #data+prompt
8  1001, #data+express
9  136.731, #2016B Photon data
10  140.53, #2011 HI data
11  1330, #Run2 MC Zmm
12  ],
13  'jetmc': [5.1, 13, 15, 25, 38, 39], #MC
14  'metmc' : [5.1, 15, 25, 37, 38, 39], #MC
15  'muonmc' : [5.1, 124.4, 124.5, 20, 21, 22, 23, 25, 30], #MC
16  }

Definition at line 49 of file runTheMatrix.py.

tuple runTheMatrix.ret = showRaw(opt)

prodAgent to be discontinued

Definition at line 279 of file runTheMatrix.py.

Referenced by __attribute__(), Selection< C, Selector, StoreContainer >.acceptMap(), TrajectorySegmentBuilder.addGroup(), edm::ProductRegistry.addLabelAlias(), edm::ProductRegistry.addProduct(), edm::eventsetup::ComponentFactory< T >.addTo(), pat::EventHypothesis.all(), pat::helper::RefHelper< T >.ancestorOrSelf(), apply(), VertexAssociatorByPositionAndTracks.associateRecoToSim(), VertexAssociatorByPositionAndTracks.associateSimToReco(), associationMapFilterValues(), cond::auth::Cipher.b64decrypt(), cond::auth::Cipher.b64encrypt(), base64_decode(), base64_encode(), cond::persistency::Query< Types...>.begin(), edm::TypeWithDict.byName(), FWTableViewTableManager.cellRenderer(), StorageFactory.check(), LMFDat.check(), popcon::EcalLaserHandler.checkAPDPN(), popcon::EcalLaserHandler.checkAPDPNs(), DTCalibrationMap.checkGranularity(), ora::MappingRules.classNameFromBaseId(), ora::MappingRules.classVersionFromId(), AdaptiveVertexReconstructor.cleanUp(), AdaptiveVertexReconstructor.cleanUpVertices(), HepMCSplitter.cntStableParticles(), ora::MappingRules.columnNameForNamedReference(), ora::MappingRules.columnNameForOID(), ora::MappingRules.columnNameForRefId(), ora::MappingRules.columnNameForRefMetadata(), ora::MappingRules.columnNameForVariable(), DCCTBEventBlock.compare(), DCCTBBlockPrototype.compare(), edm::StreamSerializer.compressBuffer(), computeAverageRMS(), computeMinRMS(), ora::OraMappingSchema.containerForMappingVersion(), coralMessageLevel(), TtFullHadKinFitter::KinFit.corJet(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >.count(), pat::strbitset.count(), ConstrainedTreeBuilderT.covarianceMatrix(), JetIDSelectionFunctor.craft08Cuts(), Qjets.d_ij(), reco::NamedCompositeCandidate.daughter(), reco::CompositeCandidate.daughter(), DDDWorld.DDDWorld(), cond::auth::Cipher.decrypt(), spu.def(), ora::ClassUtils.demangledName(), pat::helper::ParametrizationHelper.diffToParameters(), edm.DisableLoggedErrorsSummary(), dot(), dot2(), pat::GenericDuplicateRemover< Comparator, Arbitrator >.duplicates(), pat::PATObject< ObjectType >.efficiencies(), edm.EnableLoggedErrorsSummary(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.end(), MuonGeometryArrange.endHist(), DCCTBEventBlock.eventErrorString(), DCCTBEventBlock.eventHasErrors(), ora::UpdateOperation.execute(), ora::DeleteOperation.execute(), ora.existAttribute(), LMFUnique.exists(), ora::ContainerSchema.extendIfRequired(), DDLParser.extractFileName(), MuonVPlusJetsIDSelectionFunctor.fall10Cuts(), edm::service::ProcInfoFetcher.fetch(), cond::persistency::PayloadReader.fetch(), LMFSeqDat.fetchByRunNumber(), EcalCondDBInterface.fetchFEDelaysForRun(), LMFSeqDat.fetchLast(), EcalCondDBInterface.fetchLMFRunIOV(), ora::DatabaseSession.fetchObjectByName(), cond::persistency::Session.fetchPayload(), edm::service::SimpleMemoryCheck.fetchSmaps(), ora::DatabaseSession.fetchTypedObjectByName(), CounterChecker.Fill(), LzmaFile.FillArray(), LHEXMLStringProduct.fillCompressedContent(), StopAfterNEvents.filter(), SimpleEventFilter.filter(), DYGenFilter.filter(), SimpleJetFilter.filter(), CrossingPtBasedLinearizationPointFinder.find(), pat::GenericOverlapFinder< Distance >.find(), CaloSpecificAlgo.find_DetId_of_ECAL_cell_in_constituent_of(), CaloSpecificAlgo.find_DetId_of_HCAL_cell_in_constituent_of(), reco.findDataMember(), fwlite::EntryFinder.findEvent(), fwlite::EntryFinder.findLumi(), edm::Factory.findMaker(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >.findPathAndFilter(), fwlite::EntryFinder.findRun(), ElectronVPlusJetsIDSelectionFunctor.firstDataCuts(), MuonVPlusJetsIDSelectionFunctor.firstDataCuts(), PFJetIDSelectionFunctor.firstDataCuts(), MultiVertexFitter.fit(), KFTrajectoryFitter.fitOne(), ora::MappingRules.fkNameForIdentity(), ora::RelationalBuffer.flush(), cond::persistency::GTEditor.flush(), cond::persistency::IOVEditor.flush(), DCCTBBlockPrototype.formatString(), approx_math.fpfloor(), FsmwClusterizer1DNameSpace.fsmw(), JetIDSelectionFunctor.fwd09Cuts(), pat::PATObject< ObjectType >.genParticleRefs(), pat::Flags.get(), coral_bridge::AuthenticationCredentialSet.get(), SiStripPedestals.get10bits(), SiStripNoises.get9bits(), AnaMuonCaloCleaner.getAllKeys(), TestMuonCaloCleaner.getAllKeys(), ora::OraNamingServiceTable.getAllNames(), ora::CondMetadataTable.getAllNames(), pat::EventHypothesis.getAs(), ora::MappingDatabase.getBaseMappingForContainer(), PropagateToMuon.getBestDet(), Selector< edm::Ptr< reco::Photon > >.getBitTemplate(), ora::ClassUtils.getClassProperty(), ora::OraMappingSchema.getClassVersionListForContainer(), ora::PoolMappingSchema.getClassVersionListForContainer(), ora::OraMappingSchema.getClassVersionListForMappingVersion(), ora::PoolMappingSchema.getClassVersionListForMappingVersion(), LMFColoredTable.getColor(), LMFDefFabric.getColor(), LMFDefFabric.getColorFromID(), ora::OraContainerHeaderTable.getContainerData(), ora::PoolContainerHeaderTable.getContainerData(), ora::OraMappingSchema.getContainerTableMap(), LMFCorrCoefDat.getCorrections(), pos::PixelGlobalDelay25.getCyclicDelay(), LMFDat.getData(), ora::ClassUtils.getDataMemberProperty(), pos::PixelGlobalDelay25.getDelay(), ora::OraMappingSchema.getDependentClassesInContainerMapping(), ora::MappingDatabase.getDependentMappingsForContainer(), EcalCondDBInterface.getEcalLogicID2LmrMap(), EcalCondDBInterface.getEcalLogicIDMappedTo(), FedRawDataInputSource.getEventReport(), ora::Properties.getFlag(), HcalUtilsClient.getHisto(), DCCTBDataParser.getIndexedData(), LMFUnique.getInt(), LMFLmrSubIOV.getIOVIDsLaterThan(), ora::IteratorBuffer.getItem(), cond::persistency::IOVProxy.getLast(), DTOccupancyCluster.getLayerIDs(), L1RPCConeBuilder::TCompressedCon.getLogStrip(), ora::OraMappingSchema.getMapping(), ora::PoolMappingSchema.getMapping(), ora::MappingDatabase.getMappingByVersion(), ora::MappingDatabase.getMappingForContainer(), ora::OraMappingSchema.getMappingVersionListForContainer(), ora::PoolMappingSchema.getMappingVersionListForContainer(), ora::OraMappingSchema.getMappingVersionListForTable(), cond::persistency::IOVProxy.getMetadata(), TrackerMuonHitExtractor.getMuonHits(), ora::TransactionCache.getNamedReference(), VertexRecoManager.getNames(), VertexFitterManager.getNames(), ora::OraNamingServiceTable.getNamesForContainer(), ora::CondMetadataTable.getNamesForContainer(), ora::OraNamingServiceTable.getNamesForObject(), ora::CondMetadataTable.getNamesForObject(), DDLParser.getNameSpace(), Qjets.GetNextDistance(), getNextSequenceValue(), ora::OraNamingServiceTable.getObjectByName(), ora::CondMetadataTable.getObjectByName(), DropBoxMetadata::Parameters.getParameter(), ora::OraMainTable.getParameters(), LMFCorrCoefDat.getParameters(), RPCPacData.getPatternsGroupDescription(), edm::pdtentry.getPdtEntryVector(), ora::Properties.getProperty(), ora::QueryableVectorLoader.getSelectionCount(), evf::EvFDaqDirector.getStreamDestinations(), 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(), SeedingLayerSetsHits.hits(), hsm_3d(), ora::PoolDbCache.idByName(), spu.inf(), initialize(), reco::HitPattern.innermostMuonStationWithHits(), reco::parser::MethodInvoker.invoke(), reco::parser::SingleInvoker.invoke(), reco::parser::LazyInvoker.invoke(), reco::parser::LazyInvoker.invokeLast(), DTHitPairForFit.isCompatible(), DDLRotationAndReflection.isLeftHanded(), ora::DatabaseSession.isTransactionActive(), ora::ClassUtils.isType(), LMFRunTag.isValid(), LMFColor.isValid(), LMFSeqDat.isValid(), LMFRunIOV.isValid(), L1TwinMux::PrimitiveCombiner.isValid(), LMFClsDat.isValid(), LMFLaserPulseDat.isValid(), LMFPnPrimDat.isValid(), LMFPrimDat.isValid(), LMFDat.isValid(), reco::parser::ExpressionVar.isValidReturnType(), hitfit::Lepjets_Event.jet_types(), hitfit.jetTypeString(), MuonVPlusJetsIDSelectionFunctor.kitQCDCuts(), ora::QueryableVectorLoader.load(), ora::QueryableVectorLoader.loadSelection(), ora::OraContainerHeaderTable.lockContainer(), ora::PoolContainerHeaderTable.lockContainer(), main(), IsoDepositVetoFactory.make(), cond::auth::KeyGenerator.make(), make_array(), helper::Parser.makeExpression(), cond.makeIov(), StripCompactDigiSimLinks.makeReverseMap(), helper::Parser.makeSelector(), ora::Object.makeShared(), reco::parser::ExpressionVar.makeStorage(), DTCalibValidation.map1DRecHitsPerWire(), DTRecHitQuality.map1DRecHitsPerWire(), GlobalRecHitsAnalyzer.map1DRecHitsPerWire(), GlobalRecHitsProducer.map1DRecHitsPerWire(), DTHitQualityUtils.mapMuSimHitsPerWire(), pat::Flags.maskToString(), TrackMerger.merge(), EcalCleaningAlgo.neighbours(), cond::persistency::Query< Types...>.next(), ora::SelectOperation.nextCursorRow(), reco::parser::ExpressionVar.objToDouble(), StorageFactory.open(), pat.operator&(), SubsetHsmModeFinder3d.operator()(), MtvClusterizer1D< T >.operator()(), FsmwClusterizer1D< T >.operator()(), FsmwModeFinder3d.operator()(), MultiClusterizer1D< T >.operator()(), DDCompareEPV.operator()(), OutermostClusterizer1D< T >.operator()(), DDCompareCPV.operator()(), WSelector.operator()(), RunLumiSelector.operator()(), PVObjectSelector.operator()(), WPlusJetsEventSelector.operator()(), DDCompareLP.operator()(), DDCompareSolid.operator()(), DDCompareDBLVEC.operator()(), DDCompareBoolSol.operator()(), VersionedSelector< edm::Ptr< reco::Photon > >.operator()(), DDCompareDDTrans.operator()(), DDCompareDDRot.operator()(), DDCompareDDRotMat.operator()(), JetIDStudiesSelector.operator()(), JetIDSelectionFunctor.operator()(), PFJetIDSelectionFunctor.operator()(), cond::persistency::GetFromRow< std::array< char, n > >.operator()(), Tm.operator+(), pat.operator^(), pat.operator|(), pat::strbitset.operator~(), reco::HitPattern.outermostMuonStationWithHits(), TrackMultiSelector::Block.p2p(), pat::helper::ParametrizationHelper.p4fromParameters(), pat::helper::ParametrizationHelper.parametersFromP4(), pat::helper::RefHelper< T >.parentOrSelf(), VoronoiAlgorithm.particle_area(), VoronoiAlgorithm.particle_incident(), pat::PackedCandidate.phiAtVtx(), pat::helper::ParametrizationHelper.polarP4fromParameters(), helper::ScannerBase.print(), TrackerMap.printall(), TrackerMap.printonline(), JetChargeProducer.produce(), TrackingParticleConversionSelector.produce(), TrackingParticleNumberOfLayersProducer.produce(), pat::helper::AnythingToValueMap< Adaptor, Collection, value_type >.produce(), JetTracksAssociationToTrackRefs.produce(), CandIsolatorFromDeposits.produce(), PFCandIsolatorFromDeposits.produce(), BufferedBoostIOESProducer< DataType, MyRecord >.produce(), pat::helper::ManyThingsToValueMaps< Adaptor, Collection, value_type >.produce(), Qjets.Rand(), RPCpg.rate(), lhef::StorageInputStream.readBytes(), LocalFileSystem.readFSTypes(), evf::EvFDaqDirector.readLastLSEntry(), LzmaFile.ReadNextNumber(), ora::Container.realClassName(), LayerMeasurements.recHits(), ora::MappingElement.recordIdColumns(), helpers::NamedCompositeCandidateMaker.release(), helpers::CompositeCandidateMaker.release(), helpers::CompositePtrCandidateMaker.release(), ora::Properties.removeFlag(), ora::Properties.removeProperty(), cond::Utilities.run(), pat::helper::AnyNumberAssociationAdaptor.run(), METAlgo.run(), TrackerMap.save_as_fectrackermap(), TrackerMap.save_as_HVtrackermap(), TrackerMap.save_as_psutrackermap(), cond.schemaLabel(), CocoaToDDLMgr.scrubString(), KDTreeLinkerPSEcal.searchLinks(), KDTreeLinkerTrackEcal.searchLinks(), KDTreeLinkerTrackHcal.searchLinks(), ora::OraMappingSchema.selectMappingVersion(), ora::PoolMappingSchema.selectMappingVersion(), ora::MappingRules.sequenceNameForContainer(), ora::MappingRules.sequenceNameForDependentClass(), cond::persistency::IOVProxy.sequenceSize(), cond.serialize(), LogErrorEventFilter.serialize(), EcalElectronicsMapper.setActiveDCC(), EcalUncalibRecHitWorkerFixedAlphaBetaFit.setAlphaBeta(), PFElectronAlgo.SetLinks(), cond::CredentialStore.setPermission(), ora::Properties.setProperty(), PhiSymmetryCalibration_step2.setUp(), PhiSymmetryCalibration_step2_SM.setUp(), PhiSymmetryCalibration.setUp(), muon.sharedSegments(), pat::MET.shiftedP2(), pat::MET.shiftedP2_74x(), ora::MappingRules.shortScopedName(), pat::VertexAssociationSelector.simpleAssociation(), DTtTrigDBValidation.slFromBin(), DTResolutionAnalysisTest.slFromBin(), DTResolutionTest.slFromBin(), MuonVPlusJetsIDSelectionFunctor.spring10Cuts(), SimpleCutBasedElectronIDSelectionFunctor.spring10Variables(), PFElectronSelector.spring11Cuts(), PropagateToMuon.startingState(), MatcherUsingTracksAlgorithm.startingState(), ora::Monitoring.startSession(), LocalFileSystem.statFSInfo(), lhef::StorageInputStream.StorageInputStream(), cond::persistency::Session.storePayload(), StringToEnumValue(), VoronoiAlgorithm.subtracted_equalized_perp(), VoronoiAlgorithm.subtracted_unequalized_perp(), MuonVPlusJetsIDSelectionFunctor.summer08Cuts(), IOChannel.sysclose(), File.sysclose(), FWTableViewManager.tableFormats(), FWTableViewManager.tableFormatsImpl(), ora::MappingTree.tables(), MatcherUsingTracksAlgorithm.targetState(), MaxConsecLostHitsTrajectoryFilter.TBC(), MaxHitsTrajectoryFilter.TBC(), MaxLostHitsTrajectoryFilter.TBC(), MaxCCCLostHitsTrajectoryFilter.TBC(), LostHitsFractionTrajectoryFilter.TBC(), LooperTrajectoryFilter.TBC(), ora::OraDatabaseSchema.testDropPermission(), MinPtTrajectoryFilter.toBeContinued(), StorageAccount.tokenForStorageClassName(), PFMuonSelector.TopPag12LjetsCuts(), TrackerMap.TrackerMap(), TrajectoryBuilder.trajectories(), GroupedCkfTrajectoryBuilder.trajectories(), KFTrajectorySmoother.trajectory(), TangentApproachInRPhi.trajectoryParameters(), ClosestApproachInRPhi.trajectoryParameters(), edm::EventBase.triggerNames_(), ora::UniqueRef< T >.typeInfo(), edm::StreamerInputSource.uncompressBuffer(), spu.Unzip(), ora::ClassUtils.upCast(), reco::parser::ExpressionVar.value(), reco::parser::ExpressionLazyVar.value(), MultiVertexBSeeder.vertices(), ReconstructorFromFitter.vertices(), MultiVertexReconstructor.vertices(), AdaptiveVertexReconstructor.vertices(), popcon::PopCon.write(), StreamerOutputFile.write(), LHEXMLStringProduct.writeCompressedContent(), LMFCorrCoefDatComponent.writeDB(), LMFColoredTable.writeDB(), LMFDat.writeDB(), StreamerOutputFile.writeEventFragment(), StreamerOutputFile.writeEventHeader(), StreamerOutputFile.writeInitFragment(), and StreamerOutputFile.writeStart().

list runTheMatrix.testList = []

Definition at line 248 of file runTheMatrix.py.

Referenced by QTestConfigurationParser.monitorElementTestsMap().

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

Definition at line 68 of file runTheMatrix.py.