CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ValL1Emulator_cff.py
Go to the documentation of this file.
2 
3 # L1 Emulator sequence running on unpacked data
4 # each emulator run on the unpacked data of the previous (in the hardware chain) subsystem
5 #
6 # Order if using the standard sequence
7 # RawToDigi,ValL1Emulator
8 #
9 # V.M. Ghete 2009-11-15
10 
11 # ECAL TPG sequence
13 valEcalTriggerPrimitiveDigis = SimCalorimetry.EcalTrigPrimProducers.ecalTriggerPrimitiveDigis_cfi.simEcalTriggerPrimitiveDigis.clone()
14 #
15 valEcalTriggerPrimitiveDigis.Label = 'ecalDigis'
16 valEcalTriggerPrimitiveDigis.InstanceEB = 'ebDigis'
17 valEcalTriggerPrimitiveDigis.InstanceEE = 'eeDigis'
18 
19 
20 # HCAL TPG sequence
22 valHcalTriggerPrimitiveDigis = SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cfi.simHcalTriggerPrimitiveDigis.clone()
23 #
24 valHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag(cms.InputTag('hcalDigis'),cms.InputTag('hcalDigis'))
25 #
26 # do not generate new LUTs when running on data, read them from DB
27 HcalTPGCoderULUT.LUTGenerationMode = cms.bool(False)
28 #
29 #
30 valHcalTriggerPrimitiveDigis.FrontEndFormatError = cms.bool(True)
31 
32 
33 # HCAL Tech Trig sequence
35 valHcalTTPDigis = SimCalorimetry.HcalTrigPrimProducers.hcalTTPDigis_cfi.simHcalTTPDigis.clone()
36 #
37 valHcalTTPDigis.HFDigiCollection = cms.InputTag('hcalDigis')
38 
39 
40 # RCT emulator
42 valRctDigis = L1Trigger.RegionalCaloTrigger.rctDigis_cfi.rctDigis.clone()
43 #
44 valRctDigis.ecalDigis = cms.VInputTag(cms.InputTag('ecalDigis:EcalTriggerPrimitives'))
45 valRctDigis.hcalDigis = cms.VInputTag(cms.InputTag('hcalDigis'))
46 
47 
48 # GCT emulator
49 # RCT data used as input for GCT emulator are part of the GCT FED
51 valGctDigis = L1Trigger.GlobalCaloTrigger.gctDigis_cfi.gctDigis.clone()
52 #
53 valGctDigis.inputLabel = 'gctDigis'
54 valGctDigis.preSamples = cms.uint32(0)
55 valGctDigis.postSamples = cms.uint32(0)
56 
57 
58 # DT TP emulator
60 valDtTriggerPrimitiveDigis = L1Trigger.DTTrigger.dtTriggerPrimitiveDigis_cfi.dtTriggerPrimitiveDigis.clone()
61 
62 
63 # CSC TP emulator
65 valCscTriggerPrimitiveDigis = L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi.cscTriggerPrimitiveDigis.clone()
66 #
67 valCscTriggerPrimitiveDigis.CSCComparatorDigiProducer = cms.InputTag('muonCSCDigis',
68  'MuonCSCComparatorDigi')
69 valCscTriggerPrimitiveDigis.CSCWireDigiProducer = cms.InputTag('muonCSCDigis',
70  'MuonCSCWireDigi')
71 
72 # CSC Track Finder - digi track generation
73 # currently used also by DT TF to generate CSCTF stubs
75 valCsctfTrackDigis = L1Trigger.CSCTrackFinder.csctfTrackDigis_cfi.csctfTrackDigis.clone()
76 #
77 valCsctfTrackDigis.SectorReceiverInput = 'csctfDigis'
78 valCsctfTrackDigis.DTproducer = 'dttfDigis'
79 
80 
81 # DT Track Finder emulator
82 # currently generates CSCTF stubs by running CSCTF emulator
84 valDttfDigis = L1Trigger.DTTrackFinder.dttfDigis_cfi.dttfDigis.clone()
85 #
86 valDttfDigis.DTDigi_Source = 'dttfDigis'
87 valDttfDigis.CSCStub_Source = 'valCsctfTrackDigis'
88 
89 
90 # CSC Track Finder emulator
92 valCsctfDigis = L1Trigger.CSCTrackFinder.csctfDigis_cfi.csctfDigis.clone()
93 #
94 valCsctfDigis.CSCTrackProducer = 'valCsctfTrackDigis'
95 
96 
97 
98 # RPC PAC Trigger emulator
100 valRpcTriggerDigis = L1Trigger.RPCTrigger.rpcTriggerDigis_cff.rpcTriggerDigis.clone()
101 #
102 valRpcTriggerDigis.label = 'muonRPCDigis'
103 
104 
105 # Global Muon Trigger emulator - input from common GMT/GT unpacker (gtDigis)
107 valGmtDigis = L1Trigger.GlobalMuonTrigger.gmtDigis_cfi.gmtDigis.clone()
108 #
109 valGmtDigis.DTCandidates = cms.InputTag('gtDigis','DT')
110 valGmtDigis.CSCCandidates = cms.InputTag('gtDigis','CSC')
111 valGmtDigis.RPCbCandidates = cms.InputTag('gtDigis','RPCb')
112 valGmtDigis.RPCfCandidates = cms.InputTag('gtDigis','RPCf')
113 valGmtDigis.MipIsoData = 'gctDigis'
114 
115 # producers for technical triggers
116 #
117 
118 
119 # BSC Technical Trigger - no data to run on
120 
121 
122 # RPC Technical Trigger
123 import L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi
124 valRpcTechTrigDigis = L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi.rpcTechnicalTrigger.clone()
125 
126 # HCAL Technical Trigger
128 valHcalTechTrigDigis = SimCalorimetry.HcalTrigPrimProducers.hcalTTPRecord_cfi.simHcalTTPRecord.clone()
129 
130 
131 
132 # Global Trigger emulator
134 valGtDigis = L1Trigger.GlobalTrigger.gtDigis_cfi.gtDigis.clone()
135 #
136 valGtDigis.GmtInputTag = 'gtDigis'
137 valGtDigis.GctInputTag = 'gctDigis'
138 valGtDigis.TechnicalTriggersInputTags = cms.VInputTag(
139  cms.InputTag('valRpcTechTrigDigis'),
140  cms.InputTag('valHcalTechTrigDigis')
141  )
142 
143 
144 # L1 Trigger sequences
145 ValL1MuTriggerPrimitives = cms.Sequence(valCscTriggerPrimitiveDigis+valDtTriggerPrimitiveDigis)
146 ValL1MuTrackFinders = cms.Sequence(valCsctfTrackDigis*valCsctfDigis*valDttfDigis)
147 
148 ValL1TechnicalTriggers = cms.Sequence(valRpcTechTrigDigis+valHcalTechTrigDigis)
149 
150 ValL1Emulator = cms.Sequence(
151  valEcalTriggerPrimitiveDigis
152  *valHcalTriggerPrimitiveDigis
153  *valHcalTTPDigis
154  *valRctDigis*valGctDigis
155  *ValL1MuTriggerPrimitives*ValL1MuTrackFinders*valRpcTriggerDigis*valGmtDigis
156  *ValL1TechnicalTriggers
157  *valGtDigis)
158 
159 
160 
161 
162