7 dimuonsGlobalSameCharge = cms.EDFilter(
10 src = cms.InputTag(
"userDataDimuons"),
12 cut = cms.string(
'charge!=0 & mass > 0 & daughter(0).isGlobalMuon = 1 & daughter(1).isGlobalMuon = 1')
16 goodZToMuMuSameChargeLoose = cms.EDFilter(
17 "ZToMuMuIsolatedIDSelector",
19 src = cms.InputTag(
"dimuonsGlobalSameCharge"),
20 filter = cms.bool(
True)
23 goodZToMuMuSameChargeLoose.cut=cms.string(
"charge!=0 & daughter(0).pt > 10 & daughter(1).pt > 10 & abs(daughter(0).eta)<2.1 & abs(daughter(1).eta)<2.1 ")
25 goodZToMuMuSameCharge = cms.EDFilter(
26 "ZToMuMuIsolatedIDSelector",
28 src = cms.InputTag(
"dimuonsGlobalSameCharge"),
29 filter = cms.bool(
True)
32 goodZToMuMuSameCharge.cut=cms.string(
"charge!=0 & daughter(0).pt > 20 & daughter(1).pt > 20 & abs(daughter(0).eta)<2.1 & abs(daughter(1).eta)<2.1 ")
38 goodZToMuMuSameChargeAtLeast1HLTLoose = cms.EDFilter(
40 src = cms.InputTag(
"goodZToMuMuSameChargeLoose"),
41 condition =cms.string(
"atLeastOneMatched"),
42 hltPath = cms.string(
"HLT_Mu9"),
43 filter = cms.bool(
True)
46 goodZToMuMuSameChargeAtLeast1HLT = cms.EDFilter(
48 src = cms.InputTag(
"goodZToMuMuSameCharge"),
49 condition =cms.string(
"atLeastOneMatched"),
50 hltPath = cms.string(
"HLT_Mu9"),
51 filter = cms.bool(
True)
58 goodZToMuMuSameCharge2HLTLoose = copy.deepcopy(goodZToMuMuSameChargeAtLeast1HLTLoose)
59 goodZToMuMuSameCharge2HLTLoose.condition= cms.string(
"bothMatched")
61 goodZToMuMuSameCharge1HLT = copy.deepcopy(goodZToMuMuSameChargeAtLeast1HLT)
62 goodZToMuMuSameCharge1HLT.condition= cms.string(
"bothMatched")
64 goodZToMuMuSameCharge1HLTLoose = copy.deepcopy(goodZToMuMuSameChargeAtLeast1HLTLoose)
65 goodZToMuMuSameCharge1HLTLoose.condition= cms.string(
"exactlyOneMatched")
68 goodZToMuMuSameCharge2HLT = copy.deepcopy(goodZToMuMuSameChargeAtLeast1HLT)
69 goodZToMuMuSameCharge2HLT.condition= cms.string(
"exactlyOneMatched")