00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 from SimCalorimetry.EcalTrigPrimProducers.ecalTrigPrimESProducer_cff import *
00020 import SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cfi
00021 valEcalTriggerPrimitiveDigis = SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cfi.simEcalTriggerPrimitiveDigis.clone()
00022
00023
00024
00025 from SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff import *
00026 valHcalTriggerPrimitiveDigis = SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cfi.simHcalTriggerPrimitiveDigis.clone()
00027
00028
00029
00030 import L1Trigger.RegionalCaloTrigger.rctDigis_cfi
00031 valRctDigis = L1Trigger.RegionalCaloTrigger.rctDigis_cfi.rctDigis.clone()
00032
00033
00034
00035 import L1Trigger.GlobalCaloTrigger.gctDigis_cfi
00036 valGctDigis = L1Trigger.GlobalCaloTrigger.gctDigis_cfi.gctDigis.clone()
00037
00038
00039
00040 import L1Trigger.DTTrigger.dtTriggerPrimitiveDigis_cfi
00041 valDtTriggerPrimitiveDigis = L1Trigger.DTTrigger.dtTriggerPrimitiveDigis_cfi.dtTriggerPrimitiveDigis.clone()
00042
00043
00044
00045
00046 import L1Trigger.DTTrackFinder.dttfDigis_cfi
00047 valDttfDigis = L1Trigger.DTTrackFinder.dttfDigis_cfi.dttfDigis.clone()
00048
00049 import L1Trigger.HardwareValidation.MuonCandProducerMon_cfi
00050 muonDtMon = L1Trigger.HardwareValidation.MuonCandProducerMon_cfi.muonCandMon.clone()
00051
00052
00053
00054 import L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi
00055 valCscTriggerPrimitiveDigis = L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi.cscTriggerPrimitiveDigis.clone()
00056
00057
00058
00059 import L1Trigger.CSCTrackFinder.csctfTrackDigis_cfi
00060 valCsctfTrackDigis = L1Trigger.CSCTrackFinder.csctfTrackDigis_cfi.csctfTrackDigis.clone()
00061 import L1Trigger.CSCTrackFinder.csctfDigis_cfi
00062 valCsctfDigis = L1Trigger.CSCTrackFinder.csctfDigis_cfi.csctfDigis.clone()
00063 import L1Trigger.HardwareValidation.MuonCandProducerMon_cfi
00064 muonCscMon = L1Trigger.HardwareValidation.MuonCandProducerMon_cfi.muonCandMon.clone()
00065
00066
00067
00068 import L1Trigger.RPCTrigger.rpcTriggerDigis_cfi
00069 valRpcTriggerDigis = L1Trigger.RPCTrigger.rpcTriggerDigis_cfi.rpcTriggerDigis.clone()
00070
00071
00072
00073 import L1Trigger.GlobalMuonTrigger.gmtDigis_cfi
00074 valGmtDigis = L1Trigger.GlobalMuonTrigger.gmtDigis_cfi.gmtDigis.clone()
00075
00076
00077
00078 import L1Trigger.GlobalTrigger.gtDigis_cfi
00079 valGtDigis = L1Trigger.GlobalTrigger.gtDigis_cfi.gtDigis.clone()
00080
00081
00082 valEcalTriggerPrimitiveDigis.Label = 'ecalDigis'
00083 valEcalTriggerPrimitiveDigis.InstanceEB = 'ebDigis'
00084 valEcalTriggerPrimitiveDigis.InstanceEE = 'eeDigis'
00085
00086 valHcalTriggerPrimitiveDigis.inputLabel = 'hcalDigis'
00087
00088 valRctDigis.ecalDigisLabel = 'ecalDigis:EcalTriggerPrimitives'
00089 valRctDigis.hcalDigisLabel = 'hcalDigis'
00090
00091 valGctDigis.inputLabel = 'gctDigis'
00092
00093
00094 valDttfDigis.DTDigi_Source = 'dttfDigis'
00095 valDttfDigis.CSCStub_Source = 'valCsctfTrackDigis'
00096 muonDtMon.CSCinput = 'dttfDigis'
00097
00098 valCscTriggerPrimitiveDigis.CSCComparatorDigiProducer = cms.InputTag("muonCSCDigis","MuonCSCComparatorDigi")
00099 valCscTriggerPrimitiveDigis.CSCWireDigiProducer = cms.InputTag("muonCSCDigis","MuonCSCWireDigi")
00100 valCsctfTrackDigis.SectorReceiverInput = 'csctfDigis'
00101
00102 valCsctfTrackDigis.DTproducer = 'dttfDigis'
00103 valCsctfDigis.CSCTrackProducer = 'valCsctfTrackDigis'
00104 muonCscMon.CSCinput = 'csctfDigis'
00105
00106 valRpcTriggerDigis.label = 'muonRPCDigis'
00107
00108 valGmtDigis.DTCandidates = cms.InputTag("gtDigis","DT")
00109 valGmtDigis.CSCCandidates = cms.InputTag("gtDigis","CSC")
00110 valGmtDigis.RPCbCandidates = cms.InputTag("gtDigis","RPCb")
00111 valGmtDigis.RPCfCandidates = cms.InputTag("gtDigis","RPCf")
00112 valGmtDigis.MipIsoData = 'gctDigis'
00113
00114 valGtDigis.GmtInputTag = 'gtDigis'
00115 valGtDigis.GctInputTag = 'gctDigis'
00116
00117
00118 valHcalTriggerPrimitiveDigis.FG_threshold = cms.uint32(12)
00119 ecalTrigPrimESProducer.DatabaseFile = 'TPG_startup.txt.gz'
00120 HcalTPGCoderULUT.read_Ascii_LUTs = True
00121 HcalTPGCoderULUT.inputLUTs = 'L1Trigger/HardwareValidation/hwtest/globrun/HcalCRAFTPhysicsV2.dat'
00122 valRctDigis.UseMCAsInput = False
00123 valRctDigis.HFShift = -2
00124 valRctDigis.HBShift = 1
00125
00126
00127
00128 from L1Trigger.HardwareValidation.L1Comparator_cfi import *
00129
00130
00131
00132
00133 deEcal = cms.Sequence(valEcalTriggerPrimitiveDigis)
00134 deHcal = cms.Sequence(valHcalTriggerPrimitiveDigis)
00135 deRct = cms.Sequence(valRctDigis)
00136 deGct = cms.Sequence(valGctDigis)
00137 deDt = cms.Sequence(valDtTriggerPrimitiveDigis)
00138 deDttf = cms.Sequence(valCsctfTrackDigis*valDttfDigis*muonDtMon)
00139 deCsc = cms.Sequence(valCscTriggerPrimitiveDigis)
00140 deCsctf = cms.Sequence(valCsctfTrackDigis*valCsctfDigis*muonCscMon)
00141 deRpc = cms.Sequence(valRpcTriggerDigis)
00142
00143 deGmt = cms.Sequence(valGmtDigis)
00144
00145 deGt = cms.Sequence(valGtDigis)
00146
00147
00148 L1HardwareValidation = cms.Sequence(deEcal+deHcal+deRct+deGct+deDt+deDttf+deCsc+deCsctf+deRpc+deGmt+deGt*l1compare)
00149
00150 L1HardwareValidation_woGT = cms.Sequence(deEcal+deHcal+deRct+deGct+deDt+deDttf+deCsc+deCsctf+deRpc+deGmt+l1compare)
00151