Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-27 23:38:30

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