Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:16

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("L1NTUPLE")
0005 
0006 process.options = cms.untracked.PSet(
0007     SkipEvent = cms.untracked.vstring('ProductNotFound')
0008 )
0009 
0010 # import of standard configurations
0011 process.load('Configuration.StandardSequences.Services_cff')
0012 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0016 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0017 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0018 process.load('Configuration.StandardSequences.RawToDigi_cff')
0019 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021 
0022 
0023 # conditions
0024 from Configuration.AlCa.autoCond import autoCond
0025 process.GlobalTag.globaltag = cms.string( autoCond['run2_mc'] )
0026 
0027 # input file
0028 from L1Trigger.L1TNtuples.RelValInputFiles import *
0029 process.source = cms.Source (
0030   "PoolSource",
0031   fileNames = cms.untracked.vstring( RelValInputFile_AOD() )
0032 )
0033 
0034 # N events
0035 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0036 
0037 # output file
0038 process.TFileService = cms.Service("TFileService",
0039     fileName = cms.string('L1Tree.root')
0040 )
0041 
0042 # producer under test
0043 process.load("L1Trigger.L1TNtuples.l1JetRecoTreeProducer_cfi")
0044 
0045 #process.l1RecoTreeProducer.jetTag = cms.untracked.InputTag("ak4PFCHSJetsL2")
0046 
0047 process.p = cms.Path(
0048   process.l1JetRecoTreeProducer
0049 )
0050