Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:27

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: l1Ntuple -s RAW2DIGI --python_filename=mc_L1TReEmulMCFromRAW_L1NtupleEMU.py -n 2 --no_output --era=Run3 --mc --conditions=112X_mcRun3_2021_realistic_v13 --customise=L1Trigger/Configuration/customiseReEmul.L1TReEmulMCFromRAW --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleEMU --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloParams_2018_v1_4 --filein=/store/mc/Run3Winter20DRPremixMiniAOD/TT_TuneCP5_14TeV-powheg-pythia8/GEN-SIM-RAW/110X_mcRun3_2021_realistic_v6-v2/20000/CFCAE998-5A17-FB48-A36F-A31EA28D2A72.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Run3_cff import Run3
0009 
0010 process = cms.Process('RAW2DIGI',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.EndOfProcess_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(10),
0026     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0027 )
0028 
0029 # Input source
0030 process.source = cms.Source("PoolSource",
0031     fileNames = cms.untracked.vstring('/store/mc/Run3Winter20DRPremixMiniAOD/TT_TuneCP5_14TeV-powheg-pythia8/GEN-SIM-RAW/110X_mcRun3_2021_realistic_v6-v2/20000/CFCAE998-5A17-FB48-A36F-A31EA28D2A72.root'),
0032     secondaryFileNames = cms.untracked.vstring()
0033 )
0034 
0035 process.options = cms.untracked.PSet(
0036     IgnoreCompletely = cms.untracked.vstring(),
0037     Rethrow = cms.untracked.vstring(),
0038     TryToContinue = cms.untracked.vstring(),
0039     allowUnscheduled = cms.obsolete.untracked.bool,
0040     canDeleteEarly = cms.untracked.vstring(),
0041     emptyRunLumiMode = cms.obsolete.untracked.string,
0042     eventSetup = cms.untracked.PSet(
0043         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0044             allowAnyLabel_=cms.required.untracked.uint32
0045         ),
0046         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0047     ),
0048     fileMode = cms.untracked.string('FULLMERGE'),
0049     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0050     makeTriggerResults = cms.obsolete.untracked.bool,
0051     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0052     numberOfConcurrentRuns = cms.untracked.uint32(1),
0053     numberOfStreams = cms.untracked.uint32(0),
0054     numberOfThreads = cms.untracked.uint32(1),
0055     printDependencies = cms.untracked.bool(False),
0056     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0057     throwIfIllegalParameter = cms.untracked.bool(True),
0058     wantSummary = cms.untracked.bool(False)
0059 )
0060 
0061 # Production Info
0062 process.configurationMetadata = cms.untracked.PSet(
0063     annotation = cms.untracked.string('l1Ntuple nevts:2'),
0064     name = cms.untracked.string('Applications'),
0065     version = cms.untracked.string('$Revision: 1.19 $')
0066 )
0067 
0068 # Output definition
0069 
0070 # Additional output definition
0071 
0072 # Other statements
0073 from Configuration.AlCa.GlobalTag import GlobalTag
0074 process.GlobalTag = GlobalTag(process.GlobalTag, '112X_mcRun3_2021_realistic_v13', '')
0075 
0076 process.GlobalTag.toGet = cms.VPSet(
0077         cms.PSet(record = cms.string("GEMeMapRcd"),
0078                        tag = cms.string("GEMeMapDummy"),
0079                        connect = cms.string("sqlite_file:L1Trigger/Configuration/test/GEMeMapDummy.db")
0080                 )
0081 )
0082 process.muonGEMDigis.useDBEMap = True
0083 
0084 # Path and EndPath definitions
0085 process.raw2digi_step = cms.Path(process.RawToDigi)
0086 process.endjob_step = cms.EndPath(process.endOfProcess)
0087 
0088 # Schedule definition
0089 process.schedule = cms.Schedule(process.raw2digi_step,process.endjob_step)
0090 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0091 associatePatAlgosToolsTask(process)
0092 
0093 # customisation of the process.
0094 
0095 # Automatic addition of the customisation function from L1Trigger.Configuration.customiseReEmul
0096 from L1Trigger.Configuration.customiseReEmul import L1TReEmulMCFromRAW 
0097 
0098 #call to customisation function L1TReEmulMCFromRAW imported from L1Trigger.Configuration.customiseReEmul
0099 process = L1TReEmulMCFromRAW(process)
0100 
0101 # Automatic addition of the customisation function from L1Trigger.L1TNtuples.customiseL1Ntuple
0102 from L1Trigger.L1TNtuples.customiseL1Ntuple import L1NtupleEMU 
0103 
0104 #call to customisation function L1NtupleEMU imported from L1Trigger.L1TNtuples.customiseL1Ntuple
0105 process = L1NtupleEMU(process)
0106 
0107 # Automatic addition of the customisation function from L1Trigger.Configuration.customiseSettings
0108 from L1Trigger.Configuration.customiseSettings import L1TSettingsToCaloParams_2018_v1_4 
0109 
0110 #call to customisation function L1TSettingsToCaloParams_2018_v1_4 imported from L1Trigger.Configuration.customiseSettings
0111 process = L1TSettingsToCaloParams_2018_v1_4(process)
0112 
0113 # End of customisation functions
0114 
0115 
0116 # Customisation from command line
0117 
0118 # Add early deletion of temporary data products to reduce peak memory need
0119 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0120 process = customiseEarlyDelete(process)
0121 # End adding early deletion