Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:19

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