Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:22

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.Reconstruction_cff')
0021 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0022 
0023 
0024 # conditions
0025 from Configuration.AlCa.autoCond import autoCond
0026 process.GlobalTag.globaltag = cms.string( autoCond['run2_mc'] )
0027 
0028 # input file
0029 from L1Trigger.L1TNtuples.RelValInputFiles import *
0030 process.source = cms.Source (
0031   "PoolSource",
0032   fileNames = cms.untracked.vstring( RelValInputFile_AOD() )
0033 )
0034 
0035 # N events
0036 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0037 
0038 # output file
0039 process.TFileService = cms.Service("TFileService",
0040     fileName = cms.string('L1Tree.root')
0041 )
0042 
0043 # producer under test
0044 process.load("L1Trigger.L1TNtuples.l1MuonRecoTreeProducer_cfi")
0045 
0046 process.p = cms.Path(
0047   process.l1MuonRecoTreeProducer
0048 )
0049