CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimL1TechnicalTriggers_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.StandardSequences.Eras import eras
3 
4 SimL1TechnicalTriggers = cms.Sequence()
5 
6 # BSC Technical Trigger
7 import L1TriggerOffline.L1Analyzer.bscTrigger_cfi
8 simBscDigis = L1TriggerOffline.L1Analyzer.bscTrigger_cfi.bscTrigger.clone()
9 
10 # RPC Technical Trigger
11 import L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi
12 simRpcTechTrigDigis = L1Trigger.RPCTechnicalTrigger.rpcTechnicalTrigger_cfi.rpcTechnicalTrigger.clone()
13 
14 simRpcTechTrigDigis.RPCDigiLabel = 'simMuonRPCDigis'
15 
16 # HCAL Technical Trigger
18 simHcalTechTrigDigis = SimCalorimetry.HcalTrigPrimProducers.hcalTTPRecord_cfi.simHcalTTPRecord.clone()
19 
20 # CASTOR Techical Trigger
21 import SimCalorimetry.CastorTechTrigProducer.castorTTRecord_cfi
22 simCastorTechTrigDigis = SimCalorimetry.CastorTechTrigProducer.castorTTRecord_cfi.simCastorTTRecord.clone()
23 
24 if not (eras.stage2L1Trigger.isChosen()):
25  SimL1TechnicalTriggers = cms.Sequence(
26  simBscDigis +
27  simRpcTechTrigDigis +
28  simHcalTechTrigDigis +
29  simCastorTechTrigDigis )
30