CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EXOTriLepton_cff.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
5 
6 
7 #Define the HLT path to be used.
8 exoticaTriMuonHLT = hltHighLevel.clone()
9 exoticaTriMuonHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
10 exoticaTriMuonHLT.HLTPaths =['HLT_DoubleMu3']
11 
12 exoticaTriElectronHLT = hltHighLevel.clone()
13 exoticaTriElectronHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
14 exoticaTriElectronHLT.HLTPaths =['HLT_DoubleEle5_SW_L1R']
15 
16 
17 exoticaEMuHLT = hltHighLevel.clone()
18 exoticaEMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
19 exoticaEMuHLT.HLTPaths =['HLT_DoubleEle5_SW_L1R','HLT_DoubleMu3']
20 
21 
22 #Define the HLT quality cut
24 exoticaHLTTriMuonFilter = hltSummaryFilter.clone(
25  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
26  member = cms.InputTag("hltL3MuonCandidates","","HLT8E29"), # filter or collection
27  cut = cms.string("pt>5"), # cut on trigger object
28  minN = cms.int32(3) # min. # of passing objects needed
29  )
30 
31 exoticaHLTTriElectronFilter =hltSummaryFilter.clone(
32  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
33  member = cms.InputTag("hltL1NonIsoRecoEcalCandidate","","HLT8E29"), # filter or collection
34  #member = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronEt5PixelMatchFilter","","HLT8E29"), # filter or collection
35  cut = cms.string("pt>5"), # cut on trigger object
36  minN = cms.int32(3) # min. # of passing objects needed
37  )
38 
39 exoticaHLTDiMuonFilter = hltSummaryFilter.clone(
40  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
41  member = cms.InputTag("hltL3MuonCandidates","","HLT8E29"), # filter or collection
42  cut = cms.string("pt>5"), # cut on trigger object
43  minN = cms.int32(2) # min. # of passing objects needed
44  )
45 
46 exoticaHLTDiElectronFilter =hltSummaryFilter.clone(
47  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
48  member = cms.InputTag("hltL1NonIsoRecoEcalCandidate","","HLT8E29"), # filter or collection
49 # member = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronEt5PixelMatchFilter","","HLT8E29"), # filter or collection
50  cut = cms.string("pt>5"), # cut on trigger object
51  minN = cms.int32(2) # min. # of passing objects needed
52  )
53 
54 exoticaHLTMuonFilter = hltSummaryFilter.clone(
55  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
56  member = cms.InputTag("hltL3MuonCandidates","","HLT8E29"), # filter or collection
57  cut = cms.string("pt>5"), # cut on trigger object
58  minN = cms.int32(1) # min. # of passing objects needed
59  )
60 
61 exoticaHLTElectronFilter =hltSummaryFilter.clone(
62  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
63  member = cms.InputTag("hltL1NonIsoRecoEcalCandidate","","HLT8E29"), # filter or collection
64  # member = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronEt5PixelMatchFilter","","HLT8E29"), # filter or collection
65  cut = cms.string("pt>5"), # cut on trigger object
66  minN = cms.int32(1) # min. # of passing objects needed
67  )
68 
69 
70 
71 
72 #Define the Reco quality cut
73 exoticaRecoTriMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
74  src = cms.InputTag("muons"),
75  ptMin = cms.double(5.0),
76  minNumber = cms.uint32(3)
77 )
78 exoticaRecoTriElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
79  src = cms.InputTag("gsfElectrons"),
80  ptMin = cms.double(5.0),
81  minNumber = cms.uint32(3)
82 )
83 exoticaRecoDiMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
84  src = cms.InputTag("muons"),
85  ptMin = cms.double(5.0),
86  minNumber = cms.uint32(2)
87 )
88 exoticaRecoDiElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
89  src = cms.InputTag("gsfElectrons"),
90  ptMin = cms.double(5.0),
91  minNumber = cms.uint32(2)
92 )
93 exoticaRecoMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
94  src = cms.InputTag("muons"),
95  ptMin = cms.double(5.0),
96  minNumber = cms.uint32(1)
97 )
98 exoticaRecoElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
99  src = cms.InputTag("gsfElectrons"),
100  ptMin = cms.double(5.0),
101  minNumber = cms.uint32(1)
102 )
103 
104 
105 #Define group sequence, using HLT/Reco quality cut.
106 exoticaTriMuonHLTQualitySeq = cms.Sequence(
107  exoticaTriMuonHLT+exoticaHLTTriMuonFilter
108 )
109 exoticaTriElectronHLTQualitySeq = cms.Sequence(
110  exoticaTriElectronHLT+exoticaHLTTriElectronFilter
111 )
112 exotica1E2MuHLTQualitySeq = cms.Sequence(
113  exoticaEMuHLT+exoticaHLTElectronFilter+exoticaHLTDiMuonFilter
114 )
115 exotica2E1MuHLTQualitySeq = cms.Sequence(
116  exoticaEMuHLT+exoticaHLTDiElectronFilter+exoticaHLTMuonFilter
117 )
118 
119 #
120 exoticaTriMuonRecoQualitySeq = cms.Sequence(
121  exoticaTriMuonHLT+exoticaRecoTriMuonFilter
122 )
123 exoticaTriElectronRecoQualitySeq = cms.Sequence(
124  exoticaTriElectronHLT+exoticaRecoTriElectronFilter
125 )
126 
127 exotica1E2MuRecoQualitySeq = cms.Sequence(
128  exoticaEMuHLT+exoticaRecoElectronFilter+exoticaRecoDiMuonFilter
129 )
130 exotica2E1MuRecoQualitySeq = cms.Sequence(
131  exoticaEMuHLT+exoticaRecoDiElectronFilter+exoticaRecoMuonFilter
132 )