CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/L1Trigger/Configuration/python/ValL1Emulator_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # L1 Emulator sequence running on unpacked data
00004 #    each emulator run on the unpacked data of the previous (in the hardware chain) subsystem 
00005 #
00006 #    Order if using the standard sequence
00007 #    RawToDigi,ValL1Emulator
00008 #
00009 # V.M. Ghete 2009-11-15
00010 
00011 # ECAL TPG sequence
00012 import SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cfi
00013 valEcalTriggerPrimitiveDigis = SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cfi.simEcalTriggerPrimitiveDigis.clone()
00014 #
00015 valEcalTriggerPrimitiveDigis.Label = 'ecalDigis'
00016 valEcalTriggerPrimitiveDigis.InstanceEB = 'ebDigis'
00017 valEcalTriggerPrimitiveDigis.InstanceEE = 'eeDigis'
00018 
00019 
00020 # HCAL TPG sequence
00021 from SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff import *
00022 valHcalTriggerPrimitiveDigis = SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cfi.simHcalTriggerPrimitiveDigis.clone()
00023 #
00024 valHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag('hcalDigis'),cms.InputTag('hcalDigis'))
00025 #
00026 # do not generate new LUTs when running on data, read them from DB
00027 HcalTPGCoderULUT.LUTGenerationMode = cms.bool(False)
00028 #
00029 #
00030 valHcalTriggerPrimitiveDigis.FrontEndFormatError = cms.untracked.bool(True)
00031 
00032 
00033 # HCAL Tech Trig sequence
00034 import SimCalorimetry.HcalTrigPrimProducers.hcalTTPDigis_cfi
00035 valHcalTTPDigis = SimCalorimetry.HcalTrigPrimProducers.hcalTTPDigis_cfi.simHcalTTPDigis.clone()
00036 #
00037 valHcalTTPDigis.HFDigiCollection = cms.InputTag('hcalDigis')
00038 
00039 
00040 # RCT emulator
00041 import L1Trigger.RegionalCaloTrigger.rctDigis_cfi
00042 valRctDigis = L1Trigger.RegionalCaloTrigger.rctDigis_cfi.rctDigis.clone()
00043 #
00044 valRctDigis.ecalDigis = cms.VInputTag(cms.InputTag('ecalDigis:EcalTriggerPrimitives'))
00045 valRctDigis.hcalDigis = cms.VInputTag(cms.InputTag('hcalDigis'))
00046 
00047 
00048 # GCT emulator
00049 # RCT data used as input for GCT emulator are part of the GCT FED
00050 import L1Trigger.GlobalCaloTrigger.gctDigis_cfi
00051 valGctDigis = L1Trigger.GlobalCaloTrigger.gctDigis_cfi.gctDigis.clone()
00052 #
00053 valGctDigis.inputLabel = 'gctDigis'
00054 valGctDigis.preSamples = cms.uint32(0)
00055 valGctDigis.postSamples = cms.uint32(0)
00056 
00057 
00058 # DT TP emulator
00059 from L1Trigger.DTTrigger.dtTriggerPrimitiveDigis_cfi import *
00060 valDtTriggerPrimitiveDigis = L1Trigger.DTTrigger.dtTriggerPrimitiveDigis_cfi.dtTriggerPrimitiveDigis.clone()
00061 
00062 
00063 # CSC TP emulator
00064 from L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi import *
00065 valCscTriggerPrimitiveDigis = L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi.cscTriggerPrimitiveDigis.clone()
00066 #
00067 valCscTriggerPrimitiveDigis.CSCComparatorDigiProducer = cms.InputTag('muonCSCDigis',
00068                                                                      'MuonCSCComparatorDigi')
00069 valCscTriggerPrimitiveDigis.CSCWireDigiProducer = cms.InputTag('muonCSCDigis',
00070                                                                'MuonCSCWireDigi')
00071 
00072 # CSC Track Finder - digi track generation 
00073 # currently used also by DT TF to generate CSCTF stubs
00074 import L1Trigger.CSCTrackFinder.csctfTrackDigis_cfi
00075 valCsctfTrackDigis = L1Trigger.CSCTrackFinder.csctfTrackDigis_cfi.csctfTrackDigis.clone()
00076 #
00077 valCsctfTrackDigis.SectorReceiverInput = 'csctfDigis'
00078 valCsctfTrackDigis.DTproducer = 'dttfDigis'
00079 
00080 
00081 # DT Track Finder emulator
00082 # currently generates CSCTF stubs by running CSCTF emulator
00083 import L1Trigger.DTTrackFinder.dttfDigis_cfi
00084 valDttfDigis = L1Trigger.DTTrackFinder.dttfDigis_cfi.dttfDigis.clone()
00085 #
00086 valDttfDigis.DTDigi_Source = 'dttfDigis'
00087 valDttfDigis.CSCStub_Source = 'valCsctfTrackDigis'
00088 
00089 
00090 # CSC Track Finder emulator
00091 import L1Trigger.CSCTrackFinder.csctfDigis_cfi
00092 valCsctfDigis = L1Trigger.CSCTrackFinder.csctfDigis_cfi.csctfDigis.clone()
00093 #
00094 valCsctfDigis.CSCTrackProducer = 'valCsctfTrackDigis'
00095 
00096 
00097 
00098 # RPC PAC Trigger emulator
00099 from L1Trigger.RPCTrigger.rpcTriggerDigis_cff import *
00100 valRpcTriggerDigis = L1Trigger.RPCTrigger.rpcTriggerDigis_cff.rpcTriggerDigis.clone()
00101 #
00102 valRpcTriggerDigis.label = 'muonRPCDigis'
00103 
00104 
00105 # Global Muon Trigger emulator - input from common GMT/GT unpacker (gtDigis) 
00106 import L1Trigger.GlobalMuonTrigger.gmtDigis_cfi
00107 valGmtDigis = L1Trigger.GlobalMuonTrigger.gmtDigis_cfi.gmtDigis.clone()
00108 #
00109 valGmtDigis.DTCandidates = cms.InputTag('gtDigis','DT')
00110 valGmtDigis.CSCCandidates = cms.InputTag('gtDigis','CSC')
00111 valGmtDigis.RPCbCandidates = cms.InputTag('gtDigis','RPCb')
00112 valGmtDigis.RPCfCandidates = cms.InputTag('gtDigis','RPCf')
00113 valGmtDigis.MipIsoData = 'gctDigis'
00114 
00115 # producers for technical triggers 
00116 #
00117 
00118 
00119 # BSC Technical Trigger - no data to run on
00120 
00121 
00122 # RPC Technical Trigger
00123 import L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi
00124 valRpcTechTrigDigis = L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi.RPCTechnicalTrigger.clone()
00125 
00126 # HCAL Technical Trigger
00127 import SimCalorimetry.HcalTrigPrimProducers.hcalTTPRecord_cfi
00128 valHcalTechTrigDigis = SimCalorimetry.HcalTrigPrimProducers.hcalTTPRecord_cfi.simHcalTTPRecord.clone()
00129 
00130 
00131 
00132 # Global Trigger emulator
00133 import L1Trigger.GlobalTrigger.gtDigis_cfi
00134 valGtDigis = L1Trigger.GlobalTrigger.gtDigis_cfi.gtDigis.clone()
00135 #
00136 valGtDigis.GmtInputTag = 'gtDigis'
00137 valGtDigis.GctInputTag = 'gctDigis'
00138 valGtDigis.TechnicalTriggersInputTags = cms.VInputTag(
00139                                                     cms.InputTag('valRpcTechTrigDigis'),
00140                                                     cms.InputTag('valHcalTechTrigDigis')                                                    
00141                                                     )
00142 
00143 
00144 # L1 Trigger sequences
00145 ValL1MuTriggerPrimitives = cms.Sequence(valCscTriggerPrimitiveDigis+valDtTriggerPrimitiveDigis)
00146 ValL1MuTrackFinders = cms.Sequence(valCsctfTrackDigis*valCsctfDigis*valDttfDigis)
00147 
00148 ValL1TechnicalTriggers = cms.Sequence(valRpcTechTrigDigis+valHcalTechTrigDigis)
00149 
00150 ValL1Emulator = cms.Sequence(
00151     valEcalTriggerPrimitiveDigis
00152     *valHcalTriggerPrimitiveDigis
00153     *valHcalTTPDigis
00154     *valRctDigis*valGctDigis
00155     *ValL1MuTriggerPrimitives*ValL1MuTrackFinders*valRpcTriggerDigis*valGmtDigis
00156     *ValL1TechnicalTriggers
00157     *valGtDigis)
00158 
00159 
00160 
00161 
00162