CMS 3D CMS Logo

L1HardwareValidation_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # L1 Emulator-Hardware comparison sequences -- Global Run
00004 #
00005 # J. Brooke, N. Leonardo
00006 #
00007 # included here:
00008 # - emulator sequences
00009 # - specification of emulator inputs
00010 # - definition of validation sequences
00011 #
00012 # these sequences assume RawToDigi has run
00013 #
00014 # note that the emulator configuration also needs to be supplied
00015 #  either from dummy ES producers, or DB
00016 # note fake conditions for ECAL/HCAL - should be moved out of here
00017 #  and into Fake/FrontierConditions
00018 
00019 from SimCalorimetry.EcalTrigPrimProducers.ecalTrigPrimESProducer_cff import *
00020 import SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cfi
00021 valEcalTriggerPrimitiveDigis = SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cfi.simEcalTriggerPrimitiveDigis.clone()
00022 
00023 # HCAL sequence
00024 # requires hcalDigis only
00025 from SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff import *
00026 valHcalTriggerPrimitiveDigis = SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cfi.simHcalTriggerPrimitiveDigis.clone()
00027 
00028 # RCT sequence
00029 # requires ecalDigis and hcalDigis
00030 import L1Trigger.RegionalCaloTrigger.rctDigis_cfi
00031 valRctDigis = L1Trigger.RegionalCaloTrigger.rctDigis_cfi.rctDigis.clone()
00032 
00033 # GCT sequence
00034 # requires gctDigis
00035 import L1Trigger.GlobalCaloTrigger.gctDigis_cfi
00036 valGctDigis = L1Trigger.GlobalCaloTrigger.gctDigis_cfi.gctDigis.clone()
00037 
00038 # DT TPG sequence
00039 # requires muonDTDigis only
00040 import L1Trigger.DTTrigger.dtTriggerPrimitiveDigis_cfi
00041 valDtTriggerPrimitiveDigis = L1Trigger.DTTrigger.dtTriggerPrimitiveDigis_cfi.dtTriggerPrimitiveDigis.clone()
00042 
00043 # DT TF sequence
00044 # requires dttfDigis and csctfDigis
00045 # currently generates CSCTF stubs by running CSCTF emulator
00046 import L1Trigger.DTTrackFinder.dttfDigis_cfi
00047 valDttfDigis = L1Trigger.DTTrackFinder.dttfDigis_cfi.dttfDigis.clone()
00048 #replace valDttfDigis.CSCStub_Source = csctfDigis
00049 import L1Trigger.HardwareValidation.MuonCandProducerMon_cfi
00050 muonDtMon = L1Trigger.HardwareValidation.MuonCandProducerMon_cfi.muonCandMon.clone()
00051 
00052 # CSC TPG sequence
00053 # requires muonCSCDigis only
00054 import L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi
00055 valCscTriggerPrimitiveDigis = L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi.cscTriggerPrimitiveDigis.clone()
00056 
00057 # CSC TF sequence
00058 # requires csctfDigis and dttfDigis
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 # RPC sequence
00067 # requires muonRPCDigis only
00068 import L1Trigger.RPCTrigger.rpcTriggerDigis_cfi
00069 valRpcTriggerDigis = L1Trigger.RPCTrigger.rpcTriggerDigis_cfi.rpcTriggerDigis.clone()
00070 
00071 # GMT sequence
00072 # requires gtDigis only
00073 import L1Trigger.GlobalMuonTrigger.gmtDigis_cfi
00074 valGmtDigis = L1Trigger.GlobalMuonTrigger.gmtDigis_cfi.gmtDigis.clone()
00075 
00076 # GT sequence
00077 # requires gtDigis and gctDigis
00078 import L1Trigger.GlobalTrigger.gtDigis_cfi
00079 valGtDigis = L1Trigger.GlobalTrigger.gtDigis_cfi.gtDigis.clone()
00080 
00081 # Emulator input
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 #valDtTriggerPrimitiveDigis.inputLabel = 'muonDTDigis'
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 #replace valCsctfTrackDigis.useDT               = false
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 #Emulator settings
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 # the comparator module
00127 # parameters are specified in cfi
00128 from L1Trigger.HardwareValidation.L1Comparator_cfi import *
00129 #l1compare.COMPARE_COLLS = [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1]
00130 # ETP,HTP,RCT,GCT, DTP,DTF,CTP,CTF,RPC, LTC,GMT,GT
00131 
00132 # subsystem sequences
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 #replace valGmtDigis.MipIsoData =
00143 deGmt = cms.Sequence(valGmtDigis)
00144 #replace valGtDigis.TechnicalTriggerInputTag = ???
00145 deGt = cms.Sequence(valGtDigis)
00146 
00147 # the sequences
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 

Generated on Tue Jun 9 17:40:15 2009 for CMSSW by  doxygen 1.5.4