ATLAS Offline Software
AtlRunQuerySelectorMisc.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 
3 
4 from __future__ import print_function
5 import re,sys
6 from time import gmtime
7 
8 from CoolRunQuery.AtlRunQueryRun import Run
9 from CoolRunQuery.utils.AtlRunQueryUtils import coolDbConn, GetRanges
10 from CoolRunQuery.selector.AtlRunQuerySelectorBase import Selector, RunLBBasedCondition, TimeBasedCondition, DataKey
11 
12 
13 class FilenameSelector(RunLBBasedCondition):
14  def __init__(self, name, projecttag=None):
15  self.filenametag = projecttag
16  self.fntpatterns = None
17  if projecttag:
18  self.fntpatterns = [re.compile(pt.strip().replace('*','.*').replace('?','.'),re.I) for pt in projecttag.split(',')]
19  super(FilenameSelector,self).__init__(name=name,
20  dbfolderkey='COOLONL_TDAQ::/TDAQ/RunCtrl/SOR%s' % ("_Params" if Selector.condDB() == "COMP200" else ""),
21  channelKeys = [(0, 'Project tag','FilenameTag' if Selector.condDB() == "COMP200" else 'T0ProjectTag')])
22 
23  def __str__(self):
24  if self.applySelection:
25  return 'SELOUT Checking if the filename tag matches "%s"' % self.filenametag
26  else:
27  return "Retrieving filenametag"
28 
29  def passes(self,value,key):
30  for p in self.fntpatterns:
31  if p.match(value):
32  return True
33  return False
34 
35 class PartitionSelector(RunLBBasedCondition):
36  def __init__(self, name, partition=None):
37  self.partition = partition
38  super(PartitionSelector,self).__init__(name=name,
39  dbfolderkey='COOLONL_TDAQ::/TDAQ/RunCtrl/EventCounters',
40  channelKeys = [(0,'Partition','PartitionName')])
41 
42  def __str__(self):
43  if self.applySelection:
44  return 'SELOUT Checking if partition name matches "%s"' % self.partition
45  else:
46  return "Retrieving partition name"
47 
48  def passes(self,value,key):
49  if value=='n.a.':
50  self.selDataMissing = True
51  return True
52  return value==self.partition
53 
54 class ReadyForPhysicsSelector(RunLBBasedCondition):
55  def __init__(self, name, readyforphysics=None):
56  self.readyforphysics = readyforphysics
57  super(ReadyForPhysicsSelector,self).__init__(name=name,
58  dbfolderkey='COOLONL_TDAQ::/TDAQ/RunCtrl/DataTakingMode',
59  channelKeys = [(0,'Ready for physics','ReadyForPhysics')])
60 
61  def __str__(self):
62  if self.applySelection:
63  return 'SELOUT Checking if ReadyForPhysics flag matches "%s"' % self.readyforphysics
64  else:
65  return "Retrieving ReadyForPhysics flag"
66 
67  def passes(self,value,key):
68  if value=='n.a.':
69  self.selDataMissing = True
70  return True
71  return value==self.readyforphysics
72 
73 
74 class DurationSelector(Selector):
75  def __init__(self,name,duration):
76  self.geReq = (duration[-1]!='-')
77  self.duration = int(duration.rstrip('+-'))
78  super(DurationSelector,self).__init__(name)
79  def __str__(self):
80  return "SELOUT Checking if duration of run is %s than %i seconds" % ("more" if self.geReq else "less",self.duration)
81  def select(self, runlist):
82  print (self, end='')
83  sys.stdout.flush()
84  if self.geReq:
85  rmlist = [r for r in runlist if (r.eor-r.sor)/1E9<self.duration]
86  else:
87  rmlist = [r for r in runlist if (r.eor-r.sor)/1E9>self.duration]
88  for r in rmlist:
89  runlist.remove(r)
90  if self.applySelection:
91  print (" ==> %i runs selected" % len(runlist))
92  return runlist
93 
94 
95 class DetectorSelector(RunLBBasedCondition):
96  def __init__(self, name, dmin=None, dmout=None):
97  self.bm = self.bp = self.bmany = 0
98  if not dmin:
99  dmin = []
100  if not dmout:
101  dmout = []
102  for m in dmin+dmout:
103  if 'A' in m:
104  continue
105  self.bm |= int(m)
106  for m in dmin:
107  if 'A' in m:
108  continue
109  self.bp |= int(m)
110  for m in dmin:
111  if 'A' not in m:
112  continue
113  self.bmany |= int(m.rstrip('A'))
114 
115  dbfolder = ""
116  if Selector.condDB() == "COMP200":
117  dbfolder = "/TDAQ/RunCtrl/SOR_Params"
118  if Selector.condDB() == "CONDBR2":
119  dbfolder = "/TDAQ/RunCtrl/SOR"
120 
121  super(DetectorSelector,self).__init__(name=name,
122  dbfolderkey='COOLONL_TDAQ::%s' % dbfolder,
123  channelKeys = [(0, 'Detector systems', 'DetectorMask')])
124 
125  self.data_keys[0]._type = DataKey.DETECTOR
126 
127 
128 
129  def __str__(self):
130  if self.applySelection:
131  if self.bm!=0 and self.bmany!=0:
132  return "SELOUT Checking if [detector mask & %i] matches %i and [detector mask & %i] is greater 0" % (self.bm,self.bp,self.bmany)
133  elif self.bm==0:
134  return "SELOUT Checking if [detector mask & %i] is greater 0" % self.bmany
135  else:
136  return "SELOUT Checking if [detector mask & %i] matches %i" % (self.bm,self.bp)
137  else:
138  return "Retrieving detector mask"
139 
140  def passes(self,values,key):
141  try:
142  val = int(values,16)
143  except ValueError:
144  self.selDataMissing = True
145  return True
146  retval = True
147  if self.bm!=0:
148  retval &= ((val & self.bm) == self.bp)
149  if self.bmany!=0:
150  retval &= ((val & self.bmany) != 0)
151  return retval
152 
153  def prettyValue(self, value, key):
154  """
155  run 1: run 211541 has DetectorMask 281474976710647
156  run 2: run 252233 has DetectorMask 0d00069fffffffff0
157  """
158  return value
159 
160 
161 
162 
163 class BFieldCondition(TimeBasedCondition):
164  def __init__(self, name, condition=None, channel=0, resDictKey=''):
165  super(BFieldCondition,self).__init__(name,
166  dbfolderkey='COOLOFL_DCS::/EXT/DCS/MAGNETS/SENSORDATA',
167  channelKeys = [(channel,resDictKey,'value')])
168  if condition:
169  self.cutRange = GetRanges(condition)
170  def __str__(self):
171  if self.applySelection:
172  if self.cutRange[0][1] > 1000000:
173  txt = '[%.0f,+inf]' % (self.cutRange[0][0])
174  else:
175  txt = '[%.0f,%0.f]' % (self.cutRange[0][0],self.cutRange[0][1])
176  return "SELOUT Checking if the %s is within %s" % (', '.join(self.ResultKey()), txt)
177  else:
178  return "Retrieving magnet currents %s" % self.ResultKey()
179 
180  def passes(self,values,key):
181  try:
182  val = abs(float(values))
183  except ValueError:
184  self.selDataMissing = True
185  return True
186  for cr in self.cutRange:
187  if val>=cr[0] and val<=cr[1]:
188  return True
189  return False
190 
191  def prettyValue(self, value, key):
192  if value=='n.a.':
193  return value
194  return round(float(value),2)
195 
196 
197 class BFieldSelector(Selector):
198  def __init__(self, name, bf=None):
199  super(BFieldSelector,self).__init__(name)
200  self.conditions = []
201  if bf:
202  if 'solenoidon' in bf or 'solenoidoff' in bf:
203  tmp = []
204  if 'solenoidon' in bf:
205  tmp += ['7700+']
206  elif 'solenoidoff' in bf:
207  tmp += ['10-']
208  self.conditions += [ BFieldCondition('csolcur', ','.join(tmp), channel = 1, resDictKey = 'SolCurrent') ]
209  if 'toroidon' in bf or 'toroidoff' in bf:
210  tmp = []
211  if 'toroidon' in bf:
212  tmp += ['20000+']
213  elif 'toroidoff' in bf:
214  tmp += ['10-']
215  self.conditions += [ BFieldCondition('ctorcur', ','.join(tmp), channel = 3, resDictKey = 'TorCurrent') ]
216  else:
217  self.conditions += [ BFieldCondition('csolcur', channel = 1, resDictKey = 'SolCurrent') ]
218  self.conditions += [ BFieldCondition('ctorcur', channel = 3, resDictKey = 'TorCurrent') ]
219  for sel in self.conditions:
220  sel.setShowOutput()
221  sel.applySelection = False
222 
223  def __str__(self):
224  s = ""
225  for sel in self.conditions:
226  s += "\n%s" % sel
227  return s
228 
229  def setShowOutput(self):
230  for cond in self.conditions:
231  cond.setShowOutput()
232 
233  def addShowSelector(self):
234  sol = tor = None
235  for s in self.conditions:
236  if s.name == 'csolcur':
237  sol = s
238  if s.name == 'ctorcur':
239  tor = s
240  if not sol:
241  sol = BFieldCondition('csolcur', channel = 1, resDictKey = 'SolCurrent')
242  sol.applySelection = False
243  self.conditions += [ sol ]
244  if not tor:
245  tor = BFieldCondition('ctorcur', channel = 3, resDictKey = 'TorCurrent')
246  tor.applySelection = False
247  self.conditions += [ tor ]
248  sol.setShowOutput()
249  tor.setShowOutput()
250 
251  def select(self, runlist):
252  for sel in self.conditions:
253  runlist = sel.select(runlist)
254  return runlist
255 
256 
257 class BPMSelector(Selector):
258  def __init__(self, name, events=None):
259  self.name = name
260  self.selpattern = []
261  super(BPMSelector,self).__init__(name)
262 
263  def __str__(self):
264  return "Retrieving Beam Position Monitor values from PVSS archive"
265  def passes(self,values,key):
266  return True
267  def setShowOutput(self):
268  pass
269  def select(self, runlist):
270  return runlist
271 
272  def runAfterQuery(self,runlist):
273  # do show selection here
274  from CoolRunQuery.AtlRunQueryPVSS import GetPVSS_BPMs
275  pvssdb = coolDbConn.GetPVSSDBConnection()
276  cursor = pvssdb.cursor()
277  cursor.arraysize = 1000
278  for r in runlist:
279  t = gmtime(r.sor/1.E9)
280  sor = "%02i-%02i-%4i %02i:%02i:%02i" % (t[2], t[1], t[0], t[3], t[4], t[5])
281  t = gmtime(r.eor/1.E9)
282  eor = "%02i-%02i-%4i %02i:%02i:%02i" % (t[2], t[1], t[0], t[3], t[4], t[5])
283 
284  # retrieve values
285  res = GetPVSS_BPMs( cursor, sor, eor )
286  r.addResult('BPM', res )
287 
288  Run.AddToShowOrder(DataKey('BPM'))
289 
290 
291 
292 class DatasetsSelector(Selector):
293  def __init__(self, name, events=None):
294  self.name = name
295  self.selpattern = []
296  self.showCAFLinks = False
297  super(DatasetsSelector,self).__init__(name)
298 
299  def __str__(self):
300  return "Retrieving datasets from Tier-0 DB"
301  def passes(self,values,key):
302  return True
303  def setShowOutput(self):
304  pass
305  def select(self, runlist):
306  return runlist
307  def addShowDatasetPattern(self, pattern = ''):
308  # format: '*NTUP*,*dESD*,... [caf]'
309  if pattern.lower() == 'caf':
310  self.showCAFLinks = True
311  elif pattern:
312  # first check if 'caf'
313  sp = pattern.split()
314  if len(sp)>1:
315  if 'caf' == sp[0].lower():
316  self.showCAFLinks = True
317  pattern = sp[1]
318  elif 'caf' == sp[1].lower():
319  self.showCAFLinks = True
320  pattern = sp[0]
321  # sanity check
322  if len(sp) != 2 or not self.showCAFLinks:
323  print ('ERROR: wrong format in "show dataset". Usage: "show dataset [pattern] [caf]"')
324  sys.exit(1)
325 
326  self.selpattern = pattern.split(',')
327 
328  def runAfterQuery(self,runlist):
329  useTier0DB = False # ATLAS_T0 responsible refusing to allow access to their DB
330  if useTier0DB:
331  # do show selection here
332  from CoolRunQuery.AtlRunQueryTier0 import GetTier0_allDatasets
333  runnrlist = [r.runNr for r in runlist]
334  tier0connection = coolDbConn.GetTier0DBConnection()
335  tier0retdico = GetTier0_allDatasets( tier0connection.cursor(), runnrlist, self.selpattern )
336 
337  for run in runlist: # go through old runlist and see
338  if run.runNr in tier0retdico:
339  run.addResult('Datasets', tier0retdico[run.runNr])
340  else:
341  run.addResult('Datasets', {})
342 
343  Run.AddToShowOrder(DataKey('Datasets'))
344  Run.showCAFLinks = self.showCAFLinks
345 
346 
347 
348 class LArcondSelector(RunLBBasedCondition):
349  def __init__(self, name, larcond=[]):
350  super(LArcondSelector,self).__init__(name=name,
351  dbfolderkey='COOLONL_LAR::/LAR/Configuration/RunLog',
352  channelKeys = [(0,'lar:runtype', 'runType'),
353  (0,'lar:nsamples', 'nbOfSamples'),
354  (0,'lar:format', 'format')])
355  # define arguments (after initialising bas class!)
356  self.larcond = {}
357  if larcond:
358  for c in larcond:
359  # format: 'nsamples 7' or 'runtype 1', etc
360  larcondargs = c.split()
361  if len(larcondargs) == 2:
362  key = 'lar:' + larcondargs[0].strip().lower()
363  # does it exist?
364  if key not in self.ResultKey():
365  print ('ERROR: unknown larcond variable "%s"' % key)
366  sys.exit(1)
367  self.larcond[key] = larcondargs[1].strip()
368  else:
369  print ('ERROR: unknown condition format for larcond: "%s" -> need two arguments separated by blank' % larcondargs)
370  sys.exit(1)
371 
372 
373  def __str__(self):
374  if self.applySelection:
375  return "SELOUT Checking if LAr condition matches %s" % self.larcond
376  else:
377  return "Retrieving LAr run conditions"
378 
379  def passes(self,values,key):
380  if key.lower().strip() in self.larcond:
381  if values.strip() == self.larcond[key.lower().strip()]:
382  return True
383  else:
384  return False
385  return True
386 
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.__init__
def __init__(self, name, events=None)
Definition: AtlRunQuerySelectorMisc.py:293
python.selector.AtlRunQuerySelectorMisc.BPMSelector
Definition: AtlRunQuerySelectorMisc.py:257
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
python.selector.AtlRunQuerySelectorMisc.FilenameSelector.filenametag
filenametag
Definition: AtlRunQuerySelectorMisc.py:15
python.selector.AtlRunQuerySelectorMisc.ReadyForPhysicsSelector
Definition: AtlRunQuerySelectorMisc.py:54
python.selector.AtlRunQuerySelectorMisc.LArcondSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:373
python.selector.AtlRunQuerySelectorMisc.ReadyForPhysicsSelector.readyforphysics
readyforphysics
Definition: AtlRunQuerySelectorMisc.py:56
python.selector.AtlRunQuerySelectorMisc.BPMSelector.name
name
Definition: AtlRunQuerySelectorMisc.py:259
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.setShowOutput
def setShowOutput(self)
Definition: AtlRunQuerySelectorMisc.py:303
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
python.selector.AtlRunQuerySelectorMisc.BFieldCondition.passes
def passes(self, values, key)
Definition: AtlRunQuerySelectorMisc.py:180
python.selector.AtlRunQuerySelectorMisc.BFieldCondition.__init__
def __init__(self, name, condition=None, channel=0, resDictKey='')
Definition: AtlRunQuerySelectorMisc.py:164
python.selector.AtlRunQuerySelectorMisc.BPMSelector.passes
def passes(self, values, key)
Definition: AtlRunQuerySelectorMisc.py:265
MuonGM::round
float round(const float toRound, const unsigned int decimals)
Definition: Mdt.cxx:27
python.selector.AtlRunQuerySelectorMisc.PartitionSelector.partition
partition
Definition: AtlRunQuerySelectorMisc.py:37
python.selector.AtlRunQuerySelectorMisc.FilenameSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:23
python.selector.AtlRunQuerySelectorMisc.DetectorSelector.bmany
bmany
Definition: AtlRunQuerySelectorMisc.py:97
python.selector.AtlRunQuerySelectorMisc.FilenameSelector.__init__
def __init__(self, name, projecttag=None)
Definition: AtlRunQuerySelectorMisc.py:14
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.showCAFLinks
showCAFLinks
Definition: AtlRunQuerySelectorMisc.py:296
python.selector.AtlRunQuerySelectorMisc.BFieldSelector.__init__
def __init__(self, name, bf=None)
Definition: AtlRunQuerySelectorMisc.py:198
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:299
python.selector.AtlRunQuerySelectorMisc.PartitionSelector.selDataMissing
selDataMissing
Definition: AtlRunQuerySelectorMisc.py:50
python.selector.AtlRunQuerySelectorMisc.DurationSelector
Definition: AtlRunQuerySelectorMisc.py:74
python.selector.AtlRunQuerySelectorMisc.PartitionSelector
Definition: AtlRunQuerySelectorMisc.py:35
python.selector.AtlRunQuerySelectorMisc.FilenameSelector
Definition: AtlRunQuerySelectorMisc.py:13
python.selector.AtlRunQuerySelectorMisc.LArcondSelector.larcond
larcond
Definition: AtlRunQuerySelectorMisc.py:356
python.selector.AtlRunQuerySelectorMisc.BPMSelector.setShowOutput
def setShowOutput(self)
Definition: AtlRunQuerySelectorMisc.py:267
python.selector.AtlRunQuerySelectorMisc.DetectorSelector.passes
def passes(self, values, key)
Definition: AtlRunQuerySelectorMisc.py:140
python.selector.AtlRunQuerySelectorMisc.ReadyForPhysicsSelector.selDataMissing
selDataMissing
Definition: AtlRunQuerySelectorMisc.py:69
python.selector.AtlRunQuerySelectorMisc.LArcondSelector.passes
def passes(self, values, key)
Definition: AtlRunQuerySelectorMisc.py:379
python.selector.AtlRunQuerySelectorMisc.DurationSelector.select
def select(self, runlist)
Definition: AtlRunQuerySelectorMisc.py:81
python.selector.AtlRunQuerySelectorMisc.BFieldSelector.setShowOutput
def setShowOutput(self)
Definition: AtlRunQuerySelectorMisc.py:229
python.selector.AtlRunQuerySelectorMisc.BFieldSelector
Definition: AtlRunQuerySelectorMisc.py:197
python.selector.AtlRunQuerySelectorMisc.DetectorSelector.__init__
def __init__(self, name, dmin=None, dmout=None)
Definition: AtlRunQuerySelectorMisc.py:96
python.AtlRunQueryPVSS.GetPVSS_BPMs
def GetPVSS_BPMs(cursor, iovmin, iovmax)
Definition: AtlRunQueryPVSS.py:13
python.selector.AtlRunQuerySelectorMisc.DurationSelector.__init__
def __init__(self, name, duration)
Definition: AtlRunQuerySelectorMisc.py:75
python.selector.AtlRunQuerySelectorMisc.PartitionSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:42
python.selector.AtlRunQuerySelectorMisc.BFieldCondition.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:170
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.selpattern
selpattern
Definition: AtlRunQuerySelectorMisc.py:295
python.selector.AtlRunQuerySelectorMisc.DetectorSelector.selDataMissing
selDataMissing
Definition: AtlRunQuerySelectorMisc.py:144
python.selector.AtlRunQuerySelectorMisc.BPMSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:263
python.AtlRunQueryTier0.GetTier0_allDatasets
def GetTier0_allDatasets(cursor, runlist, dsnamepattern=[])
Definition: AtlRunQueryTier0.py:19
python.selector.AtlRunQuerySelectorMisc.BFieldCondition
Definition: AtlRunQuerySelectorMisc.py:163
python.selector.AtlRunQuerySelectorMisc.BFieldCondition.selDataMissing
selDataMissing
Definition: AtlRunQuerySelectorMisc.py:184
python.selector.AtlRunQuerySelectorMisc.DetectorSelector
Definition: AtlRunQuerySelectorMisc.py:95
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.passes
def passes(self, values, key)
Definition: AtlRunQuerySelectorMisc.py:301
python.selector.AtlRunQuerySelectorMisc.BFieldSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:223
python.selector.AtlRunQuerySelectorMisc.DurationSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:79
python.selector.AtlRunQuerySelectorMisc.LArcondSelector.__init__
def __init__(self, name, larcond=[])
Definition: AtlRunQuerySelectorMisc.py:349
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.addShowDatasetPattern
def addShowDatasetPattern(self, pattern='')
Definition: AtlRunQuerySelectorMisc.py:307
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector
Definition: AtlRunQuerySelectorMisc.py:292
python.selector.AtlRunQuerySelectorMisc.ReadyForPhysicsSelector.passes
def passes(self, value, key)
Definition: AtlRunQuerySelectorMisc.py:67
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10
python.selector.AtlRunQuerySelectorMisc.BFieldCondition.prettyValue
def prettyValue(self, value, key)
Definition: AtlRunQuerySelectorMisc.py:191
python.selector.AtlRunQuerySelectorMisc.PartitionSelector.passes
def passes(self, value, key)
Definition: AtlRunQuerySelectorMisc.py:48
python.selector.AtlRunQuerySelectorMisc.DurationSelector.duration
duration
Definition: AtlRunQuerySelectorMisc.py:77
python.utils.AtlRunQueryUtils.GetRanges
def GetRanges(rangestr, intRepFnc=stringToIntOrTime, maxval=1<< 30)
Definition: AtlRunQueryUtils.py:328
python.selector.AtlRunQuerySelectorMisc.DetectorSelector.bp
bp
Definition: AtlRunQuerySelectorMisc.py:97
python.selector.AtlRunQuerySelectorMisc.PartitionSelector.__init__
def __init__(self, name, partition=None)
Definition: AtlRunQuerySelectorMisc.py:36
python.selector.AtlRunQuerySelectorMisc.ReadyForPhysicsSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:61
python.selector.AtlRunQuerySelectorMisc.BPMSelector.__init__
def __init__(self, name, events=None)
Definition: AtlRunQuerySelectorMisc.py:258
python.selector.AtlRunQuerySelectorMisc.DurationSelector.geReq
geReq
Definition: AtlRunQuerySelectorMisc.py:76
python.selector.AtlRunQuerySelectorMisc.FilenameSelector.passes
def passes(self, value, key)
Definition: AtlRunQuerySelectorMisc.py:29
python.selector.AtlRunQuerySelectorMisc.BFieldSelector.conditions
conditions
Definition: AtlRunQuerySelectorMisc.py:200
python.selector.AtlRunQuerySelectorMisc.BFieldSelector.select
def select(self, runlist)
Definition: AtlRunQuerySelectorMisc.py:251
python.selector.AtlRunQuerySelectorMisc.BPMSelector.select
def select(self, runlist)
Definition: AtlRunQuerySelectorMisc.py:269
python.selector.AtlRunQuerySelectorMisc.DetectorSelector.__str__
def __str__(self)
Definition: AtlRunQuerySelectorMisc.py:129
python.selector.AtlRunQuerySelectorMisc.BFieldSelector.addShowSelector
def addShowSelector(self)
Definition: AtlRunQuerySelectorMisc.py:233
python.selector.AtlRunQuerySelectorMisc.DetectorSelector.prettyValue
def prettyValue(self, value, key)
Definition: AtlRunQuerySelectorMisc.py:153
python.selector.AtlRunQuerySelectorMisc.BFieldCondition.cutRange
cutRange
Definition: AtlRunQuerySelectorMisc.py:169
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.select
def select(self, runlist)
Definition: AtlRunQuerySelectorMisc.py:305
python.selector.AtlRunQuerySelectorMisc.DetectorSelector.bm
bm
Definition: AtlRunQuerySelectorMisc.py:97
python.selector.AtlRunQuerySelectorMisc.BPMSelector.runAfterQuery
def runAfterQuery(self, runlist)
Definition: AtlRunQuerySelectorMisc.py:272
python.selector.AtlRunQuerySelectorMisc.BPMSelector.selpattern
selpattern
Definition: AtlRunQuerySelectorMisc.py:260
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.name
name
Definition: AtlRunQuerySelectorMisc.py:294
readCCLHist.float
float
Definition: readCCLHist.py:83
python.selector.AtlRunQuerySelectorMisc.FilenameSelector.fntpatterns
fntpatterns
Definition: AtlRunQuerySelectorMisc.py:16
python.selector.AtlRunQuerySelectorMisc.ReadyForPhysicsSelector.__init__
def __init__(self, name, readyforphysics=None)
Definition: AtlRunQuerySelectorMisc.py:55
python.selector.AtlRunQuerySelectorMisc.LArcondSelector
Definition: AtlRunQuerySelectorMisc.py:348
python.selector.AtlRunQuerySelectorMisc.DatasetsSelector.runAfterQuery
def runAfterQuery(self, runlist)
Definition: AtlRunQuerySelectorMisc.py:328