CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTFastReco_cff.py
Go to the documentation of this file.
2 
3 #
4 # Load subdetector specific common files
5 #
8 
9 #Specific reconstruction sequences for FastSimulation.
16 #from FastSimulation.HighLevelTrigger.HLTFastRecoForPF_cff import * # IT IS NOT NEEDED ANY MORE IN 44X
19 
20 # L1 emulator - in the future, we may want to use directly L1Trigger.Configuration.SimL1Emulator_cff
21 # Configuration comes from the GlobalTag
22 # Emulator modules
26 rctDigis.ecalDigis = cms.VInputTag(cms.InputTag("simEcalTriggerPrimitiveDigis"))
27 rctDigis.hcalDigis = cms.VInputTag(cms.InputTag("simHcalTriggerPrimitiveDigis"))
28 # Emulator sequence
29 L1Emulator = cms.Sequence(L1CaloEmulator*L1MuonEmulator*gtDigis)
30 
31 # The calorimeter emulator requires doDigis=true)
32 CaloMode = 0 ### In CMSSW > 61X CaloMode can be updated with the following import
34 if(CaloMode==0 or CaloMode==2):
35  ecalRecHit.doDigis = True
36 if(CaloMode==0 or CaloMode==1):
37  hbhereco.doDigis = True
38  hfreco.doDigis = True
39  horeco.doDigis = True
40 
41 # L1 muons emulator
42 #from L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi import *
44 dtTriggerPrimitiveDigis.digiTag = cms.InputTag("simMuonDTDigis")
46 rpcTriggerDigis.label = "simMuonRPCDigis"
48 gmtDigis.DTCandidates = cms.InputTag("dttfDigis","DT")
49 gmtDigis.CSCCandidates = cms.InputTag("csctfDigis","CSC")
50 gmtDigis.RPCbCandidates = cms.InputTag("rpcTriggerDigis","RPCb")
51 gmtDigis.RPCfCandidates = cms.InputTag("rpcTriggerDigis","RPCf")
52 gmtDigis.MipIsoData = cms.InputTag("rctDigis")
53 
54 # GT emulator
55 gtDigis.EmulateBxInEvent = 1
56 
57 
58 # L1Extra - provides 4-vector representation of L1 trigger objects - not needed by HLT
59 # The muon extra particles are done here, but could be done also by L1ParamMuons.
61 l1extraParticles.muonSource = 'gmtDigis'
62 
63 # L1 report
64 import L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi
65 hltL1GtTrigReport = L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi.l1GtTrigReport.clone()
66 hltL1GtTrigReport.PrintVerbosity = 1
67 hltL1GtTrigReport.PrintOutput = 2
68 
69 # HLT Report
70 options = cms.untracked.PSet(
71  wantSummary = cms.untracked.bool(True) ## default is false
72 )
73 
74 # The hltbegin sequence (with L1 emulator)
75 HLTBeginSequence = cms.Sequence(
76  cms.SequencePlaceholder("simulation")+
77  cms.SequencePlaceholder("simEcalTriggerPrimitiveDigis")+
78  simHcalTriggerPrimitiveDigis+
79  L1CaloEmulator+
80  L1MuonEmulator+
81  gtDigis+
82  l1extraParticles+
83  cms.SequencePlaceholder("offlineBeamSpot")
84 )
85 
86 HLTBeginSequenceBPTX = HLTBeginSequence
87 
88 # An older L1 sequence (with L1 simulator)
89 # this one cannot be used by the HLT as of 17X use the previous sequence instead
90 # Fast L1 Trigger
91 #from FastSimulation.L1CaloTriggerProducer.fastl1calosim_cfi import *
92 #from FastSimulation.L1CaloTriggerProducer.fastL1extraParticleMap_cfi import *
93 #fastL1CaloSim.AlgorithmSource = 'RecHits'
94 #fastL1CaloSim.EmInputs = cms.VInputTag(
95 # cms.InputTag("caloRecHits","EcalRecHitsEB"),
96 # cms.InputTag("caloRecHits","EcalRecHitsEE")
97 #)
98 #famosWithL1 = cms.Sequence(
99 # cms.SequencePlaceholder("famosWithCaloTowers")+
100 # cms.SequencePlaceholder("simEcalTriggerPrimitiveDigis")+
101 # simHcalTriggerPrimitiveDigis+fastL1CaloSim+
102 # fastL1extraParticleMap
103 #)
104 
105 
perl if(1 lt scalar(@::datatypes))
Definition: edlooper.cc:31