Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-16 02:43:05

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 125X_mcRun4_realistic_v2 -n 2 --era Phase2C17I13M9 --eventcontent FEVTDEBUGHLT -s RAW2DIGI,L1TrackTrigger,L1 --datatier GEN-SIM-DIGI-RAW-MINIAOD --fileout file:test.root --customise SLHCUpgradeSimulations/Configuration/aging.customise_aging_1000,Configuration/DataProcessing/Utils.addMonitoring,L1Trigger/Configuration/customisePhase2.addHcalTriggerPrimitives,L1Trigger/Configuration/customisePhase2FEVTDEBUGHLT.customisePhase2FEVTDEBUGHLT,L1Trigger/Configuration/customisePhase2TTNoMC.customisePhase2TTNoMC --geometry Extended2026D88 --nThreads 8 --filein /store/mc/Phase2Fall22DRMiniAOD/TT_TuneCP5_14TeV-powheg-pythia8/GEN-SIM-DIGI-RAW-MINIAOD/PU200_125X_mcRun4_realistic_v2_ext1-v1/30000/000c5e5f-78f7-44ee-95fe-7b2f2c2e2312.root --mc --customise_commands=process.source.inputCommands = cms.untracked.vstring("keep *", "drop l1tPFJets_*_*_*")
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Phase2C17I13M9_cff import Phase2C17I13M9
0009 
0010 process = cms.Process('PHASE2MUONL1T',Phase2C17I13M9)
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.Geometry.GeometryExtended2026D88Reco_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 process.load('Configuration.StandardSequences.RawToDigi_cff')
0021 process.load('Configuration.StandardSequences.L1TrackTrigger_cff')
0022 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0023 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0024 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(-1),
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(
0034         "file:/uscms_data/d2/lpctrig/benwu/GMTEmulator/TT2L2Nu_PU200_Spring23.root",
0035 # '/store/user/bachtis/L1T/DYToLL_M-50_TuneCP5_14TeV-pythia8/PHASEII_DY200a/230803_231922/0000/skim_10.root'
0036 #'/store/mc/Phase2Fall22DRMiniAOD/MinBias_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW-MINIAOD/PU200_125X_mcRun4_realistic_v2-v1/30000/001ec7cf-71d4-4eb4-9002-078d21560b2f.root'
0037     ),
0038     secondaryFileNames = cms.untracked.vstring()
0039 )
0040 
0041 process.options = cms.untracked.PSet(
0042     # FailPath = cms.untracked.vstring(),
0043     IgnoreCompletely = cms.untracked.vstring(),
0044     Rethrow = cms.untracked.vstring(),
0045     # SkipEvent = cms.untracked.vstring(),
0046     accelerators = cms.untracked.vstring('*'),
0047     allowUnscheduled = cms.obsolete.untracked.bool,
0048     canDeleteEarly = cms.untracked.vstring(),
0049     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0050     dumpOptions = cms.untracked.bool(False),
0051     emptyRunLumiMode = cms.obsolete.untracked.string,
0052     eventSetup = cms.untracked.PSet(
0053         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0054             allowAnyLabel_=cms.required.untracked.uint32
0055         ),
0056         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0057     ),
0058     fileMode = cms.untracked.string('FULLMERGE'),
0059     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0060     makeTriggerResults = cms.obsolete.untracked.bool,
0061     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
0062     numberOfConcurrentRuns = cms.untracked.uint32(1),
0063     numberOfStreams = cms.untracked.uint32(0),
0064     numberOfThreads = cms.untracked.uint32(1),
0065     printDependencies = cms.untracked.bool(False),
0066     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0067     throwIfIllegalParameter = cms.untracked.bool(True),
0068     wantSummary = cms.untracked.bool(False)
0069 )
0070 
0071 # Production Info
0072 process.configurationMetadata = cms.untracked.PSet(
0073     annotation = cms.untracked.string('step1 nevts:2'),
0074     name = cms.untracked.string('Applications'),
0075     version = cms.untracked.string('$Revision: 1.19 $')
0076 )
0077 
0078 # Output definition
0079 process.FEVTDEBUGHLTEventContent.outputCommands = [
0080     'drop *_*_*_*',
0081     'keep *_g4SimHits_Muon*_*',
0082     'keep *_CalibratedDigis_*_MUONL1T',
0083     'keep *_dtTriggerPhase2PrimitiveDigis_*_MUONL1T',
0084     'keep *_l1tStubsGmt_*_MUONL1T',
0085     'keep *_l1tSAMuonsGmt_*_MUONL1T',
0086     'keep *_l1tKMTFMuonsGmt_*_MUONL1T',
0087     'keep *_l1tFwdMuonsGmt_*_MUONL1T',
0088     'keep *_l1tTkMuonsGmt_*_MUONL1T',
0089     'keep *_genParticles_*_*',
0090     'keep *_simCscTriggerPrimitiveDigis_*_*',
0091     'keep *_simDtTriggerPrimitiveDigis_*_*',
0092     'keep *_simMuonRPCDigis_*_*',
0093     'keep *_simMuonDTDigis_*_*',
0094     'keep *_simBmtfDigis_*_*',
0095     'keep *_simEmtfDigis_*_*',
0096     'keep *_simGmtStage2Digis_*_*',
0097     "keep *_gmt*Muons_*_*",
0098     "keep *_gmtStubs_*_*",
0099     "keep *_genParticles_*_*",
0100     "keep *_l1tTTTracksFromTrackletEmulation_Level1TTTracks_*",
0101     "keep *_l1tTkMuons_*_*",
0102     'keep *_simOmtfDigis_*_*',
0103     'keep *_l1tTTTracksFromTrackletEmulation_Level1TTTracks_*'
0104 ]
0105 
0106 #process.FEVTDEBUGHLTEventContent.outputCommands.append('drop l1tTrackerMuons_l1tTkMuonsGmt__HLT')
0107 
0108 
0109 
0110 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0111     dataset = cms.untracked.PSet(
0112         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW-MINIAOD'),
0113         filterName = cms.untracked.string('')
0114     ),
0115     fileName = cms.untracked.string('file:skim.root'),
0116     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0117     splitLevel = cms.untracked.int32(0)
0118 )
0119 
0120 # Additional output definition
0121 
0122 # Other statements
0123 from Configuration.AlCa.GlobalTag import GlobalTag
0124 process.GlobalTag = GlobalTag(process.GlobalTag, '125X_mcRun4_realistic_v2', '')
0125 
0126 
0127 process.load("L1Trigger.Phase2L1GMT.gmt_cff")
0128 process.L1simulation_step = cms.Path(process.CalibratedDigis*process.dtTriggerPhase2PrimitiveDigis*process.phase2GMT)
0129 
0130 process.endjob_step = cms.EndPath(process.endOfProcess)
0131 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0132 
0133 # Schedule definition
0134 process.schedule = cms.Schedule(process.L1simulation_step,process.endjob_step,process.FEVTDEBUGHLToutput_step)
0135 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0136 associatePatAlgosToolsTask(process)
0137 
0138 #Setup FWK for multithreaded
0139 #process.options.numberOfThreads = 8
0140 #process.options.numberOfStreams = 0
0141 
0142 # customisation of the process.
0143 
0144 # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.aging
0145 from SLHCUpgradeSimulations.Configuration.aging import customise_aging_1000 
0146 
0147 #call to customisation function customise_aging_1000 imported from SLHCUpgradeSimulations.Configuration.aging
0148 process = customise_aging_1000(process)
0149 
0150 # Automatic addition of the customisation function from Configuration.DataProcessing.Utils
0151 from Configuration.DataProcessing.Utils import addMonitoring 
0152 
0153 #call to customisation function addMonitoring imported from Configuration.DataProcessing.Utils
0154 process = addMonitoring(process)
0155 
0156 # Automatic addition of the customisation function from L1Trigger.Configuration.customisePhase2
0157 from L1Trigger.Configuration.customisePhase2 import addHcalTriggerPrimitives 
0158 
0159 #call to customisation function addHcalTriggerPrimitives imported from L1Trigger.Configuration.customisePhase2
0160 process = addHcalTriggerPrimitives(process)
0161 
0162 # Automatic addition of the customisation function from L1Trigger.Configuration.customisePhase2FEVTDEBUGHLT
0163 from L1Trigger.Configuration.customisePhase2FEVTDEBUGHLT import customisePhase2FEVTDEBUGHLT 
0164 
0165 #call to customisation function customisePhase2FEVTDEBUGHLT imported from L1Trigger.Configuration.customisePhase2FEVTDEBUGHLT
0166 process = customisePhase2FEVTDEBUGHLT(process)
0167 
0168 # Automatic addition of the customisation function from L1Trigger.Configuration.customisePhase2TTNoMC
0169 from L1Trigger.Configuration.customisePhase2TTNoMC import customisePhase2TTNoMC 
0170 
0171 #call to customisation function customisePhase2TTNoMC imported from L1Trigger.Configuration.customisePhase2TTNoMC
0172 process = customisePhase2TTNoMC(process)
0173 
0174 # End of customisation functions
0175 
0176 
0177 # Customisation from command line
0178 
0179 process.source.inputCommands = cms.untracked.vstring("keep *", "drop l1tPFJets_*_*_*")
0180 # Add early deletion of temporary data products to reduce peak memory need
0181 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0182 process = customiseEarlyDelete(process)
0183 # End adding early deletion