CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FastSimulation/HighLevelTrigger/python/HLTFastReco_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # Load subdetector specific common files
00005 #
00006 from FastSimulation.Tracking.PixelVerticesProducer_cff import *
00007 from FastSimulation.Tracking.GlobalPixelTracking_cff import *
00008 
00009 #Specific reconstruction sequences for FastSimulation.
00010 from FastSimulation.HighLevelTrigger.HLTFastRecoForJetMET_cff import *
00011 from FastSimulation.HighLevelTrigger.HLTFastRecoForEgamma_cff import *
00012 from FastSimulation.HighLevelTrigger.HLTFastRecoForMuon_cff import *
00013 from FastSimulation.HighLevelTrigger.HLTFastRecoForTau_cff import *
00014 from FastSimulation.HighLevelTrigger.HLTFastRecoForB_cff import *
00015 from FastSimulation.HighLevelTrigger.HLTFastRecoForL1FastJet_cff import *
00016 #from FastSimulation.HighLevelTrigger.HLTFastRecoForPF_cff import *   # IT IS NOT NEEDED ANY MORE IN 44X
00017 from FastSimulation.HighLevelTrigger.HLTFastRecoForXchannel_cff import *
00018 from FastSimulation.HighLevelTrigger.HLTFastRecoForSpecial_cff import *
00019 
00020 # L1 emulator - in the future, we may want to use directly L1Trigger.Configuration.SimL1Emulator_cff
00021 # Configuration comes from the GlobalTag
00022 # Emulator modules
00023 from L1Trigger.Configuration.L1MuonEmulator_cff import *
00024 from L1Trigger.Configuration.L1CaloEmulator_cff import *
00025 from L1Trigger.GlobalTrigger.gtDigis_cfi import *
00026 rctDigis.ecalDigis = cms.VInputTag(cms.InputTag("simEcalTriggerPrimitiveDigis"))
00027 rctDigis.hcalDigis = cms.VInputTag(cms.InputTag("simHcalTriggerPrimitiveDigis"))
00028 # Emulator sequence
00029 L1Emulator = cms.Sequence(L1CaloEmulator*L1MuonEmulator*gtDigis)
00030 
00031 # The calorimeter emulator requires doDigis=true)
00032 CaloMode = 0   ### In CMSSW > 61X CaloMode can be updated with the following import
00033 from FastSimulation.CaloRecHitsProducer.CaloRecHits_cff import *
00034 if(CaloMode==0 or CaloMode==2):
00035     ecalRecHit.doDigis = True
00036 if(CaloMode==0 or CaloMode==1):
00037     hbhereco.doDigis = True
00038     hfreco.doDigis = True
00039     horeco.doDigis = True
00040 
00041 # L1 muons emulator
00042 #from L1Trigger.CSCTriggerPrimitives.cscTriggerPrimitiveDigis_cfi import *
00043 from L1Trigger.DTTrigger.dtTriggerPrimitiveDigis_cfi import *
00044 dtTriggerPrimitiveDigis.digiTag = cms.InputTag("simMuonDTDigis")
00045 from L1Trigger.RPCTrigger.rpcTriggerDigis_cfi import *
00046 rpcTriggerDigis.label = "simMuonRPCDigis"
00047 from L1Trigger.GlobalMuonTrigger.gmtDigis_cfi import *
00048 gmtDigis.DTCandidates = cms.InputTag("dttfDigis","DT")
00049 gmtDigis.CSCCandidates = cms.InputTag("csctfDigis","CSC")
00050 gmtDigis.RPCbCandidates = cms.InputTag("rpcTriggerDigis","RPCb")
00051 gmtDigis.RPCfCandidates = cms.InputTag("rpcTriggerDigis","RPCf")
00052 gmtDigis.MipIsoData = cms.InputTag("rctDigis")
00053 
00054 # GT emulator
00055 gtDigis.EmulateBxInEvent = 1
00056 
00057 
00058 # L1Extra - provides 4-vector representation of L1 trigger objects - not needed by HLT
00059 # The muon extra particles are done here, but could be done also by L1ParamMuons.
00060 from L1Trigger.Configuration.L1Extra_cff import *
00061 l1extraParticles.muonSource = 'gmtDigis'
00062 
00063 # L1 report
00064 import L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi
00065 hltL1GtTrigReport = L1Trigger.GlobalTriggerAnalyzer.l1GtTrigReport_cfi.l1GtTrigReport.clone()
00066 hltL1GtTrigReport.PrintVerbosity = 1
00067 hltL1GtTrigReport.PrintOutput = 2
00068 
00069 # HLT Report
00070 options = cms.untracked.PSet(
00071     wantSummary = cms.untracked.bool(True) ## default is false
00072 )
00073 
00074 # The hltbegin sequence (with L1 emulator)
00075 HLTBeginSequence = cms.Sequence(
00076     cms.SequencePlaceholder("simulation")+
00077     cms.SequencePlaceholder("simEcalTriggerPrimitiveDigis")+
00078     simHcalTriggerPrimitiveDigis+
00079     L1CaloEmulator+
00080     L1MuonEmulator+
00081     gtDigis+
00082     l1extraParticles+
00083     cms.SequencePlaceholder("offlineBeamSpot")
00084 )
00085 
00086 HLTBeginSequenceBPTX = HLTBeginSequence
00087 
00088 # An older L1 sequence (with L1 simulator)
00089 # this one cannot be used by the HLT as of 17X  use the previous sequence instead 
00090 # Fast L1 Trigger
00091 #from FastSimulation.L1CaloTriggerProducer.fastl1calosim_cfi import *
00092 #from FastSimulation.L1CaloTriggerProducer.fastL1extraParticleMap_cfi import *
00093 #fastL1CaloSim.AlgorithmSource = 'RecHits'
00094 #fastL1CaloSim.EmInputs = cms.VInputTag(
00095 #    cms.InputTag("caloRecHits","EcalRecHitsEB"),
00096 #    cms.InputTag("caloRecHits","EcalRecHitsEE")
00097 #)
00098 #famosWithL1 = cms.Sequence(
00099 #    cms.SequencePlaceholder("famosWithCaloTowers")+
00100 #    cms.SequencePlaceholder("simEcalTriggerPrimitiveDigis")+
00101 #    simHcalTriggerPrimitiveDigis+fastL1CaloSim+
00102 #    fastL1extraParticleMap
00103 #)
00104 
00105