Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:48

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 -s DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@relval2017 --conditions auto:phase1_2017_realistic --datatier GEN-SIM-DIGI-RAW -n 10 --eventcontent FEVTDEBUGHLT --geometry DB:Extended --era Run2_2017 --filein file:step1.root --fileout file:step2.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0009 from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
0010 
0011 process = cms.Process('HLT',Run2_2017,dd4hep)
0012 
0013 # import of standard configurations
0014 process.load('Configuration.StandardSequences.Services_cff')
0015 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0016 process.load('FWCore.MessageService.MessageLogger_cfi')
0017 process.load('Configuration.EventContent.EventContent_cff')
0018 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0019 process.load('Configuration.Geometry.GeometryDD4hepExtended2017DD4hepReco_cff')
0020 process.load('Configuration.StandardSequences.MagneticField_cff')
0021 process.load('Configuration.StandardSequences.Digi_cff')
0022 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0023 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0024 process.load('HLTrigger.Configuration.HLT_Fake2_cff')
0025 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0026 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(10),
0030     output = cms.optional.untracked.allowed(cms.int32,cms.PSet)
0031 )
0032 
0033 # Input source
0034 process.source = cms.Source("PoolSource",
0035     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0036     fileNames = cms.untracked.vstring('file:step1.root'),
0037     inputCommands = cms.untracked.vstring(
0038         'keep *',
0039         'drop *_genParticles_*_*',
0040         'drop *_genParticlesForJets_*_*',
0041         'drop *_kt4GenJets_*_*',
0042         'drop *_kt6GenJets_*_*',
0043         'drop *_iterativeCone5GenJets_*_*',
0044         'drop *_ak4GenJets_*_*',
0045         'drop *_ak7GenJets_*_*',
0046         'drop *_ak8GenJets_*_*',
0047         'drop *_ak4GenJetsNoNu_*_*',
0048         'drop *_ak8GenJetsNoNu_*_*',
0049         'drop *_genCandidatesForMET_*_*',
0050         'drop *_genParticlesForMETAllVisible_*_*',
0051         'drop *_genMetCalo_*_*',
0052         'drop *_genMetCaloAndNonPrompt_*_*',
0053         'drop *_genMetTrue_*_*',
0054         'drop *_genMetIC5GenJs_*_*'
0055     ),
0056     secondaryFileNames = cms.untracked.vstring()
0057 )
0058 
0059 process.options = cms.untracked.PSet(
0060     IgnoreCompletely = cms.untracked.vstring(),
0061     Rethrow = cms.untracked.vstring(),
0062     TryToContinue = cms.untracked.vstring(),
0063     accelerators = cms.untracked.vstring('*'),
0064     allowUnscheduled = cms.obsolete.untracked.bool,
0065     canDeleteEarly = cms.untracked.vstring(),
0066     deleteNonConsumedUnscheduledModules = cms.untracked.bool(True),
0067     dumpOptions = cms.untracked.bool(False),
0068     emptyRunLumiMode = cms.obsolete.untracked.string,
0069     eventSetup = cms.untracked.PSet(
0070         forceNumberOfConcurrentIOVs = cms.untracked.PSet(
0071             allowAnyLabel_=cms.required.untracked.uint32
0072         ),
0073         numberOfConcurrentIOVs = cms.untracked.uint32(0)
0074     ),
0075     fileMode = cms.untracked.string('FULLMERGE'),
0076     forceEventSetupCacheClearOnNewRun = cms.untracked.bool(False),
0077     makeTriggerResults = cms.obsolete.untracked.bool,
0078     numberOfConcurrentLuminosityBlocks = cms.untracked.uint32(0),
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 # Output definition
0096 
0097 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0098     dataset = cms.untracked.PSet(
0099         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW'),
0100         filterName = cms.untracked.string('')
0101     ),
0102     fileName = cms.untracked.string('file:step2.root'),
0103     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0104     splitLevel = cms.untracked.int32(0)
0105 )
0106 
0107 # Additional output definition
0108 
0109 # Other statements
0110 process.mix.digitizers = cms.PSet(process.theDigitizersValid)
0111 from Configuration.AlCa.GlobalTag import GlobalTag
0112 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_realistic', '')
0113 
0114 # Path and EndPath definitions
0115 process.digitisation_step = cms.Path(process.pdigi_valid)
0116 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0117 process.digi2raw_step = cms.Path(process.DigiToRaw)
0118 process.endjob_step = cms.EndPath(process.endOfProcess)
0119 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0120 
0121 # Schedule definition
0122 # process.schedule imported from cff in HLTrigger.Configuration
0123 process.schedule.insert(0, process.digitisation_step)
0124 process.schedule.insert(1, process.L1simulation_step)
0125 process.schedule.insert(2, process.digi2raw_step)
0126 process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
0127 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0128 associatePatAlgosToolsTask(process)
0129 
0130 # customisation of the process.
0131 
0132 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0133 from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC 
0134 
0135 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC
0136 process = customizeHLTforMC(process)
0137 
0138 # End of customisation functions
0139 
0140 
0141 # Customisation from command line
0142 
0143 # Add early deletion of temporary data products to reduce peak memory need
0144 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0145 process = customiseEarlyDelete(process)
0146 # End adding early deletion