test
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']
 
int default = 3000
 
string dest = 'memoryOffset'
 
string help = 'memory of the wf for single core'
 
 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 234 of file runTheMatrix.py.

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

Variable Documentation

string runTheMatrix.action = 'store_true'

Definition at line 102 of file runTheMatrix.py.

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

Definition at line 152 of file runTheMatrix.py.

string runTheMatrix.default = 3000

Definition at line 80 of file runTheMatrix.py.

string runTheMatrix.dest = 'memoryOffset'

Definition at line 79 of file runTheMatrix.py.

string runTheMatrix.help = 'memory of the wf for single core'

Definition at line 78 of file runTheMatrix.py.

runTheMatrix.mapped = False

Definition at line 250 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 75 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  1000, #data+prompt
7  1001, #data+express
8  136.731, #2016B Photon data
9  140.53, #2011 HI data
10  1330, #Run2 MC Zmm
11  135.4, #Run 2 Zee ttbar
12  10021.0, #2017 tenmu
13  10024.0, #2017 ttbar
14  20034.0, #2023D7 ttbar (Run2 calo)
15  23234.0, #2023D8 ttbar (HGCal + timing)
16  21234.0, #2024D4 ttbar (TDR baseline Tracker)
17  ],
18  'jetmc': [5.1, 13, 15, 25, 38, 39], #MC
19  'metmc' : [5.1, 15, 25, 37, 38, 39], #MC
20  'muonmc' : [5.1, 124.4, 124.5, 20, 21, 22, 23, 25, 30], #MC
21  }

Definition at line 49 of file runTheMatrix.py.

tuple runTheMatrix.ret = showRaw(opt)

prodAgent to be discontinued

Definition at line 278 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(), 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(), 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(), 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(), PFJetIDSelectionFunctor.firstDataCuts(), MuonVPlusJetsIDSelectionFunctor.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(), 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(), SiStripBadModuleFedErrESSource.getFedBadChannelList(), ora::Properties.getFlag(), 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(), HGCalTriggerGeometryImp1.initialize(), 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(), TrackingNtuple.matchCluster(), 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()(), OutermostClusterizer1D< T >.operator()(), DDCompareEPV.operator()(), WSelector.operator()(), RunLumiSelector.operator()(), PVObjectSelector.operator()(), WPlusJetsEventSelector.operator()(), DDCompareCPV.operator()(), DDCompareLP.operator()(), DDCompareSolid.operator()(), DDCompareDBLVEC.operator()(), VersionedSelector< edm::Ptr< reco::Photon > >.operator()(), DDCompareBoolSol.operator()(), DDCompareDDTrans.operator()(), DDCompareDDRot.operator()(), JetIDStudiesSelector.operator()(), DDCompareDDRotMat.operator()(), PFJetIDSelectionFunctor.operator()(), JetIDSelectionFunctor.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(), ClusterCheckerEDProducer.produce(), JetChargeProducer.produce(), TrackingParticleConversionRefSelector.produce(), TrackingParticleNumberOfLayersProducer.produce(), pat::helper::AnythingToValueMap< Adaptor, Collection, value_type >.produce(), JetTracksAssociationToTrackRefs.produce(), TrackingRegionEDProducerT< T_TrackingRegionProducer >.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(), EcalElectronicsMapper.setActiveDCC(), EcalUncalibRecHitWorkerFixedAlphaBetaFit.setAlphaBeta(), PFElectronAlgo.SetLinks(), cond::CredentialStore.setPermission(), ora::Properties.setProperty(), PhiSymmetryCalibration_step2_SM.setUp(), PhiSymmetryCalibration_step2.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(), MaxLostHitsTrajectoryFilter.TBC(), MaxHitsTrajectoryFilter.TBC(), SeedExtensionTrajectoryFilter.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 247 of file runTheMatrix.py.

Referenced by QTestConfigurationParser.monitorElementTestsMap().

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

Definition at line 73 of file runTheMatrix.py.