CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HILowLumiHLTOfflineSource_cfi.py
Go to the documentation of this file.
2 
4  ret=cms.VPSet()
5  partialPathName = "HLT_AK4CaloJet30_v"
6  hltHICaloJet30 = cms.PSet(
7  triggerSelection = cms.string(partialPathName+"*"),
8  handlerType = cms.string("FromHLT"),
9  partialPathName = cms.string(partialPathName),
10  partialFilterName = cms.string("hltSingleAK4CaloJet"),
11  dqmhistolabel = cms.string("hltHICaloJet30"),
12  mainDQMDirname = cms.untracked.string(dirname),
13  singleObjectsPreselection = cms.string("1==1"),
14  singleObjectDrawables = cms.VPSet(
15  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
16  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5), max = cms.double(5)),
17  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
18  ),
19  combinedObjectSelection = cms.string("1==1"),
20  combinedObjectSortCriteria = cms.string("at(0).pt"),
21  combinedObjectDimension = cms.int32(1),
22  combinedObjectDrawables = cms.VPSet()
23  )
24  ret.append(hltHICaloJet30)
25 
26  hltHICaloJet40 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet40_v"),
27  triggerSelection = cms.string("HLT_AK4CaloJet40_v*"),
28  dqmhistolabel = cms.string("hltHICaloJet40")
29  )
30  ret.append(hltHICaloJet40)
31 
32  hltHICaloJet50 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet50_v"),
33  triggerSelection = cms.string("HLT_AK4CaloJet50_v*"),
34  dqmhistolabel = cms.string("hltHICaloJet50")
35  )
36  ret.append(hltHICaloJet50)
37 
38  hltHICaloJet80 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet80_v"),
39  triggerSelection = cms.string("HLT_AK4CaloJet80_v*"),
40  dqmhistolabel = cms.string("hltHICaloJet80")
41  )
42  ret.append(hltHICaloJet80)
43 
44  hltHICaloJet100 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet100_v"),
45  triggerSelection = cms.string("HLT_AK4CaloJet100_v*"),
46  dqmhistolabel = cms.string("hltHICaloJet100")
47  )
48  ret.append(hltHICaloJet100)
49 
50 
51  hltHIPFJet30 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4PFJet30_v"),
52  triggerSelection = cms.string("HLT_AK4PFJet30_v*"),
53  dqmhistolabel = cms.string("hltHIPFJet30"),
54  partialFilterName = cms.string("hltSingleAK4PFJet")
55  )
56  ret.append(hltHIPFJet30)
57 
58  hltHIPFJet50 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet50_v"),
59  triggerSelection = cms.string("HLT_AK4PFJet50_v*"),
60  dqmhistolabel = cms.string("hltHIPFJet50")
61  )
62  ret.append(hltHIPFJet50)
63 
64  hltHIPFJet80 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet80_v"),
65  triggerSelection = cms.string("HLT_AK4PFJet80_v*"),
66  dqmhistolabel = cms.string("hltHIPFJet80")
67  )
68  ret.append(hltHIPFJet80)
69 
70  hltHIPFJet100 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet100_v"),
71  triggerSelection = cms.string("HLT_AK4PFJet100_v*"),
72  dqmhistolabel = cms.string("hltHIPFJet100")
73  )
74  ret.append(hltHIPFJet100)
75 
76  hltHISinglePhoton10 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_HISinglePhoton10_v"),
77  triggerSelection = cms.string("HLT_HISinglePhoton10_v*"),
78  dqmhistolabel = cms.string("hltHISinglePhoton10"),
79  partialFilterName = cms.string("hltHIPhoton")
80  )
81  ret.append(hltHISinglePhoton10)
82 
83  hltHISinglePhoton15 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton15_v"),
84  triggerSelection = cms.string("HLT_HISinglePhoton15_v*"),
85  dqmhistolabel = cms.string("hltHISinglePhoton15")
86  )
87  ret.append(hltHISinglePhoton15)
88 
89 
90  hltHISinglePhoton20 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton20_v"),
91  triggerSelection = cms.string("HLT_HISinglePhoton20_v*"),
92  dqmhistolabel = cms.string("hltHISinglePhoton20")
93  )
94  ret.append(hltHISinglePhoton20)
95 
96  hltHISinglePhoton40 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton40_v"),
97  triggerSelection = cms.string("HLT_HISinglePhoton40_v*"),
98  dqmhistolabel = cms.string("hltHISinglePhoton40")
99  )
100  ret.append(hltHISinglePhoton40)
101 
102  hltHISinglePhoton60 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton60_v"),
103  triggerSelection = cms.string("HLT_HISinglePhoton60_v*"),
104  dqmhistolabel = cms.string("hltHISinglePhoton60")
105  )
106  ret.append(hltHISinglePhoton60)
107 
108  return ret
109 
111  ret=cms.VPSet()
112  thresholds = [12, 20, 30, 50]
113  for t in thresholds:
114  partialPathName = "HLT_FullTrack"+str(t)+"_v"
115  hltFullTrack = cms.PSet(
116  triggerSelection = cms.string(partialPathName+"*"),
117  handlerType = cms.string("FromHLT"),
118  partialPathName = cms.string(partialPathName),
119  partialFilterName = cms.string("hltHighPtFullTrack"),
120  dqmhistolabel = cms.string("hltHighPtFullTrack"),
121  mainDQMDirname = cms.untracked.string(dirname),
122  singleObjectsPreselection = cms.string("1==1"),
123  singleObjectDrawables = cms.VPSet(
124  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
125  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
126  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
127  ),
128  combinedObjectSelection = cms.string("1==1"),
129  combinedObjectSortCriteria = cms.string("at(0).pt"),
130  combinedObjectDimension = cms.int32(1),
131  combinedObjectDrawables = cms.VPSet()
132  )
133  ret.append(hltFullTrack)
134 
135  return ret
136 
138  ret = cms.VPSet()
139  ret.extend(getHILowLumiTriggers())
140  ret.extend(getFullTrackVPSet())
141  return ret
142 
143 dirname = "HLT/HI/"
144 
145 processName = "HLT"
146 
147 HILowLumiHLTOfflineSource = cms.EDAnalyzer("FSQDiJetAve",
148  triggerConfiguration = cms.PSet(
149  hltResults = cms.InputTag('TriggerResults','',processName),
150  l1tResults = cms.InputTag(''),
151  #l1tResults = cms.InputTag('gtDigis'),
152  daqPartitions = cms.uint32(1),
153  l1tIgnoreMask = cms.bool( False ),
154  l1techIgnorePrescales = cms.bool( False ),
155  throw = cms.bool( False )
156  ),
157 
158 # hltProcessName = cms.string("HLT"),
159  # HLT paths passing any one of these regular expressions will be included
160 
161 # hltPathsToCheck = cms.vstring(
162 # "HLT_HISinglePhoton10_v1",
163 # ),
164 
165 # requiredTriggers = cms.untracked.vstring(
166 # "HLT_HISinglePhoton10_v1",
167 # ),
168 
169 
170  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","", processName),
171  triggerResultsLabel = cms.InputTag("TriggerResults","", processName),
172  useGenWeight = cms.bool(False),
173  #useGenWeight = cms.bool(True),
174  todo = cms.VPSet(getHILowLumi())
175 )
176 
177 #from JetMETCorrections.Configuration.CorrectedJetProducers_cff import *
178 HILowLumiHLTOfflineSourceSequence = cms.Sequence(HILowLumiHLTOfflineSource)