Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:38

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 --conditions=124X_dataRun3_Prompt_v4 --data --datatier RECO,DQMIO --era Run3 --eventcontent RECO,DQM --filein file:/eos/cms/tier0/store/data/Run2022C/Muon/RAW/v1/000/357/479/00001/0322010f-75fe-44a6-ad5d-7f53bd5177a7.root --fileout file:step1.root --no_exec --number 10 --process reRECO --python_filename step_2_cfg.py --scenario pp --step RAW2DIGI,L1Reco,RECO,DQM:@lumi
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Run3_cff import Run3
0009 
0010 process = cms.Process('reRECO',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('Configuration.StandardSequences.GeometryRecoDB_cff')
0018 process.load('Configuration.StandardSequences.MagneticField_cff')
0019 process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
0020 process.load('Configuration.StandardSequences.L1Reco_cff')
0021 process.load('Configuration.StandardSequences.Reconstruction_Data_cff')
0022 process.load('DQMServices.Core.DQMStoreNonLegacy_cff')
0023 process.load('DQMOffline.Configuration.DQMOffline_cff')
0024 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(10),
0028     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0029 )
0030 
0031 # Input source
0032 process.source = cms.Source("PoolSource",
0033     fileNames = cms.untracked.vstring('file:/eos/cms/tier0/store/data/Run2022C/Muon/RAW/v1/000/357/479/00001/0322010f-75fe-44a6-ad5d-7f53bd5177a7.root'),
0034     secondaryFileNames = cms.untracked.vstring()
0035 )
0036 
0037 process.options = cms.untracked.PSet(
0038     IgnoreCompletely = cms.untracked.vstring(),
0039     Rethrow = cms.untracked.vstring(),
0040     TryToContinue = cms.untracked.vstring(),
0041     accelerators = cms.untracked.vstring('*'),
0042     allowUnscheduled = cms.obsolete.untracked.bool,
0043     canDeleteEarly = cms.untracked.vstring(),
0044     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0045     dumpOptions = cms.untracked.bool(False),
0046     emptyRunLumiMode = cms.obsolete.untracked.string,
0047     eventSetup = cms.untracked.PSet(
0048         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0049             allowAnyLabel_=cms.required.untracked.uint32
0050         ),
0051         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0052     ),
0053     fileMode = cms.untracked.string('FULLMERGE'),
0054     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0055     makeTriggerResults = cms.obsolete.untracked.bool,
0056     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0057     numberOfConcurrentRuns = cms.untracked.uint32(1),
0058     numberOfStreams = cms.untracked.uint32(0),
0059     numberOfThreads = cms.untracked.uint32(1),
0060     printDependencies = cms.untracked.bool(False),
0061     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0062     throwIfIllegalParameter = cms.untracked.bool(True),
0063     wantSummary = cms.untracked.bool(False)
0064 )
0065 
0066 # Production Info
0067 process.configurationMetadata = cms.untracked.PSet(
0068     annotation = cms.untracked.string('step1 nevts:10'),
0069     name = cms.untracked.string('Applications'),
0070     version = cms.untracked.string('$Revision: 1.19 $')
0071 )
0072 
0073 # Output definition
0074 
0075 process.RECOoutput = cms.OutputModule("PoolOutputModule",
0076     dataset = cms.untracked.PSet(
0077         dataTier = cms.untracked.string('RECO'),
0078         filterName = cms.untracked.string('')
0079     ),
0080     fileName = cms.untracked.string('file:step1.root'),
0081     outputCommands = process.RECOEventContent.outputCommands,
0082     splitLevel = cms.untracked.int32(0)
0083 )
0084 
0085 process.DQMoutput = cms.OutputModule("DQMRootOutputModule",
0086     dataset = cms.untracked.PSet(
0087         dataTier = cms.untracked.string('DQMIO'),
0088         filterName = cms.untracked.string('')
0089     ),
0090     fileName = cms.untracked.string('file:step1_inDQM.root'),
0091     outputCommands = process.DQMEventContent.outputCommands,
0092     splitLevel = cms.untracked.int32(0)
0093 )
0094 
0095 # Additional output definition
0096 
0097 # Other statements
0098 from Configuration.AlCa.GlobalTag import GlobalTag
0099 process.GlobalTag = GlobalTag(process.GlobalTag, '124X_dataRun3_Prompt_v4', '')
0100 
0101 # Path and EndPath definitions
0102 process.raw2digi_step = cms.Path(process.RawToDigi)
0103 process.L1Reco_step = cms.Path(process.L1Reco)
0104 process.reconstruction_step = cms.Path(process.reconstruction)
0105 process.dqmoffline_step = cms.EndPath(process.DQMOfflineLumi)
0106 process.dqmofflineOnPAT_step = cms.EndPath(process.PostDQMOffline)
0107 process.RECOoutput_step = cms.EndPath(process.RECOoutput)
0108 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0109 
0110 # Schedule definition
0111 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.dqmoffline_step,process.dqmofflineOnPAT_step,process.RECOoutput_step,process.DQMoutput_step)
0112 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0113 associatePatAlgosToolsTask(process)
0114 
0115 
0116 
0117 # Customisation from command line
0118 
0119 #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
0120 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0121 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0122 
0123 # Add early deletion of temporary data products to reduce peak memory need
0124 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0125 process = customiseEarlyDelete(process)
0126 # End adding early deletion