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 # input file
0007 
0008 process.source = cms.Source ("PoolSource",
0009    fileNames = cms.untracked.vstring(
0010         'file:///afs/cern.ch/work/g/gflouris/public/l1tbmtf_data_Run271820.root'),
0011     #eventsToProcess=cms.untracked.VEventRange('267878:19:46902-267878:19:46902')
0012    )
0013 
0014 
0015 
0016 # N events
0017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10000) )
0018 
0019 # output file
0020 process.TFileService = cms.Service("TFileService",
0021     fileName = cms.string('L1Tree.root')
0022 )
0023 
0024 # producer under test
0025 process.load("L1Trigger.L1TNtuples.l1UpgradeTfMuonTree_cfi")
0026 process.l1UpgradeTfMuonTree.bmtfMuonToken = "BMTFStage2Digis:BMTF"
0027 process.l1UpgradeTfMuonTree.bmtfInputPhMuonToken = "BMTFStage2Digis:PhiDigis"
0028 process.l1UpgradeTfMuonTree.bmtfInputThMuonToken = "BMTFStage2Digis:TheDigis"
0029 
0030 process.l1UpgradeTfMuonTree.omtfMuonToken = "none"
0031 process.l1UpgradeTfMuonTree.emtfMuonToken = "none"
0032 
0033 process.p = cms.Path(
0034   process.l1UpgradeTfMuonTree
0035 )
0036