Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:49:33

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