|
| 1 | +# Auto generated configuration file |
| 2 | +# using: |
| 3 | +# Revision: 1.19 |
| 4 | +# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v |
| 5 | +# with command line options: SKIM --filein file:/eos/cms/tier0/store/backfill/1/data/Tier0_REPLAY_2023/ParkingDoubleMuonLowMass0/RAW/v9121550/000/368/389/00000/fce19dd3-8384-45ce-b705-e4accb9c3ec9.root --fileout file:SD_ReservedDMu.root --nThreads 8 --no_exec --number 10 --python_filename SD_ReserveDMu_cfg.py --scenario pp --step SKIM:ReserveDMu --data --conditions 130X_dataRun3_Prompt_v3 |
| 6 | +import FWCore.ParameterSet.Config as cms |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | +process = cms.Process('SKIM') |
| 11 | + |
| 12 | +# import of standard configurations |
| 13 | +process.load('Configuration.StandardSequences.Services_cff') |
| 14 | +process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') |
| 15 | +process.load('FWCore.MessageService.MessageLogger_cfi') |
| 16 | +process.load('Configuration.EventContent.EventContent_cff') |
| 17 | +process.load('Configuration.StandardSequences.GeometryRecoDB_cff') |
| 18 | +process.load('Configuration.StandardSequences.MagneticField_cff') |
| 19 | +process.load('Configuration.StandardSequences.Skims_cff') |
| 20 | +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') |
| 21 | + |
| 22 | +process.maxEvents = cms.untracked.PSet( |
| 23 | + input = cms.untracked.int32(10), |
| 24 | + output = cms.optional.untracked.allowed(cms.int32,cms.PSet) |
| 25 | +) |
| 26 | + |
| 27 | +# Input source |
| 28 | +process.source = cms.Source("PoolSource", |
| 29 | + fileNames = cms.untracked.vstring('file:/eos/cms/tier0/store/backfill/1/data/Tier0_REPLAY_2023/ParkingDoubleMuonLowMass0/RAW/v9121550/000/368/389/00000/fce19dd3-8384-45ce-b705-e4accb9c3ec9.root'), |
| 30 | + secondaryFileNames = cms.untracked.vstring() |
| 31 | +) |
| 32 | + |
| 33 | +process.options = cms.untracked.PSet( |
| 34 | + FailPath = cms.untracked.vstring(), |
| 35 | + IgnoreCompletely = cms.untracked.vstring(), |
| 36 | + Rethrow = cms.untracked.vstring(), |
| 37 | + SkipEvent = cms.untracked.vstring(), |
| 38 | + accelerators = cms.untracked.vstring('*'), |
| 39 | + allowUnscheduled = cms.obsolete.untracked.bool, |
| 40 | + canDeleteEarly = cms.untracked.vstring(), |
| 41 | + deleteNonConsumedUnscheduledModules = cms.untracked.bool(True), |
| 42 | + dumpOptions = cms.untracked.bool(False), |
| 43 | + emptyRunLumiMode = cms.obsolete.untracked.string, |
| 44 | + eventSetup = cms.untracked.PSet( |
| 45 | + forceNumberOfConcurrentIOVs = cms.untracked.PSet( |
| 46 | + allowAnyLabel_=cms.required.untracked.uint32 |
| 47 | + ), |
| 48 | + numberOfConcurrentIOVs = cms.untracked.uint32(0) |
| 49 | + ), |
| 50 | + fileMode = cms.untracked.string('FULLMERGE'), |
| 51 | + forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False), |
| 52 | + holdsReferencesToDeleteEarly = cms.untracked.VPSet(), |
| 53 | + makeTriggerResults = cms.obsolete.untracked.bool, |
| 54 | + modulesToIgnoreForDeleteEarly = cms.untracked.vstring(), |
| 55 | + numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0), |
| 56 | + numberOfConcurrentRuns = cms.untracked.uint32(1), |
| 57 | + numberOfStreams = cms.untracked.uint32(0), |
| 58 | + numberOfThreads = cms.untracked.uint32(1), |
| 59 | + printDependencies = cms.untracked.bool(False), |
| 60 | + sizeOfStackForThreadsInKB = cms.optional.untracked.uint32, |
| 61 | + throwIfIllegalParameter = cms.untracked.bool(True), |
| 62 | + wantSummary = cms.untracked.bool(False) |
| 63 | +) |
| 64 | + |
| 65 | +# Production Info |
| 66 | +process.configurationMetadata = cms.untracked.PSet( |
| 67 | + annotation = cms.untracked.string('SKIM nevts:10'), |
| 68 | + name = cms.untracked.string('Applications'), |
| 69 | + version = cms.untracked.string('$Revision: 1.19 $') |
| 70 | +) |
| 71 | + |
| 72 | +# Output definition |
| 73 | + |
| 74 | +process.RECOSIMoutput = cms.OutputModule("PoolOutputModule", |
| 75 | + dataset = cms.untracked.PSet( |
| 76 | + dataTier = cms.untracked.string(''), |
| 77 | + filterName = cms.untracked.string('') |
| 78 | + ), |
| 79 | + fileName = cms.untracked.string('file:SD_ReservedDMu.root'), |
| 80 | + outputCommands = process.RECOSIMEventContent.outputCommands, |
| 81 | + splitLevel = cms.untracked.int32(0) |
| 82 | +) |
| 83 | + |
| 84 | +# Additional output definition |
| 85 | +process.SKIMStreamReserveDMu = cms.OutputModule("PoolOutputModule", |
| 86 | + SelectEvents = cms.untracked.PSet( |
| 87 | + SelectEvents = cms.vstring('ReserveDMuPath') |
| 88 | + ), |
| 89 | + dataset = cms.untracked.PSet( |
| 90 | + dataTier = cms.untracked.string('RAW'), |
| 91 | + filterName = cms.untracked.string('ReserveDMu') |
| 92 | + ), |
| 93 | + eventAutoFlushCompressedSize = cms.untracked.int32(5242880), |
| 94 | + fileName = cms.untracked.string('ReserveDMu.root'), |
| 95 | + outputCommands = cms.untracked.vstring( |
| 96 | + 'drop *', |
| 97 | + 'keep FEDRawDataCollection_rawDataCollector_*_*', |
| 98 | + 'keep FEDRawDataCollection_source_*_*', |
| 99 | + 'keep FEDRawDataCollection_rawDataCollector_*_*', |
| 100 | + 'keep FEDRawDataCollection_source_*_*', |
| 101 | + 'drop *_hlt*_*_*', |
| 102 | + 'keep FEDRawDataCollection_rawDataCollector_*_*', |
| 103 | + 'keep FEDRawDataCollection_source_*_*', |
| 104 | + 'keep GlobalObjectMapRecord_hltGtStage2ObjectMap_*_*', |
| 105 | + 'keep edmTriggerResults_*_*_*', |
| 106 | + 'keep triggerTriggerEvent_*_*_*', |
| 107 | + 'keep *_hltFEDSelectorL1_*_*', |
| 108 | + 'keep *_hltScoutingEgammaPacker_*_*', |
| 109 | + 'keep *_hltScoutingMuonPacker_*_*', |
| 110 | + 'keep *_hltScoutingPFPacker_*_*', |
| 111 | + 'keep *_hltScoutingPrimaryVertexPacker_*_*', |
| 112 | + 'keep *_hltScoutingTrackPacker_*_*', |
| 113 | + 'keep edmTriggerResults_*_*_*', |
| 114 | + 'drop *_MEtoEDMConverter_*_*', |
| 115 | + 'drop *_*_*_SKIM' |
| 116 | + ) |
| 117 | +) |
| 118 | + |
| 119 | +# Other statements |
| 120 | +from Configuration.AlCa.GlobalTag import GlobalTag |
| 121 | +process.GlobalTag = GlobalTag(process.GlobalTag, '130X_dataRun3_Prompt_v3', '') |
| 122 | + |
| 123 | +# Path and EndPath definitions |
| 124 | +process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput) |
| 125 | +process.SKIMStreamReserveDMuOutPath = cms.EndPath(process.SKIMStreamReserveDMu) |
| 126 | + |
| 127 | +# Schedule definition |
| 128 | +process.schedule = cms.Schedule(process.ReserveDMuPath,process.RECOSIMoutput_step,process.SKIMStreamReserveDMuOutPath) |
| 129 | +from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask |
| 130 | +associatePatAlgosToolsTask(process) |
| 131 | + |
| 132 | +#Setup FWK for multithreaded |
| 133 | +process.options.numberOfThreads = 8 |
| 134 | +process.options.numberOfStreams = 0 |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | +# Customisation from command line |
| 139 | + |
| 140 | +#Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule |
| 141 | +from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands |
| 142 | +process = customiseLogErrorHarvesterUsingOutputCommands(process) |
| 143 | + |
| 144 | +# Add early deletion of temporary data products to reduce peak memory need |
| 145 | +from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete |
| 146 | +process = customiseEarlyDelete(process) |
| 147 | +# End adding early deletion |
0 commit comments