Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-07 22:22:58

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
0004 
0005 process = cms.Process('HLT',Run3_DDD)
0006 
0007 # import of standard configurations
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.load('Configuration.EventContent.EventContent_cff')
0012 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0013 process.load('Configuration.Geometry.GeometryExtended2021Reco_cff')
0014 process.load('Configuration.StandardSequences.MagneticField_cff')
0015 process.load('Configuration.StandardSequences.Digi_cff')
0016 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0017 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0018 process.load('HLTrigger.Configuration.HLT_GRun_cff')
0019 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021 
0022 #
0023 #    
0024 #   
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(10),
0028     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0029 )
0030 
0031 # Input source
0032 process.source = cms.Source("PoolSource",
0033     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0034     fileNames = cms.untracked.vstring('file:step1_ZMM_ddd.root'),
0035     inputCommands = cms.untracked.vstring(
0036         'keep *', 
0037         'drop *_genParticles_*_*', 
0038         'drop *_genParticlesForJets_*_*', 
0039         'drop *_kt4GenJets_*_*', 
0040         'drop *_kt6GenJets_*_*', 
0041         'drop *_iterativeCone5GenJets_*_*', 
0042         'drop *_ak4GenJets_*_*', 
0043         'drop *_ak7GenJets_*_*', 
0044         'drop *_ak8GenJets_*_*', 
0045         'drop *_ak4GenJetsNoNu_*_*', 
0046         'drop *_ak8GenJetsNoNu_*_*', 
0047         'drop *_genCandidatesForMET_*_*', 
0048         'drop *_genParticlesForMETAllVisible_*_*', 
0049         'drop *_genMetCalo_*_*', 
0050         'drop *_genMetCaloAndNonPrompt_*_*', 
0051         'drop *_genMetTrue_*_*', 
0052         'drop *_genMetIC5GenJs_*_*'
0053     ),
0054     secondaryFileNames = cms.untracked.vstring()
0055 )
0056 
0057 process.options = cms.untracked.PSet(
0058     FailPath = cms.untracked.vstring(),
0059     IgnoreCompletely = cms.untracked.vstring(),
0060     Rethrow = cms.untracked.vstring(),
0061     SkipEvent = cms.untracked.vstring(),
0062     allowUnscheduled = cms.obsolete.untracked.bool,
0063     canDeleteEarly = cms.untracked.vstring(),
0064     emptyRunLumiMode = cms.obsolete.untracked.string,
0065     eventSetup = cms.untracked.PSet(
0066         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0067 
0068         ),
0069         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0070     ),
0071     fileMode = cms.untracked.string('FULLMERGE'),
0072     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0073     makeTriggerResults = cms.obsolete.untracked.bool,
0074     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0075     numberOfConcurrentRuns = cms.untracked.uint32(1),
0076     numberOfStreams = cms.untracked.uint32(0),
0077     numberOfThreads = cms.untracked.uint32(1),
0078     printDependencies = cms.untracked.bool(False),
0079     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0080     throwIfIllegalParameter = cms.untracked.bool(True),
0081     wantSummary = cms.untracked.bool(False)
0082 )
0083 
0084 # Production Info
0085 process.configurationMetadata = cms.untracked.PSet(
0086     annotation = cms.untracked.string('step2 nevts:10'),
0087     name = cms.untracked.string('Applications'),
0088     version = cms.untracked.string('$Revision: 1.19 $')
0089 )
0090 
0091 # Output definition
0092 
0093 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0094     dataset = cms.untracked.PSet(
0095         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0096         filterName = cms.untracked.string('')
0097     ),
0098     fileName = cms.untracked.string('file:step2_ZMM_ddd.root'),
0099     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0100     splitLevel = cms.untracked.int32(0)
0101 )
0102 
0103 # Additional output definition
0104 
0105 # Other statements
0106 process.mix.digitizers = cms.PSet(process.theDigitizersValid)
0107 from Configuration.AlCa.GlobalTag import GlobalTag
0108 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0109 
0110 # Path and EndPath definitions
0111 process.digitisation_step = cms.Path(process.pdigi_valid)
0112 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0113 process.digi2raw_step = cms.Path(process.DigiToRaw)
0114 process.endjob_step = cms.EndPath(process.endOfProcess)
0115 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0116 
0117 # Schedule definition
0118 # process.schedule imported from cff in HLTrigger.Configuration
0119 process.schedule.insert(0, process.digitisation_step)
0120 process.schedule.insert(1, process.L1simulation_step)
0121 process.schedule.insert(2, process.digi2raw_step)
0122 process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
0123 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0124 associatePatAlgosToolsTask(process)
0125 
0126 # customisation of the process.
0127 
0128 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0129 from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC 
0130 
0131 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC
0132 process = customizeHLTforMC(process)
0133 
0134 # End of customisation functions
0135 
0136 # Customisation from command line
0137 
0138 # Add early deletion of temporary data products to reduce peak memory need
0139 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0140 process = customiseEarlyDelete(process)
0141 # End adding early deletion