CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SimL1TechnicalTriggers_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Stage2 fake Technical Triggers
4 import L1Trigger.L1TGlobal.simGtExtFakeProd_cfi
5 simGtExtFakeStage2Digis = L1Trigger.L1TGlobal.simGtExtFakeProd_cfi.simGtExtFakeProd.clone()
6 
7 SimL1TechnicalTriggersTask = cms.Task(simGtExtFakeStage2Digis)
8 SimL1TechnicalTriggers = cms.Sequence(SimL1TechnicalTriggersTask)
9 
10 
11 # BSC Technical Trigger
12 import L1TriggerOffline.L1Analyzer.bscTrigger_cfi
13 simBscDigis = L1TriggerOffline.L1Analyzer.bscTrigger_cfi.bscTrigger.clone()
14 
15 # RPC Technical Trigger
16 import L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi
17 simRpcTechTrigDigis = L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi.rpcTechnicalTrigger.clone()
18 
19 simRpcTechTrigDigis.RPCDigiLabel = 'simMuonRPCDigis'
20 
21 # HCAL Technical Trigger
23 simHcalTechTrigDigis = SimCalorimetry.HcalTrigPrimProducers.hcalTTPRecord_cfi.simHcalTTPRecord.clone()
24 
25 # CASTOR Techical Trigger
26 import SimCalorimetry.CastorTechTrigProducer.castorTTRecord_cfi
27 simCastorTechTrigDigis = SimCalorimetry.CastorTechTrigProducer.castorTTRecord_cfi.simCastorTTRecord.clone()
28 
29 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
30 (~stage2L1Trigger).toReplaceWith(SimL1TechnicalTriggersTask, cms.Task(
31  simBscDigis,
32  simRpcTechTrigDigis,
33  simHcalTechTrigDigis,
34  simCastorTechTrigDigis ))