CMS 3D CMS Logo

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