1 import FWCore.ParameterSet.Config
as cms
13 pfMETSelectorHighMETSkim = cms.EDFilter(
15 src = cms.InputTag(
"pfMet"),
16 cut = cms.string(
"pt()>200" )
19 pfMETCounterHighMETSkim = cms.EDFilter(
20 "CandViewCountFilter",
21 src = cms.InputTag(
"pfMETSelectorHighMETSkim"),
22 minNumber = cms.uint32(1),
25 pfMETSelSeq = cms.Sequence(
28 pfMETSelectorHighMETSkim*
29 pfMETCounterHighMETSkim
35 caloMETSelectorHighMETSkim = cms.EDFilter(
37 src = cms.InputTag(
"caloMetM"),
38 cut = cms.string(
"pt()>200" )
41 caloMETCounterHighMETSkim = cms.EDFilter(
42 "CandViewCountFilter",
43 src = cms.InputTag(
"caloMETSelectorHighMETSkim"),
44 minNumber = cms.uint32(1),
47 caloMETSelSeq = cms.Sequence(
50 caloMETSelectorHighMETSkim*
51 caloMETCounterHighMETSkim
56 CondMETSelectorHighMETSkim = cms.EDProducer(
57 "CandViewShallowCloneCombiner",
58 decay = cms.string(
"pfMet caloMetM"),
59 cut = cms.string(
" (daughter(0).pt > 200) || (daughter(0).pt/daughter(1).pt > 2 && daughter(1).pt > 150 ) || (daughter(1).pt/daughter(0).pt > 2 && daughter(0).pt > 150 ) " )
62 CondMETCounterHighMETSkim = cms.EDFilter(
63 "CandViewCountFilter",
64 src = cms.InputTag(
"CondMETSelectorHighMETSkim"),
65 minNumber = cms.uint32(1),
68 CondMETSelSeq = cms.Sequence(
71 CondMETSelectorHighMETSkim*
72 CondMETCounterHighMETSkim
78 miniMETSelectorHighMETSkim = cms.EDFilter(
80 src = cms.InputTag(
"slimmedMETs"),
81 cut = cms.string(
"pt()>200" )
84 miniMETCounterHighMETSkim = cms.EDFilter(
85 "CandViewCountFilter",
86 src = cms.InputTag(
"miniMETSelectorHighMETSkim"),
87 minNumber = cms.uint32(1),
90 miniMETSelSeq = cms.Sequence(
92 miniMETSelectorHighMETSkim*
93 miniMETCounterHighMETSkim
select events with at least one good PV