test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
HILowLumiHLTOfflineSource_cfi Namespace Reference

Functions

def getFullTrackVPSet
 
def getHILowLumi
 
def getHILowLumiTriggers
 

Variables

string dirname = "HLT/HI/"
 
tuple HILowLumiHLTOfflineSource
 
tuple HILowLumiHLTOfflineSourceSequence = cms.Sequence(HILowLumiHLTOfflineSource)
 
string processName = "HLT"
 

Function Documentation

def HILowLumiHLTOfflineSource_cfi.getFullTrackVPSet ( )

Definition at line 158 of file HILowLumiHLTOfflineSource_cfi.py.

Referenced by getHILowLumi().

159 def getFullTrackVPSet():
160  ret=cms.VPSet()
161  thresholds = [12, 20, 30, 50]
162  for t in thresholds:
163  partialPathName = "HLT_FullTrack"+str(t)+"_v"
164  hltFullTrack = cms.PSet(
165  triggerSelection = cms.string(partialPathName+"*"),
166  handlerType = cms.string("FromHLT"),
167  partialPathName = cms.string(partialPathName),
168  partialFilterName = cms.string("hltHighPtFullTrack"),
169  dqmhistolabel = cms.string("hltHighPtFullTrack"),
170  mainDQMDirname = cms.untracked.string(dirname),
171  singleObjectsPreselection = cms.string("1==1"),
172  singleObjectDrawables = cms.VPSet(
173  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
174  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
175  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
176  ),
177  combinedObjectSelection = cms.string("1==1"),
178  combinedObjectSortCriteria = cms.string("at(0).pt"),
179  combinedObjectDimension = cms.int32(1),
180  combinedObjectDrawables = cms.VPSet()
181  )
182  ret.append(hltFullTrack)
183 
184  thresholds2 = [12]
185  for t in thresholds2:
186  partialPathName = "HLT_FullTrack"+str(t)+"ForEndOfFill_v"
187  hltFullTrack = cms.PSet(
188  triggerSelection = cms.string(partialPathName+"*"),
189  handlerType = cms.string("FromHLT"),
190  partialPathName = cms.string(partialPathName),
191  partialFilterName = cms.string("hltHighPtFullTrack"),
192  dqmhistolabel = cms.string("hltHighPtFullTrack"),
193  mainDQMDirname = cms.untracked.string(dirname),
194  singleObjectsPreselection = cms.string("1==1"),
195  singleObjectDrawables = cms.VPSet(
196  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
197  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
198  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
199  ),
200  combinedObjectSelection = cms.string("1==1"),
201  combinedObjectSortCriteria = cms.string("at(0).pt"),
202  combinedObjectDimension = cms.int32(1),
203  combinedObjectDrawables = cms.VPSet()
204  )
205  ret.append(hltFullTrack)
206 
207  thresholds3 = [80,100,130,150]
208  for t in thresholds3:
209  partialPathName = "HLT_FullTracks_Multiplicity"+str(t)+"_v"
210 # partialPathName = "HLT_FullTracks_Multiplicity80_v"
211  hltFullTrackMult = cms.PSet(
212  triggerSelection = cms.string(partialPathName+"*"),
213  handlerType = cms.string("FromHLT"),
214  partialPathName = cms.string(partialPathName),
215  partialFilterName = cms.string("hltPAFullTrackHighMult"),
216  dqmhistolabel = cms.string("hltPAFullTrackHighMult"),
217  mainDQMDirname = cms.untracked.string(dirname),
218  singleObjectsPreselection = cms.string("1==1"),
219  singleObjectDrawables = cms.VPSet(
220  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(100), min = cms.double(0), max = cms.double(100)),
221  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-2.5), max = cms.double(2.5)),
222  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
223  ),
224  combinedObjectSelection = cms.string("1==1"),
225  combinedObjectSortCriteria = cms.string("at(0).pt"),
226  combinedObjectDimension = cms.int32(1),
227  combinedObjectDrawables = cms.VPSet()
228  )
229  ret.append(hltFullTrackMult)
230 
231  return ret
def HILowLumiHLTOfflineSource_cfi.getHILowLumi ( )

Definition at line 232 of file HILowLumiHLTOfflineSource_cfi.py.

References getFullTrackVPSet(), and getHILowLumiTriggers().

233 def getHILowLumi():
234  ret = cms.VPSet()
235  ret.extend(getHILowLumiTriggers())
236  ret.extend(getFullTrackVPSet())
237  return ret
def HILowLumiHLTOfflineSource_cfi.getHILowLumiTriggers ( )

Definition at line 3 of file HILowLumiHLTOfflineSource_cfi.py.

Referenced by getHILowLumi().

3 
5  ret=cms.VPSet()
6  partialPathName = "HLT_AK4CaloJet30_v"
7  hltHICaloJet30 = cms.PSet(
8  triggerSelection = cms.string(partialPathName+"*"),
9  handlerType = cms.string("FromHLT"),
10  partialPathName = cms.string(partialPathName),
11  partialFilterName = cms.string("hltSingleAK4CaloJet"),
12  dqmhistolabel = cms.string("hltHICaloJet30"),
13  mainDQMDirname = cms.untracked.string(dirname),
14  singleObjectsPreselection = cms.string("1==1"),
15  singleObjectDrawables = cms.VPSet(
16  cms.PSet (name = cms.string("pt"), expression = cms.string("pt"), bins = cms.int32(58), min = cms.double(10), max = cms.double(300)),
17  cms.PSet (name = cms.string("eta"), expression = cms.string("eta"), bins = cms.int32(100), min = cms.double(-5), max = cms.double(5)),
18  cms.PSet (name = cms.string("phi"), expression = cms.string("phi"), bins = cms.int32(100), min = cms.double(-3.15), max = cms.double(3.15))
19  ),
20  combinedObjectSelection = cms.string("1==1"),
21  combinedObjectSortCriteria = cms.string("at(0).pt"),
22  combinedObjectDimension = cms.int32(1),
23  combinedObjectDrawables = cms.VPSet()
24  )
25  ret.append(hltHICaloJet30)
26 
27  hltHICaloJet40 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet40_v"),
28  triggerSelection = cms.string("HLT_AK4CaloJet40_v*"),
29  dqmhistolabel = cms.string("hltHICaloJet40")
30  )
31  ret.append(hltHICaloJet40)
32 
33  hltHICaloJet50 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet50_v"),
34  triggerSelection = cms.string("HLT_AK4CaloJet50_v*"),
35  dqmhistolabel = cms.string("hltHICaloJet50")
36  )
37  ret.append(hltHICaloJet50)
38 
39  hltHICaloJet80 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet80_v"),
40  triggerSelection = cms.string("HLT_AK4CaloJet80_v*"),
41  dqmhistolabel = cms.string("hltHICaloJet80")
42  )
43  ret.append(hltHICaloJet80)
44 
45  hltHICaloJet100 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet100_v"),
46  triggerSelection = cms.string("HLT_AK4CaloJet100_v*"),
47  dqmhistolabel = cms.string("hltHICaloJet100")
48  )
49  ret.append(hltHICaloJet100)
50 
51  hltHICaloJet30ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet30ForEndOfFill_v"),
52  triggerSelection = cms.string("HLT_AK4CaloJet30ForEndOfFill_v*"),
53  dqmhistolabel = cms.string("hltHICaloJet30ForEndOfFill")
54  )
55  ret.append(hltHICaloJet30ForEndOfFill)
56 
57  hltHICaloJet40ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet40ForEndOfFill_v"),
58  triggerSelection = cms.string("HLT_AK4CaloJet40ForEndOfFill_v*"),
59  dqmhistolabel = cms.string("hltHICaloJet40ForEndOfFill")
60  )
61  ret.append(hltHICaloJet40ForEndOfFill)
62 
63  hltHICaloJet50ForEndOfFill = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4CaloJet50ForEndOfFill_v"),
64  triggerSelection = cms.string("HLT_AK4CaloJet50ForEndOfFill_v*"),
65  dqmhistolabel = cms.string("hltHICaloJet50ForEndOfFill")
66  )
67  ret.append(hltHICaloJet50ForEndOfFill)
68 
69 
70  hltHIPFJet30 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_AK4PFJet30_v"),
71  triggerSelection = cms.string("HLT_AK4PFJet30_v*"),
72  dqmhistolabel = cms.string("hltHIPFJet30"),
73  partialFilterName = cms.string("hltSingleAK4PFJet")
74  )
75  ret.append(hltHIPFJet30)
76 
77  hltHIPFJet50 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet50_v"),
78  triggerSelection = cms.string("HLT_AK4PFJet50_v*"),
79  dqmhistolabel = cms.string("hltHIPFJet50")
80  )
81  ret.append(hltHIPFJet50)
82 
83  hltHIPFJet80 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet80_v"),
84  triggerSelection = cms.string("HLT_AK4PFJet80_v*"),
85  dqmhistolabel = cms.string("hltHIPFJet80")
86  )
87  ret.append(hltHIPFJet80)
88 
89  hltHIPFJet100 = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet100_v"),
90  triggerSelection = cms.string("HLT_AK4PFJet100_v*"),
91  dqmhistolabel = cms.string("hltHIPFJet100")
92  )
93  ret.append(hltHIPFJet100)
94 
95  hltHIPFJet30ForEndOfFill = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet30ForEndOfFill_v"),
96  triggerSelection = cms.string("HLT_AK4PFJet30ForEndOfFill_v*"),
97  dqmhistolabel = cms.string("hltHIPFJet30ForEndOfFill")
98  )
99  ret.append(hltHIPFJet30ForEndOfFill)
100 
101  hltHIPFJet50ForEndOfFill = hltHIPFJet30.clone(partialPathName = cms.string("HLT_AK4PFJet50ForEndOfFill_v"),
102  triggerSelection = cms.string("HLT_AK4PFJet50ForEndOfFill_v*"),
103  dqmhistolabel = cms.string("hltHIPFJet50ForEndOfFill")
104  )
105  ret.append(hltHIPFJet50ForEndOfFill)
106 
107  hltHISinglePhoton10 = hltHICaloJet30.clone(partialPathName = cms.string("HLT_HISinglePhoton10_v"),
108  triggerSelection = cms.string("HLT_HISinglePhoton10_v*"),
109  dqmhistolabel = cms.string("hltHISinglePhoton10"),
110  partialFilterName = cms.string("hltHIPhoton")
111  )
112  ret.append(hltHISinglePhoton10)
113 
114  hltHISinglePhoton15 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton15_v"),
115  triggerSelection = cms.string("HLT_HISinglePhoton15_v*"),
116  dqmhistolabel = cms.string("hltHISinglePhoton15")
117  )
118  ret.append(hltHISinglePhoton15)
119 
120 
121  hltHISinglePhoton20 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton20_v"),
122  triggerSelection = cms.string("HLT_HISinglePhoton20_v*"),
123  dqmhistolabel = cms.string("hltHISinglePhoton20")
124  )
125  ret.append(hltHISinglePhoton20)
126 
127  hltHISinglePhoton40 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton40_v"),
128  triggerSelection = cms.string("HLT_HISinglePhoton40_v*"),
129  dqmhistolabel = cms.string("hltHISinglePhoton40")
130  )
131  ret.append(hltHISinglePhoton40)
132 
133  hltHISinglePhoton60 = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton60_v"),
134  triggerSelection = cms.string("HLT_HISinglePhoton60_v*"),
135  dqmhistolabel = cms.string("hltHISinglePhoton60")
136  )
137  ret.append(hltHISinglePhoton60)
138 
139  hltHISinglePhoton10ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton10ForEndOfFill_v"),
140  triggerSelection = cms.string("HLT_HISinglePhoton10ForEndOfFill_v*"),
141  dqmhistolabel = cms.string("hltHISinglePhoton10ForEndOfFill")
142  )
143  ret.append(hltHISinglePhoton10ForEndOfFill)
144 
145  hltHISinglePhoton15ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton15ForEndOfFill_v"),
146  triggerSelection = cms.string("HLT_HISinglePhoton15ForEndOfFill_v*"),
147  dqmhistolabel = cms.string("hltHISinglePhoton15ForEndOfFill")
148  )
149  ret.append(hltHISinglePhoton15ForEndOfFill)
150 
151  hltHISinglePhoton20ForEndOfFill = hltHISinglePhoton10.clone(partialPathName = cms.string("HLT_HISinglePhoton20ForEndOfFill_v"),
152  triggerSelection = cms.string("HLT_HISinglePhoton20ForEndOfFill_v*"),
153  dqmhistolabel = cms.string("hltHISinglePhoton20ForEndOfFill")
154  )
155  ret.append(hltHISinglePhoton20ForEndOfFill)
156 
157  return ret

Variable Documentation

string HILowLumiHLTOfflineSource_cfi.dirname = "HLT/HI/"

Definition at line 238 of file HILowLumiHLTOfflineSource_cfi.py.

Referenced by APVCyclePhaseMonitor.analyze(), BigEventsDebugger< T >.analyze(), RunHistogramManager.beginRun(), BigEventsDebugger< T >.BigEventsDebugger(), BeamSpotHistogramMaker.book(), VertexHistogramMaker.book(), BSvsPVHistogramMaker.book(), TrackerOfflineValidation.bookDirHists(), BSvsPVPlots(), web.dbfile2html.create_page(), SiStripTrackerMapCreator.createInfoFile(), web.dbfile2html.dbfile2html(), ESPedestalClient.endJobAnalyze(), WatcherStreamFileReader.getInputFile(), MergeRootfile(), TrackerOfflineValidation.prepareSummaryHists(), PrimaryVertexPlots(), SideBandSubtract.saveResults(), SeedMultiplicityPlots(), utils.setTDRStyle(), and StatisticsPlots().

tuple HILowLumiHLTOfflineSource_cfi.HILowLumiHLTOfflineSource
Initial value:
1 = cms.EDAnalyzer("FSQDiJetAve",
2  triggerConfiguration = cms.PSet(
3  hltResults = cms.InputTag('TriggerResults','',processName),
4  l1tResults = cms.InputTag(''),
5  l1tIgnoreMaskAndPrescale = cms.bool( False ),
6  throw = cms.bool( False )
7  ),
8 
9 # hltProcessName = cms.string("HLT"),
10  # HLT paths passing any one of these regular expressions will be included
11 
12 # hltPathsToCheck = cms.vstring(
13 # "HLT_HISinglePhoton10_v1",
14 # ),
15 
16 # requiredTriggers = cms.untracked.vstring(
17 # "HLT_HISinglePhoton10_v1",
18 # ),
19 
20 
21  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","", processName),
22  triggerResultsLabel = cms.InputTag("TriggerResults","", processName),
23  useGenWeight = cms.bool(False),
24  #useGenWeight = cms.bool(True),
25  todo = cms.VPSet(getHILowLumi())
26 )

Definition at line 242 of file HILowLumiHLTOfflineSource_cfi.py.

tuple HILowLumiHLTOfflineSource_cfi.HILowLumiHLTOfflineSourceSequence = cms.Sequence(HILowLumiHLTOfflineSource)

Definition at line 270 of file HILowLumiHLTOfflineSource_cfi.py.

string HILowLumiHLTOfflineSource_cfi.processName = "HLT"

Definition at line 240 of file HILowLumiHLTOfflineSource_cfi.py.