Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #
0002 # test_DigiToRaw_RawToDigi_RelVal.py
0003 #
0004 # Test 2 : run packer and unpacker on RelVal, and compare output with original emulator digis
0005 #
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 process = cms.Process('testDigiToRawRawToDigiRelVal')
0010 
0011 # Number of events
0012 process.maxEvents = cms.untracked.PSet ( input = cms.untracked.int32 ( 5000 ) )
0013 
0014 # GCT packer
0015 process.load('EventFilter.GctRawToDigi.gctDigiToRaw_cfi')
0016 
0017 # GCT Unpacker
0018 process.load('EventFilter.GctRawToDigi.l1GctHwDigis_cfi')
0019 process.l1GctHwDigis.inputLabel = cms.InputTag( "gctDigiToRaw" )
0020 
0021 # comparator
0022 process.load('L1Trigger.HardwareValidation.L1Comparator_cfi')
0023 process.l1compare.GCTsourceData = cms.InputTag( "l1GctHwDigis" )
0024 process.l1compare.GCTsourceEmul = cms.InputTag( "simGctDigis" )
0025 process.l1compare.VerboseFlag = cms.untracked.int32(0)
0026 process.l1compare.DumpMode = cms.untracked.int32(0) #was -1 (shows failed + worked) or 1 (shows failed only)
0027 process.l1compare.DumpFile = cms.untracked.string( "l1compare_dump.txt" )
0028 process.l1compare.COMPARE_COLLS = cms.untracked.vuint32(
0029 # ETP,HTP,RCT,GCT,DTP,DTF,CTP,CTF,RPC,LTC,GMT,GT
0030     0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0
0031 )
0032 
0033 # GCT EXPERT EMU DQM
0034 process.load('DQMServices.Core.DQM_cfg')
0035 process.load('DQM.L1TMonitor.L1TdeGCT_cfi')
0036 process.l1demongct.VerboseFlag = cms.untracked.int32(0)
0037 process.l1demongct.DataEmulCompareSource = cms.InputTag("l1compare")
0038 process.l1demongct.HistFile = cms.untracked.string('test_DigiToRaw_RawToDigi_RelVal.root')
0039 process.l1demongct.disableROOToutput = cms.untracked.bool( False )
0040 
0041 process.defaultPath = cms.Sequence (
0042     process.gctDigiToRaw *
0043     process.l1GctHwDigis *
0044     process.l1compare * 
0045     process.l1demongct
0046 )
0047 
0048 process.p = cms.Path(process.defaultPath)
0049 
0050 # RelVal input sample
0051 process.source = cms.Source ( "PoolSource",
0052    fileNames = cms.untracked.vstring(
0053        '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/FE9F3CF9-00D2-DE11-A496-001D09F295A1.root',
0054               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/ECF4C4A0-01D2-DE11-9A02-001D09F28F25.root',
0055               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/D43FBDEB-03D2-DE11-841C-001D09F2960F.root',
0056               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/CE50334E-02D2-DE11-B06E-001D09F291D7.root',
0057               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/C8B63DBD-00D2-DE11-B86A-001D09F232B9.root',
0058               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/A670DB12-02D2-DE11-93AC-001D09F2423B.root',
0059               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/A6264B7E-02D2-DE11-846B-003048D374F2.root',
0060               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/90D48228-01D2-DE11-9F10-000423D94E1C.root',
0061               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/8E47E274-02D2-DE11-84C3-001D09F241B9.root',
0062               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/8AF1A4F1-03D2-DE11-91F1-0019B9F581C9.root',
0063               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/7E023C03-01D2-DE11-A252-003048D2C0F4.root',
0064               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/7AF2F6AA-02D2-DE11-80B4-000423D6B48C.root',
0065               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/74224C8A-03D2-DE11-840D-00304879FBB2.root',
0066               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/7070017B-04D2-DE11-A2A2-001D09F2546F.root',
0067               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/6AD40188-02D2-DE11-B606-001D09F29169.root',
0068               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/486D81E3-1ED2-DE11-8422-000423D9997E.root',
0069               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/4485965D-03D2-DE11-886E-0030486733D8.root',
0070               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/42042775-01D2-DE11-A999-001D09F2AD84.root',
0071               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/3E82B179-02D2-DE11-90E2-001D09F24664.root',
0072               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/3C3D89A5-04D2-DE11-91DD-001D09F252DA.root',
0073               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/3AE600BB-02D2-DE11-AB8D-001D09F34488.root',
0074               '/store/relval/CMSSW_3_3_3/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG/MC_31X_V9-v1/0003/307173F4-02D2-DE11-823A-001D09F24303.root'
0075 
0076 )
0077 )