CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EXOEle_cff.py
Go to the documentation of this file.
2 
3 
4 ########################################
5 # definitions for cut on HLT variables #
6 ########################################
7 
8 lowetMod = cms.EDFilter("HLTSummaryFilter",
9  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
10  member = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronLWEt10EleIdDphiFilter","","HLT8E29"), # filter or collection
11  cut = cms.string("pt>30"), # cut on trigger object
12  minN = cms.int32(1) # min. # of passing objects needed
13 )
14 
15 medetMod = cms.EDFilter("HLTSummaryFilter",
16  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
17  member = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronLWEt15PixelMatchFilter","","HLT8E29"), # filter or collection
18  cut = cms.string("pt>50"), # cut on trigger object
19  minN = cms.int32(1) # min. # of passing objects needed
20 )
21 
22 highetMod = cms.EDFilter("HLTSummaryFilter",
23  summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
24  member = cms.InputTag("hltL1NonIsoHLTNonIsoSinglePhotonEt20HcalIsolFilter","","HLT8E29"), # filter or collection
25  cut = cms.string("pt>80"), # cut on trigger object
26  minN = cms.int32(1) # min. # of passing objects needed
27 )
28 
29 exoticaEleLowetSeq=cms.Sequence(lowetMod)
30 exoticaEleMedetSeq=cms.Sequence(medetMod)
31 exoticaEleHighetSeq=cms.Sequence(highetMod)
32 
33 ############################################
34 # defintions for cuts on RECO variables #
35 ############################################
36 # low and medium Et paths currently identical
37 # low Et path is currently maintainted for
38 # easy addition of isolation requirements in the future
39 
40 lowetModR = cms.EDFilter("HLTHighLevel",
41  TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29"),
42  HLTPaths = cms.vstring('HLT_Ele15_LW_L1R',
43  'HLT_Photon20_L1R'),
44  andOr = cms.bool(True),
45  eventSetupPathsKey = cms.string(''),
46  throw = cms.bool(True)
47  )
48 lowetsel = cms.EDFilter("GsfElectronSelector",
49  src =cms.InputTag("gsfElectrons"),
50  cut =cms.string("superCluster().get().energy()*sin(theta())>30")
51  )
52 
53 lowfilter = cms.EDFilter("CandViewCountFilter",
54  src = cms.InputTag("lowetsel"),
55  minNumber = cms.uint32(1),
56  )
57 
58 medetModR = cms.EDFilter("HLTHighLevel",
59  TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29"),
60  HLTPaths = cms.vstring("HLT_Ele15_LW_L1R",
61  "HLT_Photon20_L1R"),
62  andOr = cms.bool(True),
63  eventSetupPathsKey = cms.string(''),
64  throw = cms.bool(True)
65  )
66 medetsel = cms.EDFilter("GsfElectronSelector",
67  src =cms.InputTag("gsfElectrons"),
68  cut =cms.string("superCluster().get().energy()*sin(theta())>50")
69  )
70 
71 medfilter = cms.EDFilter("CandViewCountFilter",
72  src = cms.InputTag("medetsel"),
73  minNumber = cms.uint32(1),
74  )
75 
76 exoticaEleLowetSeqReco=cms.Sequence(lowetModR * lowetsel * lowfilter)
77 exoticaEleMedetSeqReco=cms.Sequence(medetModR * medetsel * medfilter)
78 exoticaEleHighetSeqReco=cms.Sequence(highetMod)