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  return ret
def HILowLumiHLTOfflineSource_cfi.getHILowLumi ( )

Definition at line 208 of file HILowLumiHLTOfflineSource_cfi.py.

References getFullTrackVPSet(), and getHILowLumiTriggers().

209 def getHILowLumi():
210  ret = cms.VPSet()
211  ret.extend(getHILowLumiTriggers())
212  ret.extend(getFullTrackVPSet())
213  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 214 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(), TrackerOfflineValidation.collateSummaryHists(), web.dbfile2html.create_page(), web.dbfile2html.dbfile2html(), ESPedestalClient.endJobAnalyze(), WatcherStreamFileReader.getInputFile(), MergeRootfile(), 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  #l1tResults = cms.InputTag('gtDigis'),
6  daqPartitions = cms.uint32(1),
7  l1tIgnoreMask = cms.bool( False ),
8  l1techIgnorePrescales = cms.bool( False ),
9  throw = cms.bool( False )
10  ),
11 
12 # hltProcessName = cms.string("HLT"),
13  # HLT paths passing any one of these regular expressions will be included
14 
15 # hltPathsToCheck = cms.vstring(
16 # "HLT_HISinglePhoton10_v1",
17 # ),
18 
19 # requiredTriggers = cms.untracked.vstring(
20 # "HLT_HISinglePhoton10_v1",
21 # ),
22 
23 
24  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","", processName),
25  triggerResultsLabel = cms.InputTag("TriggerResults","", processName),
26  useGenWeight = cms.bool(False),
27  #useGenWeight = cms.bool(True),
28  todo = cms.VPSet(getHILowLumi())
29 )

Definition at line 218 of file HILowLumiHLTOfflineSource_cfi.py.

tuple HILowLumiHLTOfflineSource_cfi.HILowLumiHLTOfflineSourceSequence = cms.Sequence(HILowLumiHLTOfflineSource)

Definition at line 249 of file HILowLumiHLTOfflineSource_cfi.py.

string HILowLumiHLTOfflineSource_cfi.processName = "HLT"

Definition at line 216 of file HILowLumiHLTOfflineSource_cfi.py.