00001 import FWCore.ParameterSet.Config as cms
00002
00003 from HLTrigger.Muon.CommonModules_cff import *
00004 import copy
00005 from HLTrigger.HLTcore.hltPrescaler_cfi import *
00006
00007
00008
00009 hltPrescalerMuonTau = copy.deepcopy(hltPrescaler)
00010 import copy
00011 from HLTrigger.HLTfilters.hltLevel1GTSeed_cfi import *
00012 hltLevel1GTSeedMuonTau = copy.deepcopy(hltLevel1GTSeed)
00013 hltMuonTauL1Filtered = cms.EDFilter("HLTMuonL1Filter",
00014 MaxEta = cms.double(2.5),
00015 CandTag = cms.InputTag("hltLevel1GTSeedMuonTau"),
00016 MinPt = cms.double(0.0),
00017 MinN = cms.int32(1),
00018 MinQuality = cms.int32(-1)
00019 )
00020
00021 hltMuonTauIsoL2PreFiltered = cms.EDFilter("HLTMuonL2PreFilter",
00022 PreviousCandTag = cms.InputTag("hltMuonTauL1Filtered"),
00023 MinPt = cms.double(15.0),
00024 MinN = cms.int32(1),
00025 MaxEta = cms.double(2.5),
00026 MinNhits = cms.int32(0),
00027 NSigmaPt = cms.double(3.9),
00028 MaxDz = cms.double(9999.0),
00029 BeamSpotTag = cms.InputTag("offlineBeamSpot"),
00030 SeedTag = cms.InputTag("hltL2MuonSeeds"),
00031 MaxDr = cms.double(9999.0),
00032 CandTag = cms.InputTag("hltL2MuonCandidates")
00033 )
00034
00035 hltMuonTauIsoL2IsoFiltered = cms.EDFilter("HLTMuonIsoFilter",
00036 CandTag = cms.InputTag("hltMuonTauIsoL2PreFiltered"),
00037 MinN = cms.int32(1),
00038 IsoTag = cms.InputTag("hltL2MuonIsolations")
00039 )
00040
00041 hltMuonTauIsoL3PreFiltered = cms.EDFilter("HLTMuonL3PreFilter",
00042 PreviousCandTag = cms.InputTag("hltMuonTauIsoL2IsoFiltered"),
00043 MinPt = cms.double(15.0),
00044 MinN = cms.int32(1),
00045 MaxEta = cms.double(2.5),
00046 MinNhits = cms.int32(0),
00047 LinksTag = cms.InputTag("hltL3Muons"),
00048 NSigmaPt = cms.double(2.2),
00049 MaxDz = cms.double(9999.0),
00050 BeamSpotTag = cms.InputTag("offlineBeamSpot"),
00051 MaxDr = cms.double(2.0),
00052 CandTag = cms.InputTag("hltL3MuonCandidates")
00053 )
00054
00055 hltMuonTauIsoL3IsoFiltered = cms.EDFilter("HLTMuonIsoFilter",
00056 CandTag = cms.InputTag("hltMuonTauIsoL3PreFiltered"),
00057 MinN = cms.int32(1),
00058 IsoTag = cms.InputTag("hltL3MuonIsolations")
00059 )
00060
00061 hltL2MuonForTau = cms.Sequence(hltMuonTauL1Filtered+l2muonreco*hltMuonTauIsoL2PreFiltered+l2muonisoreco*hltMuonTauIsoL2IsoFiltered)
00062 hltL3MuonForTau = cms.Sequence(l3muonreco*hltMuonTauIsoL3PreFiltered+l3muonisoreco*hltMuonTauIsoL3IsoFiltered)
00063 hltLevel1GTSeedMuonTau.L1SeedsLogicalExpression = 'L1_Mu5_TauJet20'
00064