CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/HLTrigger/HLTanalyzers/python/OpenHLT_BJet_cff.py

Go to the documentation of this file.
00001 ### Open-HLT includes, modules and paths for b-jet
00002 import copy
00003 import FWCore.ParameterSet.Config as cms
00004 
00005 from HLTrigger.HLTanalyzers.HLT_FULL_cff import *
00006 
00007 ### lifetime-based b-tag OpenHLT ######################################
00008 # L1 filter is skipped
00009 # L2 reco sequence is common to all paths, and taken from the global table
00010 # L2.5 and L3 sequences are rewritten to bypass selectors and filters
00011 
00012 # L2.5 reco modules
00013 
00014 # BJetinputjetCollection="hltIterativeCone5CaloJets"
00015 # BJetinputjetCollection="hltAntiKT5CaloJets"
00016 #
00017 ###### Use corrected jets same as 5E32 Menu
00018 BJetinputjetCollection="hltAntiKT5L2L3CorrCaloJets"
00019 
00020 openHltBLifetimeL25Associator = copy.deepcopy(hltBLifetimeL25Associator)
00021 openHltBLifetimeL25Associator.jets = cms.InputTag(BJetinputjetCollection)
00022 
00023 openHltBLifetimeL25TagInfos = copy.deepcopy(hltBLifetimeL25TagInfos)
00024 openHltBLifetimeL25TagInfos.jetTracks = cms.InputTag("openHltBLifetimeL25Associator")
00025 
00026 openHltBLifetimeL25BJetTags = copy.deepcopy(hltBLifetimeL25BJetTags)
00027 openHltBLifetimeL25BJetTags.tagInfos = cms.VInputTag(cms.InputTag("openHltBLifetimeL25TagInfos"))
00028 
00029 # L2.5 reco sequence for lifetime tagger
00030 OpenHLTBLifetimeL25recoSequence = cms.Sequence(
00031         HLTDoLocalPixelSequence +
00032         HLTRecopixelvertexingSequence +
00033         openHltBLifetimeL25Associator +
00034         openHltBLifetimeL25TagInfos +
00035         openHltBLifetimeL25BJetTags )
00036 
00037 # L3 reco modules
00038 
00039 openHltBLifetimeRegionalPixelSeedGenerator = copy.deepcopy(hltBLifetimeRegionalPixelSeedGenerator)
00040 openHltBLifetimeRegionalPixelSeedGenerator.RegionFactoryPSet.RegionPSet.JetSrc = cms.InputTag(BJetinputjetCollection)
00041 
00042 openHltBLifetimeRegionalCkfTrackCandidates = copy.deepcopy(hltBLifetimeRegionalCkfTrackCandidates)
00043 openHltBLifetimeRegionalCkfTrackCandidates.src = cms.InputTag("openHltBLifetimeRegionalPixelSeedGenerator")
00044 
00045 openHltBLifetimeRegionalCtfWithMaterialTracks = copy.deepcopy(hltBLifetimeRegionalCtfWithMaterialTracks)
00046 openHltBLifetimeRegionalCtfWithMaterialTracks.src = cms.InputTag("openHltBLifetimeRegionalCkfTrackCandidates")
00047 
00048 openHltBLifetimeL3Associator = copy.deepcopy(hltBLifetimeL3Associator)
00049 openHltBLifetimeL3Associator.jets   = cms.InputTag(BJetinputjetCollection)
00050 openHltBLifetimeL3Associator.tracks = cms.InputTag("openHltBLifetimeRegionalCtfWithMaterialTracks")
00051 
00052 openHltBLifetimeL3TagInfos = copy.deepcopy(hltBLifetimeL3TagInfos)
00053 openHltBLifetimeL3TagInfos.jetTracks = cms.InputTag("openHltBLifetimeL3Associator")
00054 
00055 openHltBLifetimeL3BJetTags = copy.deepcopy(hltBLifetimeL3BJetTags)
00056 openHltBLifetimeL3BJetTags.tagInfos = cms.VInputTag(cms.InputTag("openHltBLifetimeL3TagInfos"))
00057 
00058 # L3 reco sequence for lifetime tagger
00059 OpenHLTBLifetimeL3recoSequence = cms.Sequence(
00060     HLTDoLocalPixelSequence +
00061     HLTDoLocalStripSequence +
00062     openHltBLifetimeRegionalPixelSeedGenerator +
00063     openHltBLifetimeRegionalCkfTrackCandidates +
00064     openHltBLifetimeRegionalCtfWithMaterialTracks +
00065     openHltBLifetimeL3Associator +
00066     openHltBLifetimeL3TagInfos +
00067     openHltBLifetimeL3BJetTags )
00068 
00069 ### soft-muon-based b-tag OpenHLT (ideal, start up, and performance meas.) ####
00070 # L1 filter is skipped
00071 # L2 reco sequence is common to all paths, and taken from the global table
00072 # L2.5 and L3 sequences are rewritten to bypass selectors and filters
00073 
00074 openHltBSoftmuonL25TagInfos = copy.deepcopy(hltBSoftMuonL25TagInfos)
00075 openHltBSoftmuonL25TagInfos.jets = cms.InputTag(BJetinputjetCollection)
00076 
00077 #### BTagMu paths make use of SoftMuonByDR both at L2.5 and L3
00078 openHltBSoftmuonL25BJetTags = copy.deepcopy(hltBSoftMuonL25BJetTagsByDR)
00079 openHltBSoftmuonL25BJetTags.tagInfos = cms.VInputTag(cms.InputTag("openHltBSoftmuonL25TagInfos"))
00080 
00081 openHltBSoftmuonL3TagInfos = copy.deepcopy(hltBSoftMuon5SelL3TagInfos)
00082 openHltBSoftmuonL3TagInfos.jets = cms.InputTag(BJetinputjetCollection)
00083 openHltBSoftmuonL3TagInfos.leptons = cms.InputTag("hltL3Muons")  #Feed the entire L3Muons not the filtered ones
00084 
00085 openHltBSoftmuonL3BJetTags = copy.deepcopy(hltBSoftMuon5SelL3BJetTagsByPt)
00086 openHltBSoftmuonL3BJetTags.tagInfos = cms.VInputTag(cms.InputTag("openHltBSoftmuonL3TagInfos"))
00087 
00088 #### BTagMu paths make use of SoftMuonByDR both at L2.5 and L3
00089 openHltBPerfMeasL3BJetTags = copy.deepcopy(hltBSoftMuon5SelL3BJetTagsByDR)
00090 openHltBPerfMeasL3BJetTags.tagInfos = cms.VInputTag(cms.InputTag("openHltBSoftmuonL3TagInfos"))
00091 
00092 OpenHLTBSoftMuonL25recoSequence = cms.Sequence(
00093     HLTL2muonrecoNocandSequence +
00094     openHltBSoftmuonL25TagInfos +
00095     openHltBSoftmuonL25BJetTags )
00096 
00097 OpenHLTBSoftMuonL3recoSequence = cms.Sequence(
00098     HLTL3muonrecoNocandSequence +
00099     hltBSoftMuon5L3 +
00100     openHltBSoftmuonL3TagInfos +
00101     openHltBSoftmuonL3BJetTags +
00102     openHltBPerfMeasL3BJetTags )