Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:24:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0004 
0005 process = cms.Process('HLT',Run3_dd4hep)
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.GeometryDD4hepExtended2021Reco_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 
0027 process.maxEvents = cms.untracked.PSet(
0028     input = cms.untracked.int32(10),
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('file:step1_ZMM_dd4hep.root'),
0036     inputCommands = cms.untracked.vstring(
0037         'keep *', 
0038         'drop *_genParticles_*_*', 
0039         'drop *_genParticlesForJets_*_*', 
0040         'drop *_kt4GenJets_*_*', 
0041         'drop *_kt6GenJets_*_*', 
0042         'drop *_iterativeCone5GenJets_*_*', 
0043         'drop *_ak4GenJets_*_*', 
0044         'drop *_ak7GenJets_*_*', 
0045         'drop *_ak8GenJets_*_*', 
0046         'drop *_ak4GenJetsNoNu_*_*', 
0047         'drop *_ak8GenJetsNoNu_*_*', 
0048         'drop *_genCandidatesForMET_*_*', 
0049         'drop *_genParticlesForMETAllVisible_*_*', 
0050         'drop *_genMetCalo_*_*', 
0051         'drop *_genMetCaloAndNonPrompt_*_*', 
0052         'drop *_genMetTrue_*_*', 
0053         'drop *_genMetIC5GenJs_*_*'
0054     ),
0055     secondaryFileNames = cms.untracked.vstring()
0056 )
0057 
0058 process.options = cms.untracked.PSet(
0059     FailPath = cms.untracked.vstring(),
0060     IgnoreCompletely = cms.untracked.vstring(),
0061     Rethrow = cms.untracked.vstring(),
0062     SkipEvent = cms.untracked.vstring(),
0063     allowUnscheduled = cms.obsolete.untracked.bool,
0064     canDeleteEarly = cms.untracked.vstring(),
0065     emptyRunLumiMode = cms.obsolete.untracked.string,
0066     eventSetup = cms.untracked.PSet(
0067         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0068 
0069         ),
0070         numberOfConcurrentIOVs = cms.untracked.uint32(1)
0071     ),
0072     fileMode = cms.untracked.string('FULLMERGE'),
0073     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0074     makeTriggerResults = cms.obsolete.untracked.bool,
0075     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(1),
0076     numberOfConcurrentRuns = cms.untracked.uint32(1),
0077     numberOfStreams = cms.untracked.uint32(0),
0078     numberOfThreads = cms.untracked.uint32(1),
0079     printDependencies = cms.untracked.bool(False),
0080     sizeOfStackForThreadsInKB = cms.optional.untracked.uint32,
0081     throwIfIllegalParameter = cms.untracked.bool(True),
0082     wantSummary = cms.untracked.bool(False)
0083 )
0084 
0085 # Production Info
0086 process.configurationMetadata = cms.untracked.PSet(
0087     annotation = cms.untracked.string('step2 nevts:10'),
0088     name = cms.untracked.string('Applications'),
0089     version = cms.untracked.string('$Revision: 1.19 $')
0090 )
0091 
0092 # Output definition
0093 
0094 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0095     dataset = cms.untracked.PSet(
0096         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0097         filterName = cms.untracked.string('')
0098     ),
0099     fileName = cms.untracked.string('file:step2_ZMM_dd4hep.root'),
0100     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0101     splitLevel = cms.untracked.int32(0)
0102 )
0103 
0104 # Additional output definition
0105 
0106 # Other statements
0107 process.mix.digitizers = cms.PSet(process.theDigitizersValid)
0108 from Configuration.AlCa.GlobalTag import GlobalTag
0109 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0110 
0111 # Path and EndPath definitions
0112 process.digitisation_step = cms.Path(process.pdigi_valid)
0113 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0114 process.digi2raw_step = cms.Path(process.DigiToRaw)
0115 process.endjob_step = cms.EndPath(process.endOfProcess)
0116 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0117 
0118 # Schedule definition
0119 # process.schedule imported from cff in HLTrigger.Configuration
0120 process.schedule.insert(0, process.digitisation_step)
0121 process.schedule.insert(1, process.L1simulation_step)
0122 process.schedule.insert(2, process.digi2raw_step)
0123 process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
0124 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0125 associatePatAlgosToolsTask(process)
0126 
0127 # customisation of the process.
0128 
0129 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0130 from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC 
0131 
0132 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC
0133 process = customizeHLTforMC(process)
0134 
0135 # End of customisation functions
0136 
0137 # Customisation from command line
0138 
0139 # Add early deletion of temporary data products to reduce peak memory need
0140 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0141 process = customiseEarlyDelete(process)
0142 # End adding early deletion