CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EXODiLepton_cff.py
Go to the documentation of this file.
2 
4 exoticaDiMuonHLT = hltHighLevel.clone()
5 #Define the HLT path to be used.
6 exoticaDiMuonHLT.HLTPaths =['HLT_DoubleMu3']
7 exoticaDiMuonHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
8 
9 exoticaDiElectronHLT = hltHighLevel.clone()
10 exoticaDiElectronHLT.HLTPaths =['HLT_Ele10_LW_L1R']
11 exoticaDiElectronHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
12 
13 exoticaEMuHLT = hltHighLevel.clone()
14 exoticaEMuHLT.HLTPaths =['HLT_Ele10_LW_L1R','HLT_Mu5']
15 exoticaEMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
16 
17 #Define the HLT quality cut
19 
20 exoticaHLTDiMuonFilter = hltSummaryFilter.clone(
21  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
22  member = cms.InputTag("hltL3MuonCandidates","","HLT8E29"), # filter or collection
23  cut = cms.string("pt>10"), # cut on trigger object
24  minN = cms.int32(2) # min. # of passing objects needed
25  )
26 
27 exoticaHLTDiElectronFilter =hltSummaryFilter.clone(
28  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
29  member = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronLWEt10EleIdDphiFilter","","HLT8E29"), # filter or collection
30  cut = cms.string("pt>10"), # cut on trigger object
31  minN = cms.int32(2) # min. # of passing objects needed
32 )
33 
34 exoticaHLTMuonFilter = hltSummaryFilter.clone(
35  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
36  member = cms.InputTag("hltL3MuonCandidates","","HLT8E29"), # filter or collection
37  cut = cms.string("pt>10"), # cut on trigger object
38  minN = cms.int32(1) # min. # of passing objects needed
39  )
40 
41 exoticaHLTElectronFilter =hltSummaryFilter.clone(
42  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
43  member = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronLWEt10EleIdDphiFilter","","HLT8E29"), # filter or collection
44  cut = cms.string("pt>10"), # cut on trigger object
45  minN = cms.int32(1) # min. # of passing objects needed
46  )
47 
48 
49 
50 
51 #Define the Reco quality cut
52 exoticaRecoDiMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
53  src = cms.InputTag("muons"),
54  ptMin = cms.double(10.0),
55  minNumber = cms.uint32(2)
56 )
57 exoticaRecoDiElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
58  src = cms.InputTag("gsfElectrons"),
59  ptMin = cms.double(10.0),
60  minNumber = cms.uint32(2)
61 )
62 exoticaRecoMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
63  src = cms.InputTag("muons"),
64  ptMin = cms.double(10.0),
65  minNumber = cms.uint32(1)
66 )
67 exoticaRecoElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
68  src = cms.InputTag("gsfElectrons"),
69  ptMin = cms.double(10.0),
70  minNumber = cms.uint32(1)
71 )
72 
73 
74 #Define group sequence, using HLT/Reco quality cut.
75 exoticaDiMuonHLTQualitySeq = cms.Sequence(
76  exoticaDiMuonHLT+exoticaHLTDiMuonFilter
77 )
78 exoticaDiElectronHLTQualitySeq = cms.Sequence(
79  exoticaDiElectronHLT+exoticaHLTDiElectronFilter
80 )
81 exoticaEMuHLTQualitySeq = cms.Sequence(
82  exoticaEMuHLT+exoticaHLTElectronFilter+exoticaHLTMuonFilter
83 )
84 #
85 exoticaDiMuonRecoQualitySeq = cms.Sequence(
86  exoticaDiMuonHLT+exoticaRecoDiMuonFilter
87 )
88 exoticaDiElectronRecoQualitySeq = cms.Sequence(
89  exoticaDiElectronHLT+exoticaRecoDiElectronFilter
90 )
91 
92 exoticaEMuRecoQualitySeq = cms.Sequence(
93  exoticaEMuHLT+exoticaRecoElectronFilter+exoticaRecoMuonFilter
94 )
95