Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-25 10:58:17

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     FailPath = cms.untracked.vstring(),
0037     IgnoreCompletely = cms.untracked.vstring(),
0038     Rethrow = cms.untracked.vstring(),
0039     SkipEvent = cms.untracked.vstring(),
0040     allowUnscheduled = cms.obsolete.untracked.bool,
0041     canDeleteEarly = cms.untracked.vstring(),
0042     emptyRunLumiMode = cms.obsolete.untracked.string,
0043     eventSetup = cms.untracked.PSet(
0044         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0045             allowAnyLabel_=cms.required.untracked.uint32
0046         ),
0047         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0048     ),
0049     fileMode = cms.untracked.string('FULLMERGE'),
0050     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0051     makeTriggerResults = cms.obsolete.untracked.bool,
0052     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0053     numberOfConcurrentRuns = cms.untracked.uint32(1),
0054     numberOfStreams = cms.untracked.uint32(0),
0055     numberOfThreads = cms.untracked.uint32(1),
0056     printDependencies = cms.untracked.bool(False),
0057     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0058     throwIfIllegalParameter = cms.untracked.bool(True),
0059     wantSummary = cms.untracked.bool(False)
0060 )
0061 
0062 # Production Info
0063 process.configurationMetadata = cms.untracked.PSet(
0064     annotation = cms.untracked.string('l1Ntuple nevts:2'),
0065     name = cms.untracked.string('Applications'),
0066     version = cms.untracked.string('$Revision: 1.19 $')
0067 )
0068 
0069 # Output definition
0070 
0071 # Additional output definition
0072 
0073 # Other statements
0074 from Configuration.AlCa.GlobalTag import GlobalTag
0075 process.GlobalTag = GlobalTag(process.GlobalTag, '112X_mcRun3_2021_realistic_v13', '')
0076 
0077 process.GlobalTag.toGet = cms.VPSet(
0078         cms.PSet(record = cms.string("GEMeMapRcd"),
0079                        tag = cms.string("GEMeMapDummy"),
0080                        connect = cms.string("sqlite_file:L1Trigger/Configuration/test/GEMeMapDummy.db")
0081                 )
0082 )
0083 process.muonGEMDigis.useDBEMap = True
0084 
0085 # Path and EndPath definitions
0086 process.raw2digi_step = cms.Path(process.RawToDigi)
0087 process.endjob_step = cms.EndPath(process.endOfProcess)
0088 
0089 # Schedule definition
0090 process.schedule = cms.Schedule(process.raw2digi_step,process.endjob_step)
0091 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0092 associatePatAlgosToolsTask(process)
0093 
0094 # customisation of the process.
0095 
0096 # Automatic addition of the customisation function from L1Trigger.Configuration.customiseReEmul
0097 from L1Trigger.Configuration.customiseReEmul import L1TReEmulMCFromRAW 
0098 
0099 #call to customisation function L1TReEmulMCFromRAW imported from L1Trigger.Configuration.customiseReEmul
0100 process = L1TReEmulMCFromRAW(process)
0101 
0102 # Automatic addition of the customisation function from L1Trigger.L1TNtuples.customiseL1Ntuple
0103 from L1Trigger.L1TNtuples.customiseL1Ntuple import L1NtupleEMU 
0104 
0105 #call to customisation function L1NtupleEMU imported from L1Trigger.L1TNtuples.customiseL1Ntuple
0106 process = L1NtupleEMU(process)
0107 
0108 # Automatic addition of the customisation function from L1Trigger.Configuration.customiseSettings
0109 from L1Trigger.Configuration.customiseSettings import L1TSettingsToCaloParams_2018_v1_4 
0110 
0111 #call to customisation function L1TSettingsToCaloParams_2018_v1_4 imported from L1Trigger.Configuration.customiseSettings
0112 process = L1TSettingsToCaloParams_2018_v1_4(process)
0113 
0114 # End of customisation functions
0115 
0116 
0117 # Customisation from command line
0118 
0119 # Add early deletion of temporary data products to reduce peak memory need
0120 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0121 process = customiseEarlyDelete(process)
0122 # End adding early deletion