File indexing completed on 2024-04-06 12:20:14
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process('TimingAnalyzer')
0004
0005
0006
0007
0008
0009 process.MessageLogger = cms.Service("MessageLogger",
0010 cerr = cms.untracked.PSet(
0011 enable = cms.untracked.bool(False)
0012 ),
0013 debugModules = cms.untracked.vstring('*'),
0014 debuglog = cms.untracked.PSet(
0015 threshold = cms.untracked.string('DEBUG')
0016 ),
0017 files = cms.untracked.PSet(
0018 debug = cms.untracked.PSet(
0019
0020 )
0021 )
0022 )
0023
0024
0025 process.source = cms.Source ( "EmptySource" )
0026
0027 process.gctRaw = cms.OutputModule( "TextToRaw",
0028 filename = cms.untracked.string ( "bx94.txt" ),
0029 )
0030
0031 process.maxEvents = cms.untracked.PSet ( input = cms.untracked.int32 ( 1 ) )
0032
0033
0034 process.load('EventFilter/GctRawToDigi/l1GctHwDigis_cfi')
0035 process.l1GctHwDigis.unpackFibres = cms.untracked.bool ( True )
0036 process.l1GctHwDigis.verbose = cms.untracked.bool ( True )
0037 process.l1GctHwDigis.inputLabel = cms.InputTag( "gctRaw" )
0038 process.l1GctHwDigis.unpackInternEm = cms.untracked.bool ( True )
0039 process.l1GctHwDigis.unpackInternJets = cms.untracked.bool ( True )
0040 process.l1GctHwDigis.unpackInternESums = cms.untracked.bool ( True )
0041 process.l1GctHwDigis.unpackInternHF = cms.untracked.bool ( True )
0042
0043
0044 process.TimingAnalysis = cms.OutputModule( "GctTimingAnalyzer",
0045 isoEmSource = cms.untracked.InputTag("l1GctHwDigis","isoEm"),
0046 nonIsoEmSource = cms.untracked.InputTag("l1GctHwDigis","nonIsoEm"),
0047 gctSource = cms.untracked.InputTag("l1GctHwDigis"),
0048 cenJetsSource = cms.untracked.InputTag("l1GctHwDigis","cenJets"),
0049 forJetsSource = cms.untracked.InputTag("l1GctHwDigis","forJets"),
0050 tauJetsSource = cms.untracked.InputTag("l1GctHwDigis","tauJets"),
0051 doInternal = cms.untracked.bool(True),
0052 doElectrons = cms.untracked.bool(True),
0053 doJets = cms.untracked.bool(True),
0054 doHFRings = cms.untracked.bool(True),
0055 doESums = cms.untracked.bool(True)
0056 )
0057
0058 process.p = cms.Path ( process.gctRaw * process.l1GctHwDigis *process.TimingAnalysis )
0059
0060 process.output = cms.OutputModule ( "PoolOutputModule",
0061 outputCommands = cms.untracked.vstring (
0062 "drop *",
0063 "keep *_l1GctHwDigis_*_*",
0064 "keep *_gctRaw_*_*"
0065 ),
0066
0067 fileName = cms.untracked.string ( "gctDigis.root" )
0068
0069 )
0070 process.out = cms.EndPath(process.output)