1 import FWCore.ParameterSet.Config
as cms
5 ## 2012 HLT COND.S AS GIVEN BY ARUN IN 53X
6 from HLTrigger.HLTfilters.hltHighLevel_cfi import hltHighLevel as hlt_selector
7 hlt_selector.throw = cms.bool(False)
8 TauSkimMuTauMETHLT = hlt_selector.clone()
9 TauSkimMuTauMETHLT.TriggerResultsTag = cms.InputTag('TriggerResults', '', 'HLT')
10 TauSkimMuTauMETHLT.andOr=cms.bool(True)
11 TauSkimMuTauMETHLT.HLTPaths = cms.vstring("HLT_IsoMu15_eta2p1_L1ETM20_v*", "HLT_IsoMu15Rho_eta2p1_L1ETM20_v*")
14 TauSkimPFTausSelected = cms.EDFilter(
"PFTauSelector",
15 src = cms.InputTag(
"hpsPFTauProducer"),
16 discriminators = cms.VPSet(
18 discriminator=cms.InputTag(
"hpsPFTauDiscriminationByDecayModeFindingNewDMs"),
19 selectionCut=cms.double(0.5)
35 cut = cms.string(
'pt > 18. && abs(eta) < 2.3 && hpsPFTauMVA3IsolationChargedIsoPtSum < 2')
38 TauSkimPFTauSkimmedBy1 = cms.EDFilter(
"CandViewCountFilter",
39 src = cms.InputTag(
'TauSkimPFTausSelected'),
40 minNumber = cms.uint32(1)
43 TauSkimPFTauSkimmedBy2 = cms.EDFilter(
"CandViewCountFilter",
44 src = cms.InputTag(
'TauSkimPFTausSelected'),
45 minNumber = cms.uint32(2)
49 TauSkimDiTauPairs = cms.EDProducer(
"CandViewShallowCloneCombiner",
50 decay = cms.string(
"TauSkimPFTausSelected TauSkimPFTausSelected"),
51 checkCharge = cms.bool(
False),
52 cut = cms.string(
"sqrt((daughter(0).eta-daughter(1).eta)*(daughter(0).eta-daughter(1).eta)+ min( abs(daughter(0).phi-daughter(1).phi), 2*3.1415926 - abs(daughter(0).phi-daughter(1).phi) ) * min( abs(daughter(0).phi-daughter(1).phi), 2*3.1415926 - abs(daughter(0).phi-daughter(1).phi) ) )>0.5"),
56 TauSkimDiTauPairFilter = cms.EDFilter(
"CandViewCountFilter",
57 src = cms.InputTag(
"TauSkimDiTauPairs"),
58 minNumber = cms.uint32(1)
63 TauSkimPFTausSelectedForMuTau = TauSkimPFTausSelected.clone()
64 TauSkimPFTausSelectedForMuTau.discriminators = cms.VPSet(
66 discriminator=cms.InputTag(
"hpsPFTauDiscriminationByDecayModeFindingNewDMs"),
67 selectionCut=cms.double(0.5)
76 cms.PSet( discriminator=cms.InputTag(
"hpsPFTauDiscriminationByLooseMuonRejection3"),
77 selectionCut=cms.double(0.5)
88 TauSkimPFTausSelectedForMuTau.cut = cms.string(
'pt > 18. && abs(eta) < 2.3')
89 TauSkimPFTauSkimmedForMuTau = cms.EDFilter(
"CandViewCountFilter",
90 src = cms.InputTag(
'TauSkimPFTausSelectedForMuTau'),
91 minNumber = cms.uint32(1)
97 TauSkimMuonSelected = cms.EDFilter(
"MuonRefSelector",
98 src = cms.InputTag(
"muons"),
99 cut = cms.string(
"pt > 20 && " +
"abs(eta) < 2.1 && " +
100 "isGlobalMuon && isTrackerMuon" +
104 " && (pfIsolationR03.sumChargedHadronPt/pt) < 0.3"
109 TauSkimMuonSkimmedBy1 = cms.EDFilter(
"CandViewCountFilter",
110 src = cms.InputTag(
'TauSkimMuonSelected'),
111 minNumber = cms.uint32(1)
115 TauSkimMuTauPairs = cms.EDProducer(
"CandViewShallowCloneCombiner",
116 decay = cms.string(
"TauSkimMuonSelected TauSkimPFTausSelectedForMuTau"),
117 checkCharge = cms.bool(
False),
118 cut = cms.string(
"sqrt((daughter(0).eta-daughter(1).eta)*(daughter(0).eta-daughter(1).eta)+ min( abs(daughter(0).phi-daughter(1).phi), 2*3.1415926 - abs(daughter(0).phi-daughter(1).phi) ) * min( abs(daughter(0).phi-daughter(1).phi), 2*3.1415926 - abs(daughter(0).phi-daughter(1).phi) ) )>0.3"),
125 TauSkimMuTauPairFilter = cms.EDFilter(
"CandViewCountFilter",
126 src = cms.InputTag(
"TauSkimMuTauPairs"),
127 minNumber = cms.uint32(1)
133 mutauSkimSequence = cms.Sequence(
134 TauSkimMuonSelected *
135 TauSkimMuonSkimmedBy1 *
136 TauSkimPFTausSelectedForMuTau *
137 TauSkimPFTauSkimmedForMuTau *
139 TauSkimMuTauPairFilter