ATLAS Offline Software
Classes | Functions | Variables
beamspotnt Namespace Reference

Classes

class  Plots
 

Functions

def setCuts (nt)
 
def getNt ()
 
def cleanUpLowStat (allBSResultsInNt, averagenVtx, lbSize)
 
def fillInMissingLbs (allBSResultsInNt, lbSize)
 

Variables

string __author__ = 'Juerg Beringer'
 
string __version__ = 'beamspotnt.py atlas/athena'
 
string __usage__
 
string periodDef = '/afs/cern.ch/user/a/atlidbs/nt/DataPeriods'
 
list qargv = [ ]
 
string qcmd = ' '.join(qargv)
 
 parser = OptionParser(usage=__usage__, version=__version__)
 
 dest
 
 default
 
 help
 
 action
 
 False
 
 type
 
 None
 
 options
 
 args
 
 cmd = args[0]
 
 varDefs
 
bool cmdOk = False
 
string timeLabel = 'Time (%s)' % options.timezone
 
 datefmt
 
 atlasx
 
 atlasy
 
 atlasdx
 
 ntClass = locals()[options.type]
 
def nt = getNt()
 
string tableTemplate
 
list varList = ['status','posX','posY','posZ','sigmaX','sigmaY','sigmaZ','k']
 
list rows = []
 
list cols = []
 
dictionary runInfo = {}
 
 r = b.run
 
 srcNtClass = locals()[options.srctype]
 
 srcNt = srcNtClass(args[1],database=options.database,folder=options.dbfolder,fullCorrelations=options.fullCorrelations)
 
 dstNt = ntClass(options.ntname,True,fullCorrelations=options.fullCorrelations,addScanVars=options.addScanVars)
 
int totalEntries = 0
 
int totalVtxs = 0
 
int lbSize = 0
 
list allBSResultsInNt = []
 
int averagenVtx = totalVtxs/totalEntries
 
 plots = Plots(nt)
 
 whatList
 
 saveAsList
 
 allCanvasSize
 
 allCanvasDivs
 
 calc = BeamSpotAverage(varList,weightedAverage=not options.simpleaverage)
 
int minrun = 1e10
 
int maxrun = 0
 
 ave = calc.ave
 
 err = calc.err
 
 rms = calc.rms
 
list varRanges
 
int iTable = 1
 
string latexheader = 'Period '
 
string latexrow = '%s' % options.period.replace('_','\_')
 
list parName = calc.varList[i]
 
 useAlternate
 
string sqliteFile = options.cooltag+'.db'
 
 folderHandle = openBeamSpotDbFile(sqliteFile,True)
 
 tag
 
 status
 
 posX
 
 posY
 
 posZ
 
 sigmaX
 
 sigmaY
 
 sigmaZ
 
 tiltX
 
 tiltY
 
 sigmaXY
 
 posXErr
 
 posYErr
 
 posZErr
 
 sigmaXErr
 
 sigmaYErr
 
 sigmaZErr
 
 tiltXErr
 
 tiltYErr
 
 sigmaXYErr
 
 runMin
 
 runMax
 
 runEndInt = b.runEnd
 
 lbMin
 
 lbMax
 
 var = args[1]
 
 singleCanvasSize
 
string plotType = 'perbcid'
 
 msize
 
list labels = []
 
 datasetinfo = options.ntname.replace("-DB_BEAMSPOT","").split('.')
 
int time0 = 1262304000
 
 ascii = open(args[1],'w')
 
string xtype = 'time'
 
 graphs = plots.genPlot(var,'plotscan')
 
list scans = [(int(s.split('-')[0]), int(s.split('-')[1])) for s in options.scans.split(',')]
 
 overlayScans
 

Function Documentation

◆ cleanUpLowStat()

def beamspotnt.cleanUpLowStat (   allBSResultsInNt,
  averagenVtx,
  lbSize 
)

Definition at line 280 of file bin/beamspotnt.py.

280 def cleanUpLowStat( allBSResultsInNt, averagenVtx, lbSize ):
281  i=0
282  while i < len( allBSResultsInNt ):
283  b = allBSResultsInNt[i]
284  if b.status < 70 and b.sigmaZErr == 0:
285  print ("Will change Z error for lb's " + str(b.lbStart) +" to " + str(b.lbEnd) + " which has " + str(b.nValid) + " verticies")
286  b.sigmaZErr = b.sigmaZ * 0.5
287  i += 1
288 
289  i=0
290  while i < len( allBSResultsInNt ):
291  b = allBSResultsInNt[i]
292 
293  if b.status < 70 and b.nValid < 2000 and b.nValid < averagenVtx:
294  print ("Will take an average for lb's " + str(b.lbStart) +" to " + str(b.lbEnd) + " which has " + str(b.nValid) + " verticies" )
295  lastGoodEntry = b
296  nextGoodEntry = b
297  iNeg = i-1;
298  # Find previous good entry
299  while iNeg >= 0:
300  if allBSResultsInNt[iNeg].status == 59 and allBSResultsInNt[iNeg].nValid > 2000 :
301  lastGoodEntry = allBSResultsInNt[iNeg]
302  print (" --- Starting with lb : " + str(lastGoodEntry.lbStart) +" to " + str(lastGoodEntry.lbEnd))
303  break
304  iNeg -= 1
305 
306  # Find the next good entry
307  iPos = i+1;
308  while iPos < len(allBSResultsInNt):
309  if allBSResultsInNt[iPos].status == 59 and allBSResultsInNt[iPos].nValid > 2000:
310  nextGoodEntry = allBSResultsInNt[iPos]
311  print (" --- Ending with lb : " + str(nextGoodEntry.lbStart) +" to " + str(nextGoodEntry.lbEnd))
312  break
313  iPos += 1
314 
315  #if all entries are useless then we are in trouble dont do anything
316  if lastGoodEntry == b and nextGoodEntry == b :
317  print ("Failed to do average - no good entries were found")
318  i+=1
319  continue
320 
321  #check the entries are reasonablly close to each other
322  if( ( nextGoodEntry == b or abs(nextGoodEntry.lbStart - b.lbEnd) > abs(lbSize) ) and (lastGoodEntry == b or abs(b.lbStart - lastGoodEntry.lbEnd) > abs(lbSize) ) ):
323  print ("Failed to do average - entries were too far away")
324  i+=1
325  continue
326 
327  #Calculate the average beamspot position for the following parameters
328  varList = ['posX','posY','posZ','sigmaX','sigmaY','sigmaZ','tiltX','tiltY','rhoXY']
329  if options.cooltag:
330  varList.append('sigmaXY')
331  calc = BeamSpotAverage(varList ,weightedAverage=True)
332  #Add current entry if it is reliable
333  if( b.status == 59 and b.posXErr != 0 and not math.isnan(b.posX) and not math.isnan(b.posZ) and not math.isnan(b.sigmaZ) ):
334  calc.add(b)
335  #Add previous entry if it is not too far away in time
336  if lastGoodEntry != b and abs(b.lbStart - lastGoodEntry.lbEnd) <= abs(lbSize) :
337  calc.add(lastGoodEntry)
338  #Add next entry if it is not too far away in time
339  if nextGoodEntry != b and abs(nextGoodEntry.lbStart - b.lbEnd) <= abs(lbSize) :
340  calc.add(nextGoodEntry)
341  calc.average()
342 
343  ave = calc.ave
344  err = calc.err
345  b.status = 666 #b.status << 4
346  bcopy = copy.deepcopy(b)
347 
348  for var in varList:
349  setattr(bcopy, var, ave[calc.varList.index(var)])
350  setattr(bcopy, var+"Err", err[calc.varList.index(var)])
351 
352  bcopy.status = 59
353  i += 1
354  allBSResultsInNt.insert(i, bcopy)
355  i += 1
356 
357 
358 
359 

◆ fillInMissingLbs()

def beamspotnt.fillInMissingLbs (   allBSResultsInNt,
  lbSize 
)

Definition at line 360 of file bin/beamspotnt.py.

360 def fillInMissingLbs(allBSResultsInNt, lbSize):
361  i=0
362  lastValidEntry = -1
363  nextValidEntry = -1
364  while i < len( allBSResultsInNt ):
365  if allBSResultsInNt[i].status != 59:
366  i += 1
367  continue
368 
369  nextValidEntry = i
370 
371  if(lastValidEntry >= 0):
372  if allBSResultsInNt[nextValidEntry].lbStart != allBSResultsInNt[lastValidEntry].lbEnd + 1:
373  print ("Missing Lumi block from {:>5d} to {:>5d}".format( allBSResultsInNt[lastValidEntry].lbEnd + 1 , allBSResultsInNt[nextValidEntry].lbStart))
374 
375 
376  if allBSResultsInNt[nextValidEntry].lbStart - allBSResultsInNt[lastValidEntry].lbEnd + 1 > lbSize:
377  print ("--Lumi block gap too large wont fill in the gap" )
378  elif (allBSResultsInNt[nextValidEntry].lbStart-1) - (allBSResultsInNt[lastValidEntry].lbEnd+1) < 0 :
379  print ("Missing Lumi block is invalid from {:>5d} to {:>5d}".format( allBSResultsInNt[lastValidEntry].lbEnd+1, allBSResultsInNt[nextValidEntry].lbStart -1))
380  else:
381  varList = ['posX','posY','posZ','sigmaX','sigmaY','sigmaZ','tiltX','tiltY','rhoXY']
382  if options.cooltag:
383  varList.append('sigmaXY')
384  calc = BeamSpotAverage(varList ,weightedAverage=True)
385  calc.add(allBSResultsInNt[nextValidEntry])
386  calc.add(allBSResultsInNt[lastValidEntry])
387  calc.average()
388 
389  ave = calc.ave
390  err = calc.err
391 
392  bcopy = copy.deepcopy(b)
393 
394  for var in varList:
395  setattr(bcopy, var, ave[calc.varList.index(var)])
396  setattr(bcopy, var+"Err", err[calc.varList.index(var)])
397 
398  bcopy.status = 59
399  bcopy.timeStart = 0
400  bcopy.timeEnd = 0
401  bcopy.nEvents = 1
402  bcopy.nValid = 1
403  bcopy.nVtxAll = 1
404  bcopy.nVtxPrim = 1
405  bcopy.lbStart = allBSResultsInNt[lastValidEntry].lbEnd + 1
406  bcopy.lbEnd = allBSResultsInNt[nextValidEntry].lbStart-1
407  allBSResultsInNt.insert(lastValidEntry+1, bcopy)
408  i += 1
409  nextValidEntry += 1
410 
411  lastValidEntry = nextValidEntry
412  i += 1
413 
414 
415 

◆ getNt()

def beamspotnt.getNt ( )

Definition at line 266 of file bin/beamspotnt.py.

266 def getNt():
267  try:
268  if options.fullCorrelations:
269  nt = ntClass(options.ntname,fullCorrelations=True)
270  else:
271  nt = ntClass(options.ntname)
272  except Exception as e:
273  sys.exit('ERROR: '+str(e))
274 
275  setCuts(nt)
276  print (nt.summary())
277  print (nt.cutSummary())
278  return nt
279 

◆ setCuts()

def beamspotnt.setCuts (   nt)

Definition at line 213 of file bin/beamspotnt.py.

213 def setCuts(nt):
214  if options.run!=None:
215  nt.runMin = options.run
216  nt.runMax = options.run
217  if options.runMin!=None:
218  nt.runMin = options.runMin
219  if options.runMax!=None:
220  nt.runMax = options.runMax
221  if options.runExclude!=None:
222  nt.runListExclude = [int(r) for r in options.runExclude.split(',')]
223  if options.fill!=None:
224  nt.fillMin = options.fill
225  nt.fillMax = options.fill
226  if options.fillMin!=None:
227  nt.fillMin = options.fillMin
228  if options.fillMax!=None:
229  nt.fillMax = options.fillMax
230  if options.bcid!=None:
231  nt.bcidMin = options.bcid
232  nt.bcidMax = options.bcid
233  if options.bcidMin!=None:
234  nt.bcidMin = options.bcidMin
235  if options.bcidMax!=None:
236  nt.bcidMax = options.bcidMax
237  if options.lbMin!=None:
238  nt.lbMin = options.lbMin
239  if options.lbMax!=None:
240  nt.lbMax = options.lbMax
241  if options.timeMin!=None:
242  nt.timeMin = time.mktime(time.strptime(options.timeMin,'%b %d %H:%M:%S %Y'))
243  if options.timeMax!=None:
244  nt.timeMax = time.mktime(time.strptime(options.timeMax,'%b %d %H:%M:%S %Y'))
245  if options.status:
246  nt.statusList = [int(x) for x in options.status.split(',')]
247  if options.period:
248  for p in options.period.split(','):
249  project,period = p.split('.')
250  location = os.path.normpath(options.periodDef + '/' + project)
251  try:
252  fileName = glob.glob('%s/%s.runs.list' % (location,period))[0]
253  nt.runList.extend([int(r) for r in open(fileName).read().split()])
254  except:
255  sys.exit('ERROR: Definition file for period %s not found in directory %s' % (options.period, location))
256 
257  if not nt.runList:
258  sys.exit('ERROR: no runs found for requested periods')
259 
260  if options.grl:
261  nt.grl = options.grl
262 
263  if options.acqFlag:
264  nt.acqFlag = 1.0
265 

Variable Documentation

◆ __author__

string beamspotnt.__author__ = 'Juerg Beringer'
private

Definition at line 10 of file bin/beamspotnt.py.

◆ __usage__

string beamspotnt.__usage__
private
Initial value:
1 = '''%prog [options] command [args ...]
2 
3 Commands are:
4 
5 dump Dump contents of a beam spot ntuple
6 maketable Make LaTeX table of selected entries
7 inspect Inspect ntuple and provide summary of contents
8 merge SRCNT Merge source beam spot ntuple into master ntuple
9  (use --srcnt to specify type if not BeamSpotFinderNt)
10 ave Calculate average of beam spot parameters
11 hist var Histogram of var
12 histvspileup var Profile histogram of var vs pileup
13 pull var:value Pull of var with respect to true value
14 plot var History of var
15 summary Summary history plots
16 ascii filename Write ASCII file with data in Massi\'s format
17 
18 Examples:
19 
20 beamspotnt -t BeamSpotCOOL -f IndetBeampos-ES1-UPD2 --ru 165815 --rl 165815 dump
21 '''

Definition at line 12 of file bin/beamspotnt.py.

◆ __version__

string beamspotnt.__version__ = 'beamspotnt.py atlas/athena'
private

Definition at line 11 of file bin/beamspotnt.py.

◆ action

beamspotnt.action

Definition at line 56 of file bin/beamspotnt.py.

◆ allBSResultsInNt

list beamspotnt.allBSResultsInNt = []

Definition at line 1185 of file bin/beamspotnt.py.

◆ allCanvasDivs

beamspotnt.allCanvasDivs

Definition at line 1244 of file bin/beamspotnt.py.

◆ allCanvasSize

beamspotnt.allCanvasSize

Definition at line 1243 of file bin/beamspotnt.py.

◆ args

beamspotnt.args

Definition at line 152 of file bin/beamspotnt.py.

◆ ascii

beamspotnt.ascii = open(args[1],'w')

Definition at line 1476 of file bin/beamspotnt.py.

◆ atlasdx

beamspotnt.atlasdx

Definition at line 209 of file bin/beamspotnt.py.

◆ atlasx

beamspotnt.atlasx

Definition at line 202 of file bin/beamspotnt.py.

◆ atlasy

beamspotnt.atlasy

Definition at line 207 of file bin/beamspotnt.py.

◆ ave

beamspotnt.ave = calc.ave

Definition at line 1264 of file bin/beamspotnt.py.

◆ averagenVtx

int beamspotnt.averagenVtx = totalVtxs/totalEntries

Definition at line 1195 of file bin/beamspotnt.py.

◆ calc

beamspotnt.calc = BeamSpotAverage(varList,weightedAverage=not options.simpleaverage)

Definition at line 1252 of file bin/beamspotnt.py.

◆ cmd

beamspotnt.cmd = args[0]

Definition at line 155 of file bin/beamspotnt.py.

◆ cmdOk

bool beamspotnt.cmdOk = False

Definition at line 180 of file bin/beamspotnt.py.

◆ cols

list beamspotnt.cols = []

Definition at line 1114 of file bin/beamspotnt.py.

◆ datasetinfo

beamspotnt.datasetinfo = options.ntname.replace("-DB_BEAMSPOT","").split('.')

Definition at line 1451 of file bin/beamspotnt.py.

◆ datefmt

beamspotnt.datefmt

Definition at line 195 of file bin/beamspotnt.py.

◆ default

beamspotnt.default

Definition at line 53 of file bin/beamspotnt.py.

◆ dest

beamspotnt.dest

Definition at line 53 of file bin/beamspotnt.py.

◆ dstNt

beamspotnt.dstNt = ntClass(options.ntname,True,fullCorrelations=options.fullCorrelations,addScanVars=options.addScanVars)

Definition at line 1179 of file bin/beamspotnt.py.

◆ err

beamspotnt.err = calc.err

Definition at line 1265 of file bin/beamspotnt.py.

◆ False

beamspotnt.False

Definition at line 56 of file bin/beamspotnt.py.

◆ folderHandle

beamspotnt.folderHandle = openBeamSpotDbFile(sqliteFile,True)

Definition at line 1312 of file bin/beamspotnt.py.

◆ graphs

beamspotnt.graphs = plots.genPlot(var,'plotscan')

Definition at line 1538 of file bin/beamspotnt.py.

◆ help

beamspotnt.help

Definition at line 53 of file bin/beamspotnt.py.

◆ iTable

int beamspotnt.iTable = 1

Definition at line 1282 of file bin/beamspotnt.py.

◆ labels

list beamspotnt.labels = []

Definition at line 1447 of file bin/beamspotnt.py.

◆ latexheader

string beamspotnt.latexheader = 'Period '

Definition at line 1283 of file bin/beamspotnt.py.

◆ latexrow

string beamspotnt.latexrow = '%s' % options.period.replace('_','\_')

Definition at line 1284 of file bin/beamspotnt.py.

◆ lbMax

beamspotnt.lbMax

Definition at line 1377 of file bin/beamspotnt.py.

◆ lbMin

beamspotnt.lbMin

Definition at line 1376 of file bin/beamspotnt.py.

◆ lbSize

int beamspotnt.lbSize = 0

Definition at line 1184 of file bin/beamspotnt.py.

◆ maxrun

int beamspotnt.maxrun = 0

Definition at line 1256 of file bin/beamspotnt.py.

◆ minrun

int beamspotnt.minrun = 1e10

Definition at line 1255 of file bin/beamspotnt.py.

◆ msize

beamspotnt.msize

Definition at line 1442 of file bin/beamspotnt.py.

◆ None

beamspotnt.None

Definition at line 59 of file bin/beamspotnt.py.

◆ nt

def beamspotnt.nt = getNt()

Definition at line 1063 of file bin/beamspotnt.py.

◆ ntClass

beamspotnt.ntClass = locals()[options.type]

Definition at line 211 of file bin/beamspotnt.py.

◆ options

beamspotnt.options

Definition at line 152 of file bin/beamspotnt.py.

◆ overlayScans

beamspotnt.overlayScans

Definition at line 1549 of file bin/beamspotnt.py.

◆ parName

list beamspotnt.parName = calc.varList[i]

Definition at line 1287 of file bin/beamspotnt.py.

◆ parser

beamspotnt.parser = OptionParser(usage=__usage__, version=__version__)

Definition at line 52 of file bin/beamspotnt.py.

◆ periodDef

string beamspotnt.periodDef = '/afs/cern.ch/user/a/atlidbs/nt/DataPeriods'

Definition at line 35 of file bin/beamspotnt.py.

◆ plots

beamspotnt.plots = Plots(nt)

Definition at line 1240 of file bin/beamspotnt.py.

◆ plotType

string beamspotnt.plotType = 'perbcid'

Definition at line 1423 of file bin/beamspotnt.py.

◆ posX

beamspotnt.posX

Definition at line 1318 of file bin/beamspotnt.py.

◆ posXErr

beamspotnt.posXErr

Definition at line 1327 of file bin/beamspotnt.py.

◆ posY

beamspotnt.posY

Definition at line 1319 of file bin/beamspotnt.py.

◆ posYErr

beamspotnt.posYErr

Definition at line 1328 of file bin/beamspotnt.py.

◆ posZ

beamspotnt.posZ

Definition at line 1320 of file bin/beamspotnt.py.

◆ posZErr

beamspotnt.posZErr

Definition at line 1329 of file bin/beamspotnt.py.

◆ qargv

list beamspotnt.qargv = [ ]

Definition at line 40 of file bin/beamspotnt.py.

◆ qcmd

string beamspotnt.qcmd = ' '.join(qargv)

Definition at line 49 of file bin/beamspotnt.py.

◆ r

beamspotnt.r = b.run

Definition at line 1138 of file bin/beamspotnt.py.

◆ rms

beamspotnt.rms = calc.rms

Definition at line 1266 of file bin/beamspotnt.py.

◆ rows

list beamspotnt.rows = []

Definition at line 1112 of file bin/beamspotnt.py.

◆ runEndInt

beamspotnt.runEndInt = b.runEnd

Definition at line 1368 of file bin/beamspotnt.py.

◆ runInfo

dictionary beamspotnt.runInfo = {}

Definition at line 1136 of file bin/beamspotnt.py.

◆ runMax

beamspotnt.runMax

Definition at line 1340 of file bin/beamspotnt.py.

◆ runMin

beamspotnt.runMin

Definition at line 1340 of file bin/beamspotnt.py.

◆ saveAsList

beamspotnt.saveAsList

Definition at line 1242 of file bin/beamspotnt.py.

◆ scans

list beamspotnt.scans = [(int(s.split('-')[0]), int(s.split('-')[1])) for s in options.scans.split(',')]

Definition at line 1545 of file bin/beamspotnt.py.

◆ sigmaX

beamspotnt.sigmaX

Definition at line 1321 of file bin/beamspotnt.py.

◆ sigmaXErr

beamspotnt.sigmaXErr

Definition at line 1330 of file bin/beamspotnt.py.

◆ sigmaXY

beamspotnt.sigmaXY

Definition at line 1326 of file bin/beamspotnt.py.

◆ sigmaXYErr

beamspotnt.sigmaXYErr

Definition at line 1335 of file bin/beamspotnt.py.

◆ sigmaY

beamspotnt.sigmaY

Definition at line 1322 of file bin/beamspotnt.py.

◆ sigmaYErr

beamspotnt.sigmaYErr

Definition at line 1331 of file bin/beamspotnt.py.

◆ sigmaZ

beamspotnt.sigmaZ

Definition at line 1323 of file bin/beamspotnt.py.

◆ sigmaZErr

beamspotnt.sigmaZErr

Definition at line 1332 of file bin/beamspotnt.py.

◆ singleCanvasSize

beamspotnt.singleCanvasSize

Definition at line 1399 of file bin/beamspotnt.py.

◆ sqliteFile

string beamspotnt.sqliteFile = options.cooltag+'.db'

Definition at line 1311 of file bin/beamspotnt.py.

◆ srcNt

beamspotnt.srcNt = srcNtClass(args[1],database=options.database,folder=options.dbfolder,fullCorrelations=options.fullCorrelations)

Definition at line 1172 of file bin/beamspotnt.py.

◆ srcNtClass

beamspotnt.srcNtClass = locals()[options.srctype]

Definition at line 1169 of file bin/beamspotnt.py.

◆ status

beamspotnt.status

Definition at line 1317 of file bin/beamspotnt.py.

◆ tableTemplate

string beamspotnt.tableTemplate

Definition at line 1073 of file bin/beamspotnt.py.

◆ tag

beamspotnt.tag

Definition at line 1316 of file bin/beamspotnt.py.

◆ tiltX

beamspotnt.tiltX

Definition at line 1324 of file bin/beamspotnt.py.

◆ tiltXErr

beamspotnt.tiltXErr

Definition at line 1333 of file bin/beamspotnt.py.

◆ tiltY

beamspotnt.tiltY

Definition at line 1325 of file bin/beamspotnt.py.

◆ tiltYErr

beamspotnt.tiltYErr

Definition at line 1334 of file bin/beamspotnt.py.

◆ time0

int beamspotnt.time0 = 1262304000

Definition at line 1475 of file bin/beamspotnt.py.

◆ timeLabel

string beamspotnt.timeLabel = 'Time (%s)' % options.timezone

Definition at line 187 of file bin/beamspotnt.py.

◆ totalEntries

int beamspotnt.totalEntries = 0

Definition at line 1182 of file bin/beamspotnt.py.

◆ totalVtxs

int beamspotnt.totalVtxs = 0

Definition at line 1183 of file bin/beamspotnt.py.

◆ type

beamspotnt.type

Definition at line 59 of file bin/beamspotnt.py.

◆ useAlternate

beamspotnt.useAlternate

Definition at line 1293 of file bin/beamspotnt.py.

◆ var

beamspotnt.var = args[1]

Definition at line 1394 of file bin/beamspotnt.py.

◆ varDefs

beamspotnt.varDefs

Definition at line 171 of file bin/beamspotnt.py.

◆ varList

list beamspotnt.varList = ['status','posX','posY','posZ','sigmaX','sigmaY','sigmaZ','k']

Definition at line 1108 of file bin/beamspotnt.py.

◆ varRanges

list beamspotnt.varRanges
Initial value:
1 = [ range(options.splittable),
2  range(options.splittable,len(calc.varList)) ]

Definition at line 1273 of file bin/beamspotnt.py.

◆ whatList

beamspotnt.whatList

Definition at line 1241 of file bin/beamspotnt.py.

◆ xtype

string beamspotnt.xtype = 'time'

Definition at line 1509 of file bin/beamspotnt.py.

read
IovVectorMap_t read(const Folder &theFolder, const SelectionCriterion &choice, const unsigned int limit=10)
Definition: openCoraCool.cxx:569
beamspotnt.ntClass
ntClass
Definition: bin/beamspotnt.py:211
vtune_athena.format
format
Definition: vtune_athena.py:14
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
beamspotnt.fillInMissingLbs
def fillInMissingLbs(allBSResultsInNt, lbSize)
Definition: bin/beamspotnt.py:360
beamspotnt.cleanUpLowStat
def cleanUpLowStat(allBSResultsInNt, averagenVtx, lbSize)
Definition: bin/beamspotnt.py:280
beamspotnt.getNt
def getNt()
Definition: bin/beamspotnt.py:266
Trk::open
@ open
Definition: BinningType.h:40
if
if(febId1==febId2)
Definition: LArRodBlockPhysicsV0.cxx:567
str
Definition: BTagTrackIpAccessor.cxx:11
beamspotnt.setCuts
def setCuts(nt)
Definition: bin/beamspotnt.py:213
Trk::split
@ split
Definition: LayerMaterialProperties.h:38