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 # basic tracking stuff
77 
78 # The hltbegin sequence (with L1 emulator)
79 HLTBeginSequence = cms.Sequence(
80  siTrackerGaussianSmearingRecHits+ # repetition if RECO is executed; needed by the next line
81  iterativeTracking+ # repetition if RECO is executed; needed by the next line
82  caloRecHits+ # repetition if RECO is executed; needed to allow -s GEN,SIM,HLT without RECO
83  L1CaloEmulator+
84  L1MuonEmulator+
85  gtDigis+
86  l1extraParticles+
87  cms.SequencePlaceholder("offlineBeamSpot")
88 )
89 
90 HLTBeginSequenceBPTX = cms.Sequence(HLTBeginSequence)
91 
92 
93 
if(dp >Float(M_PI)) dp-