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 # conditions
0007 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 from Configuration.AlCa.autoCond import autoCond
0009 process.GlobalTag.globaltag = cms.string( autoCond['run2_mc'] )
0010 
0011 # input file
0012 from L1Trigger.L1TNtuples.RelValInputFiles import *
0013 process.source = cms.Source (
0014   "PoolSource",
0015   fileNames = cms.untracked.vstring( RelValInputFile_AOD() )
0016 )
0017 
0018 # N events
0019 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0020 
0021 # output file
0022 process.TFileService = cms.Service("TFileService",
0023     fileName = cms.string('L1Tree.root')
0024 )
0025 
0026 # producer under test
0027 process.load("L1Trigger.L1TNtuples.l1ExtraTreeProducer_cfi")
0028 
0029 process.p = cms.Path(
0030   process.l1ExtraTreeProducer
0031 )
0032