test
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 # Stage2 fake Technical Triggers
5 import L1Trigger.L1TGlobal.simGtExtFakeProd_cfi
6 simGtExtFakeStage2Digis = L1Trigger.L1TGlobal.simGtExtFakeProd_cfi.simGtExtFakeProd.clone()
7 
8 SimL1TechnicalTriggers = cms.Sequence(simGtExtFakeStage2Digis)
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 if not (eras.stage2L1Trigger.isChosen()):
30  SimL1TechnicalTriggers = cms.Sequence(
31  simBscDigis +
32  simRpcTechTrigDigis +
33  simHcalTechTrigDigis +
34  simCastorTechTrigDigis )