CMS 3D CMS Logo

goodZToMuMuOneTrack_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import copy
4 
5 zToMuGlobalMuOneTrack = cms.EDFilter(
6  "CandViewRefSelector",
7  cut = cms.string("daughter(0).isGlobalMuon = 1"),
8  ### added UserData
9  src = cms.InputTag("userDataDimuonsOneTrack"),
10  ###src = cms.InputTag("dimuonsOneTrack"),
11  filter = cms.bool(True)
12 )
13 
14 zToMuMuOneTrackLoose = cms.EDFilter(
15  "ZToMuMuIsolatedIDSelector",
16  zSelectionLoose,
17  src = cms.InputTag("zToMuGlobalMuOneTrack"),
18  filter = cms.bool(True)
19 )
20 
21 
22 zToMuMuOneTrack = cms.EDFilter(
23  "ZToMuMuIsolatedIDSelector",
24  zSelection,
25  src = cms.InputTag("zToMuGlobalMuOneTrack"),
26  filter = cms.bool(True)
27 )
28 
29 
30 ## attention to the overlap... should be done with tight zmumu
31 
32 goodZToMuMuOneTrackLoose = cms.EDFilter(
33  "ZMuMuOverlapExclusionSelector",
34  src = cms.InputTag("zToMuMuOneTrackLoose"),
35  overlap = cms.InputTag("goodZToMuMu"),
36  filter = cms.bool(True)
37 )
38 
39 goodZToMuMuOneTrack = cms.EDFilter(
40  "ZMuMuOverlapExclusionSelector",
41  src = cms.InputTag("zToMuMuOneTrack"),
42  overlap = cms.InputTag("goodZToMuMu"),
43  filter = cms.bool(True)
44 )
45 
46 
47 
48 #goodZToMuMuOneTrack = copy.deepcopy(goodZTight)
49 #goodZToMuMuOneTrack.src = cms.InputTag("goodZToMuMuOneTrackLoose")
50 
51 
52 #ZMuTk:requiring that the GlobalMuon 'First' has HLT match
53 goodZToMuMuOneTrackFirstHLTLoose = cms.EDFilter(
54  "ZHLTMatchFilter",
55  src = cms.InputTag("goodZToMuMuOneTrackLoose"),
56  condition =cms.string("firstMatched"),
57  hltPath = cms.string("HLT_Mu9"),
58  filter = cms.bool(True)
59 )
60 
61 
62 #goodZToMuMuOneTrackFirstHLT = copy.deepcopy(goodZTight)
63 #goodZToMuMuOneTrackFirstHLT.src = cms.InputTag("goodZToMuMuOneTrackFirstHLTLoose")
64 
65 goodZToMuMuOneTrackFirstHLT = cms.EDFilter(
66  "ZHLTMatchFilter",
67  src = cms.InputTag("goodZToMuMuOneTrack"),
68  condition =cms.string("firstMatched"),
69  hltPath = cms.string("HLT_Mu9"),
70  filter = cms.bool(True)
71 )