Functions | |
def | adjust_pset (cmsrunfilename, savefilename, par_list) |
def | cleanupandexit (filelist) |
def | uint (string) |
Variables | |
action | |
actual_int_jobs | |
Integrate ##. More... | |
args | |
build_log | |
build_name | |
choices | |
cleanupfiles | |
default | |
help | |
int | |
integration_log | |
integration_name | |
parameters | |
Execute the different run modes. More... | |
parser | |
Get command line arguments. More... | |
process | |
processes | |
Run mode ##. More... | |
run_log | |
run_name | |
shell | |
stderr | |
stdout | |
template_name | |
type | |
uint | |
def parallelization.adjust_pset | ( | cmsrunfilename, | |
savefilename, | |||
par_list | |||
) |
Takes the cmsRun filem, removes all occurences of runMode, jobs, maxJobs and integrationList parameters in the process.generator part. The the parameters in par_list are set instead and saved.
Definition at line 60 of file parallelization.py.
References FastTimerService_cff.range.
def parallelization.cleanupandexit | ( | filelist | ) |
def parallelization.uint | ( | string | ) |
parallelization.action |
Definition at line 126 of file parallelization.py.
parallelization.actual_int_jobs |
Integrate ##.
Definition at line 192 of file parallelization.py.
parallelization.args |
Definition at line 132 of file parallelization.py.
parallelization.build_log |
Definition at line 172 of file parallelization.py.
parallelization.build_name |
Definition at line 159 of file parallelization.py.
parallelization.choices |
Definition at line 123 of file parallelization.py.
parallelization.cleanupfiles |
Definition at line 135 of file parallelization.py.
parallelization.default |
Definition at line 123 of file parallelization.py.
parallelization.help |
Definition at line 122 of file parallelization.py.
parallelization.int |
Definition at line 123 of file parallelization.py.
Referenced by uint().
parallelization.integration_log |
Definition at line 220 of file parallelization.py.
parallelization.integration_name |
Definition at line 211 of file parallelization.py.
parallelization.parameters |
parallelization.parser |
Get command line arguments.
Definition at line 120 of file parallelization.py.
parallelization.process |
Definition at line 172 of file parallelization.py.
parallelization.processes |
Run mode ##.
This part uses the parallelization of the run step provided by Herwig. At the moment it is not usable. if args.run != 0: parameters = ['runModeList = cms.untracked.string(\'run\')'] parameters.append('jobs = cms.untracked.int32(' + str(args.run) + ')')
run_name = template_name + '_run.py' adjust_pset(args.cmsRunfile, run_name, parameters) cleanupfiles.append(run_name)
print 'Setting up {0} run jobs.'.format(str(args.run)) print 'Calling
\'cmsRun ' + run_name + '\' the Herwig run step.'.format(str(args.run)) process = subprocess.Popen(['cmsRun ' + run_name], shell=True) process.wait() print '------------——' print 'Run step finished.' print '------------——' This is the alternative for a paralellized run step. cmsRun is called as often as give with the option -r/–run. So the total number of generated events is a corresponding multiple of the number of events given in the cmsRun file.
Definition at line 205 of file parallelization.py.
parallelization.run_log |
Definition at line 295 of file parallelization.py.
parallelization.run_name |
Definition at line 272 of file parallelization.py.
parallelization.shell |
Definition at line 174 of file parallelization.py.
parallelization.stderr |
Definition at line 172 of file parallelization.py.
parallelization.stdout |
Definition at line 172 of file parallelization.py.
parallelization.template_name |
Definition at line 138 of file parallelization.py.
parallelization.type |
Definition at line 123 of file parallelization.py.
parallelization.uint |
Definition at line 124 of file parallelization.py.
Referenced by SiStripMonitorDigi.AddApvShotsToSubDet(), FWRecoGeometryESProducer.addCaloGeometry(), L1Scalers.analyze(), SiStripMonitorHLT.analyze(), SiStripMonitorDigi.analyze(), MonitorTrackResidualsBase< pixel_or_strip >.analyze(), SiStripMonitorCluster.analyze(), SiPixelTrackResidualSource.analyze(), SiPixelHitEfficiencySource.analyze(), TkConvValidator.analyze(), SiStripNoisesFromDBMiscalibrator.analyze(), JetHTAnalyzer.analyze(), L1TS2PFJetInputPatternWriter.analyze(), MuIsoValidation.analyze(), L1Validator.analyze(), TrackingMonitor.analyze(), ZToMuMuGammaAnalyzer.analyze(), SplitVertexResolution.analyze(), PhotonAnalyzer.analyze(), SiPixelPhase1RawDataErrorComparator.analyze(), OverlapValidation.analyzeTrajectory(), Phase2L1TGMTFwdMuonTranslator.associateStubs(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2.beginEvent(), SiPixelLorentzAnglePCLHarvester.beginRun(), SiPixelLorentzAnglePCLHarvesterMCS.beginRun(), PhotonOfflineClient.book2DHistoVector(), PhotonAnalyzer.book2DHistoVector(), PhotonOfflineClient.book3DHistoVector(), PhotonAnalyzer.book3DHistoVector(), L1Scalers.bookHistograms(), SiPixelMonitorTrackSoA< T >.bookHistograms(), SiPixelMonitorTrackSoAAlpaka< T >.bookHistograms(), TrackingMonitor.bookHistograms(), PhotonAnalyzer.bookHistogramsEfficiency(), TriggerDQMBase.bookME(), TrackerOfflineValidation.bookSummaryHists(), CmsMTDConstruction< FilteredView >.buildBTLModule(), L1TPhase2GMTEndcapStubProcessor.buildCSCOnlyStub(), CmsMTDConstruction< FilteredView >.buildETLModule(), L1TPhase2GMTEndcapStubProcessor.buildRPCOnlyStub(), L1TPhase2GMTBarrelStubProcessor.buildStub(), L1TMuonBarrelKalmanStubProcessor.buildStub(), L1TPhase2GMTBarrelStubProcessor.buildStubNoEta(), L1MetPfProducer.CalcMetHLS(), L1MetPfProducer.CalcMlMet(), tmtt::ChiSquaredFitBase.calculateChiSq(), Phase2L1GMT::KMTFCore.calculateEta(), L1TMuonBarrelKalmanAlgo.calculateEta(), GsfElectronAlgo.calculateShowerShape(), EffectiveAreas.checkConsistency(), riemannFit.circleFit(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.circleFit(), FlagsCleanerECAL.clean(), L1TMuonBarrelKalmanAlgo.clean(), Phase2L1GMT::KMTFCore.clean(), Phase2L1GMT::TPSAlgorithm.clean(), L1TMuonBarrelKalmanRegionModule.cleanHigher(), L1TMuonBarrelKalmanRegionModule.cleanLower(), Phase2L1GMT::TPSAlgorithm.cleanNeighbor(), Phase2L1GMT::KMTF.cleanRegion(), L1TMuonBarrelKalmanLUTs.coarseEta(), Phase2L1GMT::KMTFLUTs.coarseEta(), L1TPhase2GMTEndcapStubProcessor.combineStubs(), riemannFit.computeRadLenUniformMaterial(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.computeRadLenUniformMaterial(), Phase2L1GMT::TrackConverter.convert(), Phase2L1GMT::TPSAlgorithm.convert(), EERecHitFromSoA.convert_soa_data_to_collection_(), HEFRecHitFromSoA.convert_soa_data_to_collection_(), HEBRecHitFromSoA.convert_soa_data_to_collection_(), JetCoreMCtruthSeedGenerator.coreTracksFilling(), JetCoreMCtruthSeedGenerator.coreTracksFillingDeltaR(), riemannFit.cov_carttorad(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.cov_carttorad(), riemannFit.cov_carttorad_prefit(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.cov_carttorad_prefit(), riemannFit.cov_radtocart(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.cov_radtocart(), GsfElectronAlgo.createElectron(), beamSpotPI::BSParamsHelper< PayloadType >.diffCentralValues(), simBeamSpotPI::SimBSParamsHelper< PayloadType >.diffCentralValues(), simBeamSpotHLLHCPI::SimBSHLLHCParamsHelper< PayloadType >.diffCentralValues(), beamSpotPI::BSParamsHelper< PayloadType >.diffErrors(), PFRecoTauDiscriminationByNProngs.discriminate(), CSCOfflineMonitor.doEfficiencies(), EcalEBPhase2Linearizer.doOutput(), HLTMuonCertSummary.dqmEndJob(), EcalDAQTowerStatusXMLTranslator.dumpXML(), EcalDCSTowerStatusXMLTranslator.dumpXML(), L1CTJetFileWriter.encodeJets(), L1TStage2InputPatternWriter.endJob(), L1TS2PFJetInputPatternWriter.endJob(), GlobalHitsProdHistStripper.endRun(), Phase2L1GMT::KMTFCore.estimateChiSquare(), L1TMuonBarrelKalmanAlgo.estimateChiSquare(), L1TMuonBarrelKalmanAlgo.estimateCompatibility(), Phase2L1GMT::TrackConverter.etaLookup(), egammaTools::EgammaDNNHelper.evaluate(), reco::DeepSCGraphEvaluation.evaluate(), reco::EcalClustersGraph.evaluateScores(), VariableNTupler.fill(), StringBasedNTupler.fill(), SiStripMonitorDigi.FillApvShotsMap(), PixelVertexCollectionTrimmer.fillDescriptions(), PuppiProducer.fillDescriptions(), L1CTJetFileWriter.fillDescriptions(), CTPPSPixelLocalTrackProducer.fillDescriptions(), TriggerObjectTableProducer.fillDescriptions(), PFECALSuperClusterProducer.fillDescriptions(), L2TauNNProducerAlpaka.fillDescriptions(), L2TauNNProducer.fillDescriptions(), TriggerDQMBase.fillHistoLSPSetDescription(), TriggerDQMBase.fillHistoPSetDescription(), PhotonProducer.fillPhotonCollection(), GEDPhotonProducer.fillPhotonCollection(), reco::EcalClustersGraph.fillVariables(), PythiaFilterMultiAncestor.filter(), L1Validator.FindBest(), Phase2L1GMT::KMTFCore.getByCode(), L1TMuonBarrelKalmanAlgo.getByCode(), EffectiveAreas.getEffectiveArea(), IsoPhotonEBSelector.getEffectiveArea(), ZElectronsSelector.getEffectiveArea(), TrackerOfflineValidation.getHistStructFromMap(), EffectiveAreas.getLinearEA(), PixelInactiveAreaFinder.getPhiSpanBarrel(), L1TTauOffline.getProbeTaus(), EffectiveAreas.getQuadraticEA(), reco::GsfElectron.hcalToRun2EffDepth(), riemannFit.helixFit(), HLTJetTimingFilter< T >.hltFilter(), egammaTools::EgammaDNNHelper.initScalerFiles(), reco::EcalClustersGraph.initWindows(), L1TowerCalibrator.L1TowerCalibrator(), riemannFit.lineFit(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.lineFit(), PixelCPEGeneric.localError(), L1TMuonBarrelKalmanStubProcessor.makeStubs(), LowPtConversion.match(), Phase2L1GMT::KMTFCore.match(), L1TMuonBarrelKalmanAlgo.match(), l1tVertexFinder::VertexFinder.NNVtxEmulation(), riemannFit::helixFit< N >.operator()(), SiStripTrackerMapCreator.paintTkMapFromAlarm(), Phase2L1CaloJetEmulator.Phase2L1CaloJetEmulator(), EcalDCSTowerStatusXMLTranslator.plot(), EcalDAQTowerStatusXMLTranslator.plot(), PlotAlignmentValidation.plotDMRHistogram(), TrackerOfflineValidation.prepareSummaryHists(), beamSpotPI::BSParamsHelper< PayloadType >.printDebug(), simBeamSpotPI::SimBSParamsHelper< PayloadType >.printDebug(), simBeamSpotHLLHCPI::SimBSHLLHCParamsHelper< PayloadType >.printDebug(), EffectiveAreas.printEffectiveAreas(), IsoPhotonEBSelector.printEffectiveAreas(), ZElectronsSelector.printEffectiveAreas(), reco::GraphMap.printGraphMap(), riemannFit.printIt(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.printIt(), Phase2L1GMT::KMTF.process(), EcalEBPhase2AmplitudeReconstructor.process(), L1NNTauProducer.process_HW(), l1t::Stage2Layer2DemuxSumsAlgoFirmwareImp1.processEvent(), Phase2L1GMT::TPSAlgorithm.processTrack(), Phase2L1TGMTTkMuonProducer.produce(), Phase2L1TGMTFilter.produce(), L1TMuonBarrelKalmanTrackProducer.produce(), Phase2L1TGMTFwdMuonTranslator.produce(), MultShiftMETcorrInputProducer.produce(), L1TMuonBarrelKalmanStubProducer.produce(), PuppiProducer.produce(), Phase2L1TGMTKMTFProducer.produce(), HiEvtPlaneFlatProducer.produce(), HLTJetHFCleaner< JetType >.produce(), PixelJetPuId.produce(), JetCoreMCtruthSeedGenerator.produce(), EvtPlaneProducer.produce(), Phase2L1GMT::TPSAlgorithm.propagate(), Phase2L1GMT::TrackConverter.ptLookup(), PuppiProducer.PuppiProducer(), L1TMuonBarrelKalmanAlgo.rank(), L1TCaloParamsOnlineProd.readCaloLayer2OnlineSettings(), CompleteNTupler.registerleaves(), VariableNTupler.registerleaves(), StringBasedNTupler.registerleaves(), MuonTestSummary.ResidualCheck(), PhotonOfflineClient.retrieveHisto(), RPixPlaneCombinatoryTracking.RPixPlaneCombinatoryTracking(), PhotonOfflineClient.runClient(), riemannFit.scatter_cov_rad(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.scatter_cov_rad(), riemannFit.scatterCovLine(), ALPAKA_ACCELERATOR_NAMESPACE::riemannFit.scatterCovLine(), reco::SCProducerCache.SCProducerCache(), JetCoreMCtruthSeedGenerator.seedParFilling(), HGCalConcentratorAutoEncoderImpl.select(), StringCutEventSelector< Object, any >.select(), StringCutsEventSelector< Object, existenceMatter >.select(), L1TMuonBarrelKalmanRegionModule.selfClean(), TrackingMonitor.setMaxMinBin(), TrackingMonitor.setNclus(), Phase2L1GMT::KMTFCore.setRank(), EcalTimeDigi.setWaveform(), SAMuonCleaner.sort(), Phase2L1GMT::KMTF.sort(), StringBasedNTupler.StringBasedNTupler(), StringBranchHelper< Object, Collection >.StringBranchHelper(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >.TauDiscriminantCutMultiplexerT(), trklet::FitTrack.trackFitChisq(), uint(), l1t::stage1.unpack_em(), l1t::stage1.unpack_region(), RctRawToDigi.unpackCTP7(), Phase2L1GMT::KMTFCore.updateLUT(), L1TMuonBarrelKalmanAlgo.updateLUT(), VariableNTupler.VariableNTupler(), Phase2L1GMT::KMTFCore.vertexConstraintLUT(), L1TMuonBarrelKalmanAlgo.vertexConstraintLUT(), VertexTimeAlgorithmFromTracksPID.vertexTime(), and L1TMuonBarrelKalmanSectorProcessor.wedgeSort().