# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: l1Ntuple -s RAW2DIGI --python_filename=l1Ntuple_140X_dataRun3_Prompt_v2.py -n 4000 --no_output --no_exec --era=Run3 --data --conditions=140X_dataRun3_Prompt_v2 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulFromRAWsimEcalTP --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleAODRAWEMU --filein=inputFiles import FWCore.ParameterSet.Config as cms from Configuration.Eras.Era_Run3_cff import Run3 process = cms.Process('RAW2DIGI',Run3) import FWCore.ParameterSet.VarParsing as VarParsing # setup 'analysis' options options = VarParsing.VarParsing ('analysis') # get and parse the command line arguments options.parseArguments() # import of standard configurations process.load('Configuration.StandardSequences.Services_cff') process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi') process.load('FWCore.MessageService.MessageLogger_cfi') process.load('Configuration.EventContent.EventContent_cff') process.load('Configuration.StandardSequences.GeometryRecoDB_cff') process.load('Configuration.StandardSequences.MagneticField_cff') process.load('Configuration.StandardSequences.RawToDigi_Data_cff') process.load('Configuration.StandardSequences.EndOfProcess_cff') process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(4000), output = cms.optional.untracked.allowed(cms.int32,cms.PSet) ) # Input source process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring(options.inputFiles), secondaryFileNames = cms.untracked.vstring() ) process.options = cms.untracked.PSet( IgnoreCompletely = cms.untracked.vstring(), Rethrow = cms.untracked.vstring(), TryToContinue = cms.untracked.vstring('ProductNotFound'), accelerators = cms.untracked.vstring('*'), allowUnscheduled = cms.obsolete.untracked.bool, canDeleteEarly = cms.untracked.vstring(), deleteNonConsumedUnscheduledModules = cms.untracked.bool(True), dumpOptions = cms.untracked.bool(False), emptyRunLumiMode = cms.obsolete.untracked.string, eventSetup = cms.untracked.PSet( forceNumberOfConcurrentIOVs = cms.untracked.PSet( allowAnyLabel_=cms.required.untracked.uint32 ), numberOfConcurrentIOVs = cms.untracked.uint32(0) ), fileMode = cms.untracked.string('FULLMERGE'), forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False), holdsReferencesToDeleteEarly = cms.untracked.VPSet(), makeTriggerResults = cms.obsolete.untracked.bool, modulesToCallForTryToContinue = cms.untracked.vstring('ProductNotFound'), modulesToIgnoreForDeleteEarly = cms.untracked.vstring(), numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0), numberOfConcurrentRuns = cms.untracked.uint32(1), numberOfStreams = cms.untracked.uint32(0), numberOfThreads = cms.untracked.uint32(1), printDependencies = cms.untracked.bool(False), sizeOfStackForThreadsInKB = cms.optional.untracked.uint32, throwIfIllegalParameter = cms.untracked.bool(True), wantSummary = cms.untracked.bool(False) ) # Production Info process.configurationMetadata = cms.untracked.PSet( annotation = cms.untracked.string('l1Ntuple nevts:4000'), name = cms.untracked.string('Applications'), version = cms.untracked.string('$Revision: 1.19 $') ) # Output definition # Additional output definition # Other statements from Configuration.AlCa.GlobalTag import GlobalTag process.GlobalTag = GlobalTag(process.GlobalTag, '140X_dataRun3_Prompt_v2', '') process.GlobalTag.toGet = cms.VPSet( cms.PSet(record = cms.string("EcalTPGLinearizationConstRcd"), tag = cms.string("EcalTPGLinearizationConst_IOV_388095_beginning_at_1"), connect =cms.string("sqlite_file:/data/cmsbld/cms-jenkins/workspace/run-EcalLaserValidation-L1T_EcalLaserValidation-push-tests/userrepo/CMSSW_14_0_6/src/EcalTPG_388095_moved_to_1.db"), ), cms.PSet(record = cms.string("EcalTPGPedestalsRcd"), tag = cms.string("EcalTPGPedestals_IOV_388095_beginning_at_1"), connect =cms.string("sqlite_file:/data/cmsbld/cms-jenkins/workspace/run-EcalLaserValidation-L1T_EcalLaserValidation-push-tests/userrepo/CMSSW_14_0_6/src/EcalTPG_388095_moved_to_1.db"), ), ) process.MessageLogger.cerr.FwkReport.reportEvery = 10000 # Path and EndPath definitions process.raw2digi_step = cms.Path(process.RawToDigi) process.endjob_step = cms.EndPath(process.endOfProcess) # Schedule definition process.schedule = cms.Schedule(process.raw2digi_step,process.endjob_step) from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask associatePatAlgosToolsTask(process) # customisation of the process. # Automatic addition of the customisation function from L1Trigger.Configuration.customiseReEmul from L1Trigger.Configuration.customiseReEmul import L1TReEmulFromRAWsimEcalTP #call to customisation function L1TReEmulFromRAWsimEcalTP imported from L1Trigger.Configuration.customiseReEmul process = L1TReEmulFromRAWsimEcalTP(process) # Automatic addition of the customisation function from L1Trigger.L1TNtuples.customiseL1Ntuple from L1Trigger.L1TNtuples.customiseL1Ntuple import L1NtupleAODRAWEMU #call to customisation function L1NtupleAODRAWEMU imported from L1Trigger.L1TNtuples.customiseL1Ntuple process = L1NtupleAODRAWEMU(process) # End of customisation functions # Customisation from command line #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands process = customiseLogErrorHarvesterUsingOutputCommands(process) # Add early deletion of temporary data products to reduce peak memory need from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete process = customiseEarlyDelete(process) # End adding early deletion process.TFileService.fileName= cms.string(options.outputFile)