Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-25 23:39:54

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: step1 --filein root://cmsxrootd.fnal.gov//store/mc/Run3Summer21DRPremix/DYToLL_M-4To50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/120X_mcRun3_2021_realistic_v6-v2/80000/03b302a8-8389-406d-945a-16c2f16f065f.root --fileout file:step1_RECO.root --mc --eventcontent AODSIM --runUnscheduled --datatier AODSIM --conditions 120X_mcRun3_2021_realistic_v6 --step RAW2DIGI,L1Reco,RECO,RECOSIM --nThreads 4 --geometry DB:Extended --era Run3 --python_filename test_DisTrksV2_cfg.py --no_exec --customise Configuration/DataProcessing/Utils.addMonitoring -n 100
0006 import FWCore.ParameterSet.Config as cms
0007 from Configuration.Skimming.PDWG_EXODisappTrk_cff import *
0008 from Configuration.Eras.Era_Run3_cff import Run3
0009 
0010 process = cms.Process('RECO',Run3)
0011 
0012 # import of standard configurations
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.load('Configuration.EventContent.EventContent_cff')
0017 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0018 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 process.load('Configuration.StandardSequences.RawToDigi_cff')
0021 process.load('Configuration.StandardSequences.L1Reco_cff')
0022 process.load('Configuration.StandardSequences.Reconstruction_cff')
0023 process.load('Configuration.StandardSequences.Skims_cff')
0024 process.load('Configuration.StandardSequences.RecoSim_cff')
0025 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0026 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(-1),
0030     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0031 )
0032 
0033 # Input source
0034 process.source = cms.Source("PoolSource",
0035     fileNames = cms.untracked.vstring('root://cmsxrootd.fnal.gov//store/mc/Run3Summer21DRPremix/DYToLL_M-4To50_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW/120X_mcRun3_2021_realistic_v6-v2/80000/03b302a8-8389-406d-945a-16c2f16f065f.root'),
0036     secondaryFileNames = cms.untracked.vstring()
0037 )
0038 
0039 process.options = cms.untracked.PSet(
0040     FailPath = cms.untracked.vstring(),
0041     IgnoreCompletely = cms.untracked.vstring(),
0042     Rethrow = cms.untracked.vstring(),
0043     SkipEvent = cms.untracked.vstring(),
0044     allowUnscheduled = cms.obsolete.untracked.bool,
0045     canDeleteEarly = cms.untracked.vstring(),
0046     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0047     dumpOptions = cms.untracked.bool(False),
0048     emptyRunLumiMode = cms.obsolete.untracked.string,
0049     eventSetup = cms.untracked.PSet(
0050         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0051             allowAnyLabel_=cms.required.untracked.uint32
0052         ),
0053         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0054     ),
0055     fileMode = cms.untracked.string('FULLMERGE'),
0056     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0057     makeTriggerResults = cms.obsolete.untracked.bool,
0058     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0059     numberOfConcurrentRuns = cms.untracked.uint32(1),
0060     numberOfStreams = cms.untracked.uint32(0),
0061     numberOfThreads = cms.untracked.uint32(1),
0062     printDependencies = cms.untracked.bool(False),
0063     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0064     throwIfIllegalParameter = cms.untracked.bool(True),
0065     wantSummary = cms.untracked.bool(False)
0066 )
0067 
0068 # Production Info
0069 process.configurationMetadata = cms.untracked.PSet(
0070     annotation = cms.untracked.string('step1 nevts:100'),
0071     name = cms.untracked.string('Applications'),
0072     version = cms.untracked.string('$Revision: 1.19 $')
0073 )
0074 
0075 # Output definition
0076 
0077 process.AODSIMoutput = cms.OutputModule("PoolOutputModule",
0078     compressionAlgorithm = cms.untracked.string('LZMA'),
0079     compressionLevel = cms.untracked.int32(4),
0080     dataset = cms.untracked.PSet(
0081         dataTier = cms.untracked.string('AODSIM'),
0082         filterName = cms.untracked.string('')
0083     ),
0084     eventAutoFlushCompressedSize = cms.untracked.int32(31457280),
0085     fileName = cms.untracked.string('file:step1_RECO.root'),
0086     outputCommands = process.AODSIMEventContent.outputCommands
0087 )
0088 
0089 # Additional output definition
0090 process.SKIMStreamEXODisappTrk = cms.OutputModule("PoolOutputModule",
0091     SelectEvents = cms.untracked.PSet(
0092         SelectEvents = cms.vstring('EXODisappTrkPath')
0093     ),
0094     dataset = cms.untracked.PSet(
0095         dataTier = cms.untracked.string('AODSIM'),
0096         filterName = cms.untracked.string('EXODisappTrk')
0097         #filterName = cms.untracked.string('')
0098     ),
0099     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0100     fileName = cms.untracked.string('EXODisappTrk.root'),
0101     outputCommands = process.EXODisappTrkSkimContent.outputCommands
0102 )
0103 
0104 # Other statements
0105 from Configuration.AlCa.GlobalTag import GlobalTag
0106 process.GlobalTag = GlobalTag(process.GlobalTag, '120X_mcRun3_2021_realistic_v6', '')
0107 
0108 # Path and EndPath definitions
0109 process.raw2digi_step = cms.Path(process.RawToDigi)
0110 process.L1Reco_step = cms.Path(process.L1Reco)
0111 process.reconstruction_step = cms.Path(process.reconstruction)
0112 process.recosim_step = cms.Path(process.recosim)
0113 process.endjob_step = cms.EndPath(process.endOfProcess)
0114 process.AODSIMoutput_step = cms.EndPath(process.AODSIMoutput)
0115 process.SKIMStreamEXODisappTrkOutPath = cms.EndPath(process.SKIMStreamEXODisappTrk)
0116 
0117 # Schedule definition
0118 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.EXODisappTrkPath,process.recosim_step,process.endjob_step,process.AODSIMoutput_step,process.SKIMStreamEXODisappTrkOutPath)
0119 # Additional output definition
0120 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0121 associatePatAlgosToolsTask(process)
0122 
0123 #Setup FWK for multithreaded
0124 process.options.numberOfThreads = 4
0125 process.options.numberOfStreams = 0
0126 process.options.numberOfConcurrentLuminosityBlocks = 0
0127 process.options.eventSetup.numberOfConcurrentIOVs = 1
0128 
0129 # customisation of the process.
0130 
0131 # Automatic addition of the customisation function from Configuration.DataProcessing.Utils
0132 from Configuration.DataProcessing.Utils import addMonitoring 
0133 
0134 #call to customisation function addMonitoring imported from Configuration.DataProcessing.Utils
0135 process = addMonitoring(process)
0136 
0137 # End of customisation functions
0138 
0139 
0140 # Customisation from command line
0141 
0142 #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
0143 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0144 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0145 
0146 # Add early deletion of temporary data products to reduce peak memory need
0147 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0148 process = customiseEarlyDelete(process)
0149 # End adding early deletion