Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:54

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: step2 --conditions auto:phase1_2018_realistic -s DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@relval2018 --datatier GEN-SIM-DIGI-RAW -n 10 --geometry DB:Extended --era Run2_2018 --eventcontent FEVTDEBUGHLT --filein file:step1.root --fileout file:step2.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0009 
0010 process = cms.Process('HLT',Run2_2018)
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.Digi_cff')
0021 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0022 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0023 process.load('HLTrigger.Configuration.HLT_Fake2_cff')
0024 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0025 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0026 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(100),
0029     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0030 )
0031 
0032 # Input source
0033 process.source = cms.Source("PoolSource",
0034     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0035     fileNames = cms.untracked.vstring(
0036 'file:/eos/cms/store/relval/CMSSW_11_1_0_pre5/RelValZMM_13UP18_RD_test/GEN-SIM/110X_upgrade2018_realistic_v9_RD_Harvesting_4-v1/10000/05AE6B11-E993-584E-8C59-DF931E8635D6.root'
0037 #'file:step1.root'
0038 ),
0039     inputCommands = cms.untracked.vstring(
0040         'keep *', 
0041         'drop *_genParticles_*_*', 
0042         'drop *_genParticlesForJets_*_*', 
0043         'drop *_kt4GenJets_*_*', 
0044         'drop *_kt6GenJets_*_*', 
0045         'drop *_iterativeCone5GenJets_*_*', 
0046         'drop *_ak4GenJets_*_*', 
0047         'drop *_ak7GenJets_*_*', 
0048         'drop *_ak8GenJets_*_*', 
0049         'drop *_ak4GenJetsNoNu_*_*', 
0050         'drop *_ak8GenJetsNoNu_*_*', 
0051         'drop *_genCandidatesForMET_*_*', 
0052         'drop *_genParticlesForMETAllVisible_*_*', 
0053         'drop *_genMetCalo_*_*', 
0054         'drop *_genMetCaloAndNonPrompt_*_*', 
0055         'drop *_genMetTrue_*_*', 
0056         'drop *_genMetIC5GenJs_*_*'
0057     ),
0058     secondaryFileNames = cms.untracked.vstring()
0059 )
0060 
0061 process.options = cms.untracked.PSet(
0062     IgnoreCompletely = cms.untracked.vstring(),
0063     Rethrow = cms.untracked.vstring(),
0064     TryToContinue = cms.untracked.vstring(),
0065     allowUnscheduled = cms.obsolete.untracked.bool,
0066     canDeleteEarly = cms.untracked.vstring(),
0067     emptyRunLumiMode = cms.obsolete.untracked.string,
0068     eventSetup = cms.untracked.PSet(
0069         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0070 
0071         ),
0072         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0073     ),
0074     fileMode = cms.untracked.string('FULLMERGE'),
0075     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0076     makeTriggerResults = cms.obsolete.untracked.bool,
0077     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0078     numberOfConcurrentRuns = cms.untracked.uint32(1),
0079     numberOfStreams = cms.untracked.uint32(0),
0080     numberOfThreads = cms.untracked.uint32(1),
0081     printDependencies = cms.untracked.bool(False),
0082     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0083     throwIfIllegalParameter = cms.untracked.bool(True),
0084     wantSummary = cms.untracked.bool(False)
0085 )
0086 
0087 # Production Info
0088 process.configurationMetadata = cms.untracked.PSet(
0089     annotation = cms.untracked.string('step2 nevts:10'),
0090     name = cms.untracked.string('Applications'),
0091     version = cms.untracked.string('$Revision: 1.19 $')
0092 )
0093 
0094 process.load('L1Trigger.L1TMuonCPPF.emulatorCppfDigis_cfi')
0095 from L1Trigger.L1TMuonCPPF.emulatorCppfDigis_cfi import *
0096 
0097 # Output definition
0098 
0099 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0100     dataset = cms.untracked.PSet(
0101         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0102         filterName = cms.untracked.string('')
0103     ),
0104     fileName = cms.untracked.string('file:step2.root'),
0105     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0106     splitLevel = cms.untracked.int32(0)
0107 )
0108 
0109 # Additional output definition
0110 
0111 # Other statements
0112 process.mix.digitizers = cms.PSet(process.theDigitizersValid)
0113 from Configuration.AlCa.GlobalTag import GlobalTag
0114 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2018_realistic', '')
0115 
0116 # Path and EndPath definitions
0117 process.digitisation_step = cms.Path(process.pdigi_valid)
0118 process.emulatorCppfDigis_step = cms.Path(process.emulatorCppfDigis)
0119 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0120 process.digi2raw_step = cms.Path(process.DigiToRaw)
0121 process.endjob_step = cms.EndPath(process.endOfProcess)
0122 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0123 
0124 # Schedule definition
0125 # process.schedule imported from cff in HLTrigger.Configuration
0126 process.schedule.insert(0, process.digitisation_step)
0127 process.schedule.insert(1, process.emulatorCppfDigis_step)
0128 process.schedule.insert(2, process.L1simulation_step)
0129 process.schedule.insert(3, process.digi2raw_step)
0130 process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
0131 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0132 associatePatAlgosToolsTask(process)
0133 
0134 # customisation of the process.
0135 
0136 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0137 from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC 
0138 
0139 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC
0140 process = customizeHLTforMC(process)
0141 
0142 # End of customisation functions
0143 
0144 # Customisation from command line
0145 
0146 # Add early deletion of temporary data products to reduce peak memory need
0147 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0148 process = customiseEarlyDelete(process)
0149 # End adding early deletion