Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:15:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('GctVmeDoAll')
0004 
0005 process.source = cms.Source ( "EmptySource" )
0006 
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 process.MessageLogger.cerr.threshold = cms.untracked.string('DEBUG')
0009 process.MessageLogger.cerr.INFO.limit = cms.untracked.int32(100)
0010 
0011 
0012 # N events
0013 process.maxEvents = cms.untracked.PSet ( input = cms.untracked.int32 ( 3563 ) )
0014 
0015 # raw data
0016 process.gctRaw = cms.OutputModule( "TextToRaw",
0017   filename = cms.untracked.string("patternCapture_ts__2009_11_03__17h21m43s.txt"),
0018   GctFedId = cms.untracked.int32 ( 745 )
0019 )
0020 
0021 # dump raw
0022 process.dumpRaw = cms.OutputModule ( "DumpFEDRawDataProduct",
0023   feds = cms.untracked.vint32 ( 745 ),
0024   dumpPayload = cms.untracked.bool ( True )
0025 )
0026   
0027 # digis
0028 process.load('EventFilter.GctRawToDigi.l1GctHwDigis_cfi')
0029 process.l1GctHwDigis.inputLabel = cms.InputTag( "gctRaw" )
0030 process.l1GctHwDigis.verbose = cms.untracked.bool ( True )
0031 process.l1GctHwDigis.numberOfGctSamplesToUnpack = cms.uint32(1)
0032 process.l1GctHwDigis.numberOfRctSamplesToUnpack = cms.uint32(1)
0033 
0034 # dump digis
0035 process.load('L1Trigger.L1GctAnalyzer.dumpGctDigis_cfi')
0036 process.dumpGctDigis.rawInput = cms.untracked.InputTag( "l1GctHwDigis" )
0037 process.dumpGctDigis.emuRctInput = cms.untracked.InputTag( "rctDigis" )
0038 process.dumpGctDigis.emuGctInput = cms.untracked.InputTag( "gctDigis" )
0039 process.dumpGctDigis.doHardware = cms.untracked.bool ( True )
0040 process.dumpGctDigis.doEmulated = cms.untracked.bool ( False )
0041 process.dumpGctDigis.doRctEm = cms.untracked.bool ( True )
0042 process.dumpGctDigis.doInternEm = cms.untracked.bool ( False )
0043 process.dumpGctDigis.doEm = cms.untracked.bool ( True )
0044 process.dumpGctDigis.doJets = cms.untracked.bool ( True )
0045 process.dumpGctDigis.doEnergySums = cms.untracked.bool ( True )
0046 
0047 # emulator
0048 process.load('L1Trigger.Configuration.L1DummyConfig_cff')
0049 import L1Trigger.GlobalCaloTrigger.gctDigis_cfi
0050 process.valGctDigis = L1Trigger.GlobalCaloTrigger.gctDigis_cfi.gctDigis.clone()
0051 process.valGctDigis.inputLabel = 'l1GctHwDigis'
0052 
0053 # comparator
0054 process.load('L1Trigger.HardwareValidation.L1Comparator_cfi')
0055 process.l1compare.COMPARE_COLLS = cms.untracked.vuint32(
0056 # ETP,HTP,RCT,GCT,DTP,DTF,CTP,CTF,RPC,LTC,GMT,GT
0057     0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0
0058 )
0059 
0060 # GCT DQM
0061 process.load('DQMServices.Core.DQM_cfg')
0062 
0063 process.load('DQM.L1TMonitor.L1TGCT_cfi')
0064 process.l1tgct.disableROOToutput = cms.untracked.bool(False)
0065 process.l1tgct.outputFile = cms.untracked.string('gctDqm.root')
0066 process.l1tgct.gctCentralJetsSource = cms.InputTag("l1GctHwDigis","cenJets")
0067 process.l1tgct.gctNonIsoEmSource = cms.InputTag("l1GctHwDigis","nonIsoEm")
0068 process.l1tgct.gctForwardJetsSource = cms.InputTag("l1GctHwDigis","forJets")
0069 process.l1tgct.gctIsoEmSource = cms.InputTag("l1GctHwDigis","isoEm")
0070 process.l1tgct.gctEnergySumsSource = cms.InputTag("l1GctHwDigis","")
0071 process.l1tgct.gctTauJetsSource = cms.InputTag("l1GctHwDigis","tauJets")
0072 
0073 # RCT DQM
0074 process.load('DQM.L1TMonitor.L1TRCT_cfi')
0075 process.l1trct.disableROOToutput = cms.untracked.bool(False)
0076 #process.l1trct.outputFile = cms.untracked.string('gctDqm.root')
0077 process.l1trct.rctSource = cms.InputTag("l1GctHwDigis","")
0078 
0079 # EMU DQM
0080 process.load('DQM.L1TMonitor.L1TDEMON_cfi')
0081 process.l1demon.VerboseFlag = cms.untracked.int32(1)
0082 process.l1demon.HistFile = cms.untracked.string('gctDqm.root')
0083 
0084 process.defaultPath = cms.Sequence ( process.gctRaw * process.l1GctHwDigis
0085 # print Raw
0086 #                       * process.dumpRaw
0087 # print GCT digis
0088 #                       * process.dumpGctDigis
0089 # RCT DQM
0090                        * process.l1trct
0091 # GCT DQM
0092                        * process.l1tgct
0093 # Emulator DQM
0094                        * process.valGctDigis * process.l1compare * process.l1demon )
0095 
0096 process.p = cms.Path(process.defaultPath)
0097 
0098 # Write out digis in file
0099 process.out = cms.OutputModule(
0100     "PoolOutputModule",
0101     fileName = cms.untracked.string("gctVmeDoAll.root")
0102     )
0103 
0104 process.outpath=cms.EndPath(process.out)
0105