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