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)
32 discriminatorContainers = cms.VPSet(),
36 cut = cms.string(
'pt > 18. && abs(eta) < 2.3 && hpsPFTauMVA3IsolationChargedIsoPtSum < 2')
39 TauSkimPFTauSkimmedBy1 = cms.EDFilter(
"CandViewCountFilter",
40 src = cms.InputTag(
'TauSkimPFTausSelected'),
41 minNumber = cms.uint32(1)
44 TauSkimPFTauSkimmedBy2 = cms.EDFilter(
"CandViewCountFilter",
45 src = cms.InputTag(
'TauSkimPFTausSelected'),
46 minNumber = cms.uint32(2)
50 TauSkimDiTauPairs = cms.EDProducer(
"CandViewShallowCloneCombiner",
51 decay = cms.string(
"TauSkimPFTausSelected TauSkimPFTausSelected"),
52 checkCharge = cms.bool(
False),
53 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"),
57 TauSkimDiTauPairFilter = cms.EDFilter(
"CandViewCountFilter",
58 src = cms.InputTag(
"TauSkimDiTauPairs"),
59 minNumber = cms.uint32(1)
64 TauSkimPFTausSelectedForMuTau = TauSkimPFTausSelected.clone()
65 TauSkimPFTausSelectedForMuTau.discriminators = cms.VPSet(
67 discriminator=cms.InputTag(
"hpsPFTauDiscriminationByDecayModeFindingNewDMs"),
68 selectionCut=cms.double(0.5)
84 TauSkimPFTausSelectedForMuTau.discriminatorContainers = cms.VPSet(
85 cms.PSet( discriminator=cms.InputTag(
"hpsPFTauDiscriminationByMuonRejection3"),
86 workingPoints=cms.vstring(
"ByLooseMuonRejection3"),
87 rawValues=cms.vstring(),
88 selectionCuts=cms.vdouble()
94 TauSkimPFTausSelectedForMuTau.cut = cms.string(
'pt > 18. && abs(eta) < 2.3')
95 TauSkimPFTauSkimmedForMuTau = cms.EDFilter(
"CandViewCountFilter",
96 src = cms.InputTag(
'TauSkimPFTausSelectedForMuTau'),
97 minNumber = cms.uint32(1)
103 TauSkimMuonSelected = cms.EDFilter(
"MuonRefSelector",
104 src = cms.InputTag(
"muons"),
105 cut = cms.string(
"pt > 20 && " +
"abs(eta) < 2.1 && " +
106 "isGlobalMuon && isTrackerMuon" +
110 " && (pfIsolationR03.sumChargedHadronPt/pt) < 0.3"
115 TauSkimMuonSkimmedBy1 = cms.EDFilter(
"CandViewCountFilter",
116 src = cms.InputTag(
'TauSkimMuonSelected'),
117 minNumber = cms.uint32(1)
121 TauSkimMuTauPairs = cms.EDProducer(
"CandViewShallowCloneCombiner",
122 decay = cms.string(
"TauSkimMuonSelected TauSkimPFTausSelectedForMuTau"),
123 checkCharge = cms.bool(
False),
124 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"),
131 TauSkimMuTauPairFilter = cms.EDFilter(
"CandViewCountFilter",
132 src = cms.InputTag(
"TauSkimMuTauPairs"),
133 minNumber = cms.uint32(1)
139 mutauSkimSequence = cms.Sequence(
140 TauSkimMuonSelected *
141 TauSkimMuonSkimmedBy1 *
142 TauSkimPFTausSelectedForMuTau *
143 TauSkimPFTauSkimmedForMuTau *
145 TauSkimMuTauPairFilter