PageRenderTime 18ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/ElectroWeakAnalysis/ZMuMu/python/goodZToMuMuOneStandAloneMuon_cfi.py

https://github.com/aivanov-cern/cmssw
Python | 63 lines | 41 code | 16 blank | 6 comment | 0 complexity | 5e003d9aa2da657ddf47dc9f780522e8 MD5 | raw file
 1import FWCore.ParameterSet.Config as cms
 2import copy
 3from ElectroWeakAnalysis.ZMuMu.zSelection_cfi import *
 4
 5zToMuMuOneStandAloneMuonLoose = cms.EDFilter(
 6    "ZToMuMuIsolatedIDSelector",
 7    zSelectionLoose,
 8    src = cms.InputTag("dimuonsOneStandAloneMuon"),
 9    filter = cms.bool(True)
10)
11
12zToMuMuOneStandAloneMuon = cms.EDFilter(
13    "ZToMuMuIsolatedIDSelector",
14    zSelection,
15    src = cms.InputTag("dimuonsOneStandAloneMuon"),
16    filter = cms.bool(True)
17)
18
19
20goodZToMuMuOneStandAloneMuonLoose = cms.EDFilter(
21    "ZMuMuOverlapExclusionSelector",    
22    src = cms.InputTag("zToMuMuOneStandAloneMuonLoose"),
23    overlap = cms.InputTag("goodZToMuMu"),
24    filter = cms.bool(True)
25)
26
27## attention to the overlap... should be done for both tight and loose cuts
28
29goodZToMuMuOneStandAloneMuon = cms.EDFilter(
30    "ZMuMuOverlapExclusionSelector",    
31    src = cms.InputTag("zToMuMuOneStandAloneMuon"),
32    overlap = cms.InputTag("goodZToMuMu"),
33    filter = cms.bool(True)
34)
35
36
37
38#goodZToMuMuOneStandAloneMuon = copy.deepcopy(goodZTight)
39#goodZToMuMuOneStandAloneMuon.src = cms.InputTag("goodZToMuMuOneStandAloneMuonLoose")
40
41#ZMuSta:requiring that the GlobalMuon has HLT match
42goodZToMuMuOneStandAloneMuonFirstHLTLoose = cms.EDFilter(
43    "ZHLTMatchFilter",
44    src = cms.InputTag("goodZToMuMuOneStandAloneMuonLoose"),
45    condition =cms.string("globalisMatched"),
46    hltPath = cms.string("HLT_Mu9"),
47    filter = cms.bool(True) 
48)
49
50
51goodZToMuMuOneStandAloneMuonFirstHLT = cms.EDFilter(
52    "ZHLTMatchFilter",
53    src = cms.InputTag("goodZToMuMuOneStandAloneMuon"),
54    condition =cms.string("globalisMatched"),
55    hltPath = cms.string("HLT_Mu9"),
56    filter = cms.bool(True) 
57)
58
59
60
61
62#goodZToMuMuOneStandAloneMuonFirstHLTTight = copy.deepcopy(goodZTight)
63#goodZToMuMuOneStandAloneMuonFirstHLTTight.src = cms.InputTag("goodZToMuMuOneStandAloneMuonFirstHLT")