CMS 3D CMS Logo

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 SimL1TechnicalTriggers = cms.Sequence(simGtExtFakeStage2Digis)
8 
9 
10 # BSC Technical Trigger
11 import L1TriggerOffline.L1Analyzer.bscTrigger_cfi
12 simBscDigis = L1TriggerOffline.L1Analyzer.bscTrigger_cfi.bscTrigger.clone()
13 
14 # RPC Technical Trigger
15 import L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi
16 simRpcTechTrigDigis = L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi.rpcTechnicalTrigger.clone()
17 
18 simRpcTechTrigDigis.RPCDigiLabel = 'simMuonRPCDigis'
19 
20 # HCAL Technical Trigger
22 simHcalTechTrigDigis = SimCalorimetry.HcalTrigPrimProducers.hcalTTPRecord_cfi.simHcalTTPRecord.clone()
23 
24 # CASTOR Techical Trigger
25 import SimCalorimetry.CastorTechTrigProducer.castorTTRecord_cfi
26 simCastorTechTrigDigis = SimCalorimetry.CastorTechTrigProducer.castorTTRecord_cfi.simCastorTTRecord.clone()
27 
28 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
29 if not (stage2L1Trigger.isChosen()):
30  SimL1TechnicalTriggers = cms.Sequence(
31  simBscDigis +
32  simRpcTechTrigDigis +
33  simHcalTechTrigDigis +
34  simCastorTechTrigDigis )