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)
24 discriminator=cms.InputTag(
"hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits"),
25 selectionCut=cms.double(0.5)
32 cut = cms.string(
'pt > 18. && abs(eta) < 2.3')
35 TauSkimPFTauSkimmedBy1 = cms.EDFilter(
"CandViewCountFilter",
36 src = cms.InputTag(
'TauSkimPFTausSelected'),
37 minNumber = cms.uint32(1)
40 TauSkimPFTauSkimmedBy2 = cms.EDFilter(
"CandViewCountFilter",
41 src = cms.InputTag(
'TauSkimPFTausSelected'),
42 minNumber = cms.uint32(2)
46 TauSkimDiTauPairs = cms.EDProducer(
"CandViewShallowCloneCombiner",
47 decay = cms.string(
"TauSkimPFTausSelected TauSkimPFTausSelected"),
48 checkCharge = cms.bool(
False),
49 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"),
53 TauSkimDiTauPairFilter = cms.EDFilter(
"CandViewCountFilter",
54 src = cms.InputTag(
"TauSkimDiTauPairs"),
55 minNumber = cms.uint32(1)
60 TauSkimPFTausSelectedForMuTau = TauSkimPFTausSelected.clone()
61 TauSkimPFTausSelectedForMuTau.discriminators = cms.VPSet(
63 discriminator=cms.InputTag(
"hpsPFTauDiscriminationByDecayModeFindingNewDMs"),
64 selectionCut=cms.double(0.5)
68 discriminator=cms.InputTag(
"hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits"),
69 selectionCut=cms.double(0.5)
72 discriminator=cms.InputTag(
"hpsPFTauDiscriminationByLooseMuonRejection3"),
73 selectionCut=cms.double(0.5)
84 TauSkimPFTausSelectedForMuTau.cut = cms.string(
'pt > 18. && abs(eta) < 2.3')
85 TauSkimPFTauSkimmedForMuTau = cms.EDFilter(
"CandViewCountFilter",
86 src = cms.InputTag(
'TauSkimPFTausSelectedForMuTau'),
87 minNumber = cms.uint32(1)
93 TauSkimMuonSelected = cms.EDFilter(
"MuonRefSelector",
94 src = cms.InputTag(
"muons"),
95 cut = cms.string(
"pt > 20 && " +
"abs(eta) < 2.1 && " +
96 "isGlobalMuon && isTrackerMuon" +
100 " && (pfIsolationR03.sumChargedHadronPt/pt) < 0.3"
105 TauSkimMuonSkimmedBy1 = cms.EDFilter(
"CandViewCountFilter",
106 src = cms.InputTag(
'TauSkimMuonSelected'),
107 minNumber = cms.uint32(1)
111 TauSkimMuTauPairs = cms.EDProducer(
"CandViewShallowCloneCombiner",
112 decay = cms.string(
"TauSkimMuonSelected TauSkimPFTausSelectedForMuTau"),
113 checkCharge = cms.bool(
False),
114 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"),
121 TauSkimMuTauPairFilter = cms.EDFilter(
"CandViewCountFilter",
122 src = cms.InputTag(
"TauSkimMuTauPairs"),
123 minNumber = cms.uint32(1)
129 mutauSkimSequence = cms.Sequence(
130 TauSkimMuonSelected *
131 TauSkimMuonSkimmedBy1 *
132 TauSkimPFTausSelectedForMuTau *
133 TauSkimPFTauSkimmedForMuTau *
135 TauSkimMuTauPairFilter