Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-18 00:40:09

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     FailPath = cms.untracked.vstring(),
0063     IgnoreCompletely = cms.untracked.vstring(),
0064     Rethrow = cms.untracked.vstring(),
0065     SkipEvent = cms.untracked.vstring(),
0066     allowUnscheduled = cms.obsolete.untracked.bool,
0067     canDeleteEarly = cms.untracked.vstring(),
0068     emptyRunLumiMode = cms.obsolete.untracked.string,
0069     eventSetup = cms.untracked.PSet(
0070         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0071 
0072         ),
0073         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0074     ),
0075     fileMode = cms.untracked.string('FULLMERGE'),
0076     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0077     makeTriggerResults = cms.obsolete.untracked.bool,
0078     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0079     numberOfConcurrentRuns = cms.untracked.uint32(1),
0080     numberOfStreams = cms.untracked.uint32(0),
0081     numberOfThreads = cms.untracked.uint32(1),
0082     printDependencies = cms.untracked.bool(False),
0083     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0084     throwIfIllegalParameter = cms.untracked.bool(True),
0085     wantSummary = cms.untracked.bool(False)
0086 )
0087 
0088 # Production Info
0089 process.configurationMetadata = cms.untracked.PSet(
0090     annotation = cms.untracked.string('step2 nevts:10'),
0091     name = cms.untracked.string('Applications'),
0092     version = cms.untracked.string('$Revision: 1.19 $')
0093 )
0094 
0095 process.load('L1Trigger.L1TMuonCPPF.emulatorCppfDigis_cfi')
0096 from L1Trigger.L1TMuonCPPF.emulatorCppfDigis_cfi import *
0097 
0098 # Output definition
0099 
0100 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0101     dataset = cms.untracked.PSet(
0102         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0103         filterName = cms.untracked.string('')
0104     ),
0105     fileName = cms.untracked.string('file:step2.root'),
0106     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0107     splitLevel = cms.untracked.int32(0)
0108 )
0109 
0110 # Additional output definition
0111 
0112 # Other statements
0113 process.mix.digitizers = cms.PSet(process.theDigitizersValid)
0114 from Configuration.AlCa.GlobalTag import GlobalTag
0115 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2018_realistic', '')
0116 
0117 # Path and EndPath definitions
0118 process.digitisation_step = cms.Path(process.pdigi_valid)
0119 process.emulatorCppfDigis_step = cms.Path(process.emulatorCppfDigis)
0120 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0121 process.digi2raw_step = cms.Path(process.DigiToRaw)
0122 process.endjob_step = cms.EndPath(process.endOfProcess)
0123 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0124 
0125 # Schedule definition
0126 # process.schedule imported from cff in HLTrigger.Configuration
0127 process.schedule.insert(0, process.digitisation_step)
0128 process.schedule.insert(1, process.emulatorCppfDigis_step)
0129 process.schedule.insert(2, process.L1simulation_step)
0130 process.schedule.insert(3, process.digi2raw_step)
0131 process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
0132 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0133 associatePatAlgosToolsTask(process)
0134 
0135 # customisation of the process.
0136 
0137 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0138 from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC 
0139 
0140 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC
0141 process = customizeHLTforMC(process)
0142 
0143 # End of customisation functions
0144 
0145 # Customisation from command line
0146 
0147 # Add early deletion of temporary data products to reduce peak memory need
0148 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0149 process = customiseEarlyDelete(process)
0150 # End adding early deletion