Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:50

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 --conditions auto:phase2_realistic -s DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --datatier GEN-SIM-DIGI-RAW -n 10 --geometry Extended2023D22 --era Phase2 --eventcontent FEVTDEBUGHLT --filein file:step1.root --fileout file:step2.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 
0009 from Configuration.Eras.Era_Phase2_cff import Phase2
0010 process = cms.Process('L1',Phase2)
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.GeometryExtended2023D22Reco_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 #process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0021 process.load('Configuration.StandardSequences.Reconstruction_cff')
0022 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0023 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0024 
0025 
0026 process.me0RecoSequence = cms.Sequence(
0027    process.me0RecHits * process.me0Segments
0028 )
0029 
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(10)
0033 )
0034 
0035 # Input source
0036 process.source = cms.Source("PoolSource",
0037     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0038     fileNames = cms.untracked.vstring('file:step2.root'),
0039     inputCommands = cms.untracked.vstring(
0040         'keep *',
0041         'drop *_genParticles_*_*',
0042         'drop *_genParticlesForJets_*_*',
0043         'drop *_kt4GenJets_*_*',
0044         'drop *_kt6GenJets_*_*',
0045         'drop *_iterativeCone5GenJets_*_*',
0046         'drop *_ak4GenJets_*_*',
0047         'drop *_ak7GenJets_*_*',
0048         'drop *_ak8GenJets_*_*',
0049         'drop *_ak4GenJetsNoNu_*_*',
0050         'drop *_ak8GenJetsNoNu_*_*',
0051         'drop *_genCandidatesForMET_*_*',
0052         'drop *_genParticlesForMETAllVisible_*_*',
0053         'drop *_genMetCalo_*_*',
0054         'drop *_genMetCaloAndNonPrompt_*_*',
0055         'drop *_genMetTrue_*_*',
0056         'drop *_genMetIC5GenJs_*_*'
0057     ),
0058     secondaryFileNames = cms.untracked.vstring()
0059 )
0060 
0061 process.options = cms.untracked.PSet(
0062 
0063 )
0064 
0065 # Production Info
0066 process.configurationMetadata = cms.untracked.PSet(
0067     annotation = cms.untracked.string('step2 nevts:10'),
0068     name = cms.untracked.string('Applications'),
0069     version = cms.untracked.string('$Revision: 1.19 $')
0070 )
0071 
0072 # Output definition
0073 
0074 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0075     dataset = cms.untracked.PSet(
0076         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW-RECO'),
0077         filterName = cms.untracked.string('')
0078     ),
0079     fileName = cms.untracked.string('file:ME0step3.root'),
0080     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0081     splitLevel = cms.untracked.int32(0)
0082 )
0083 
0084 # Additional output definition
0085 
0086 # Other statements
0087 from Configuration.AlCa.GlobalTag import GlobalTag
0088 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0089 
0090 
0091 process.load('L1Trigger.L1TGEM.me0TriggerConvertedPseudoDigis_cfi')
0092 process.me0TriggerConvertedPseudoDigis.info = 3
0093 process.me0TriggerConvertedPseudoDigis.ME0SegmentProducer = cms.InputTag("me0Segments")
0094 
0095 
0096 # Path and EndPath definitions
0097 #process.ME0_step = cms.Path(process.me0RecoSequence_all)
0098 process.ME0Reco_step = cms.Path(process.me0RecoSequence)
0099 process.ME0L1_step = cms.Path(process.me0TriggerConvertedPseudoDigis)
0100 process.endjob_step = cms.EndPath(process.endOfProcess)
0101 process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0102 
0103 # Schedule definition
0104 process.schedule = cms.Schedule(process.ME0Reco_step, process.ME0L1_step)
0105 process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
0106 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0107 associatePatAlgosToolsTask(process)
0108 
0109 # customisation of the process.
0110 
0111 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0112 #from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforMC
0113 
0114 #call to customisation function customizeHLTforMC imported from HLTrigger.Configuration.customizeHLTforMC
0115 #process = customizeHLTforMC(process)
0116 
0117 # End of customisation functions
0118 
0119 # Customisation from command line
0120 
0121 # Add early deletion of temporary data products to reduce peak memory need
0122 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0123 process = customiseEarlyDelete(process)
0124 # End adding early deletion