ATLAS Offline Software
|
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 | |
def beamspotnt.cleanUpLowStat | ( | allBSResultsInNt, | |
averagenVtx, | |||
lbSize | |||
) |
Definition at line 280 of file bin/beamspotnt.py.
def beamspotnt.fillInMissingLbs | ( | allBSResultsInNt, | |
lbSize | |||
) |
Definition at line 360 of file bin/beamspotnt.py.
def beamspotnt.getNt | ( | ) |
Definition at line 266 of file bin/beamspotnt.py.
def beamspotnt.setCuts | ( | nt | ) |
Definition at line 213 of file bin/beamspotnt.py.
|
private |
Definition at line 10 of file bin/beamspotnt.py.
|
private |
Definition at line 12 of file bin/beamspotnt.py.
|
private |
Definition at line 11 of file bin/beamspotnt.py.
beamspotnt.action |
Definition at line 56 of file bin/beamspotnt.py.
list beamspotnt.allBSResultsInNt = [] |
Definition at line 1185 of file bin/beamspotnt.py.
beamspotnt.allCanvasDivs |
Definition at line 1244 of file bin/beamspotnt.py.
beamspotnt.allCanvasSize |
Definition at line 1243 of file bin/beamspotnt.py.
beamspotnt.args |
Definition at line 152 of file bin/beamspotnt.py.
beamspotnt.ascii = open(args[1],'w') |
Definition at line 1476 of file bin/beamspotnt.py.
beamspotnt.atlasdx |
Definition at line 209 of file bin/beamspotnt.py.
beamspotnt.atlasx |
Definition at line 202 of file bin/beamspotnt.py.
beamspotnt.atlasy |
Definition at line 207 of file bin/beamspotnt.py.
beamspotnt.ave = calc.ave |
Definition at line 1264 of file bin/beamspotnt.py.
int beamspotnt.averagenVtx = totalVtxs/totalEntries |
Definition at line 1195 of file bin/beamspotnt.py.
beamspotnt.calc = BeamSpotAverage(varList,weightedAverage=not options.simpleaverage) |
Definition at line 1252 of file bin/beamspotnt.py.
beamspotnt.cmd = args[0] |
Definition at line 155 of file bin/beamspotnt.py.
bool beamspotnt.cmdOk = False |
Definition at line 180 of file bin/beamspotnt.py.
list beamspotnt.cols = [] |
Definition at line 1114 of file bin/beamspotnt.py.
beamspotnt.datasetinfo = options.ntname.replace("-DB_BEAMSPOT","").split('.') |
Definition at line 1451 of file bin/beamspotnt.py.
beamspotnt.datefmt |
Definition at line 195 of file bin/beamspotnt.py.
beamspotnt.default |
Definition at line 53 of file bin/beamspotnt.py.
beamspotnt.dest |
Definition at line 53 of file bin/beamspotnt.py.
beamspotnt.dstNt = ntClass(options.ntname,True,fullCorrelations=options.fullCorrelations,addScanVars=options.addScanVars) |
Definition at line 1179 of file bin/beamspotnt.py.
beamspotnt.err = calc.err |
Definition at line 1265 of file bin/beamspotnt.py.
beamspotnt.False |
Definition at line 56 of file bin/beamspotnt.py.
beamspotnt.folderHandle = openBeamSpotDbFile(sqliteFile,True) |
Definition at line 1312 of file bin/beamspotnt.py.
beamspotnt.graphs = plots.genPlot(var,'plotscan') |
Definition at line 1538 of file bin/beamspotnt.py.
beamspotnt.help |
Definition at line 53 of file bin/beamspotnt.py.
int beamspotnt.iTable = 1 |
Definition at line 1282 of file bin/beamspotnt.py.
list beamspotnt.labels = [] |
Definition at line 1447 of file bin/beamspotnt.py.
string beamspotnt.latexheader = 'Period ' |
Definition at line 1283 of file bin/beamspotnt.py.
string beamspotnt.latexrow = '%s' % options.period.replace('_','\_') |
Definition at line 1284 of file bin/beamspotnt.py.
beamspotnt.lbMax |
Definition at line 1377 of file bin/beamspotnt.py.
beamspotnt.lbMin |
Definition at line 1376 of file bin/beamspotnt.py.
int beamspotnt.lbSize = 0 |
Definition at line 1184 of file bin/beamspotnt.py.
int beamspotnt.maxrun = 0 |
Definition at line 1256 of file bin/beamspotnt.py.
int beamspotnt.minrun = 1e10 |
Definition at line 1255 of file bin/beamspotnt.py.
beamspotnt.msize |
Definition at line 1442 of file bin/beamspotnt.py.
beamspotnt.None |
Definition at line 59 of file bin/beamspotnt.py.
def beamspotnt.nt = getNt() |
Definition at line 1063 of file bin/beamspotnt.py.
beamspotnt.ntClass = locals()[options.type] |
Definition at line 211 of file bin/beamspotnt.py.
beamspotnt.options |
Definition at line 152 of file bin/beamspotnt.py.
beamspotnt.overlayScans |
Definition at line 1549 of file bin/beamspotnt.py.
list beamspotnt.parName = calc.varList[i] |
Definition at line 1287 of file bin/beamspotnt.py.
beamspotnt.parser = OptionParser(usage=__usage__, version=__version__) |
Definition at line 52 of file bin/beamspotnt.py.
Definition at line 35 of file bin/beamspotnt.py.
Definition at line 1240 of file bin/beamspotnt.py.
string beamspotnt.plotType = 'perbcid' |
Definition at line 1423 of file bin/beamspotnt.py.
beamspotnt.posX |
Definition at line 1318 of file bin/beamspotnt.py.
beamspotnt.posXErr |
Definition at line 1327 of file bin/beamspotnt.py.
beamspotnt.posY |
Definition at line 1319 of file bin/beamspotnt.py.
beamspotnt.posYErr |
Definition at line 1328 of file bin/beamspotnt.py.
beamspotnt.posZ |
Definition at line 1320 of file bin/beamspotnt.py.
beamspotnt.posZErr |
Definition at line 1329 of file bin/beamspotnt.py.
list beamspotnt.qargv = [ ] |
Definition at line 40 of file bin/beamspotnt.py.
string beamspotnt.qcmd = ' '.join(qargv) |
Definition at line 49 of file bin/beamspotnt.py.
beamspotnt.r = b.run |
Definition at line 1138 of file bin/beamspotnt.py.
beamspotnt.rms = calc.rms |
Definition at line 1266 of file bin/beamspotnt.py.
list beamspotnt.rows = [] |
Definition at line 1112 of file bin/beamspotnt.py.
beamspotnt.runEndInt = b.runEnd |
Definition at line 1368 of file bin/beamspotnt.py.
dictionary beamspotnt.runInfo = {} |
Definition at line 1136 of file bin/beamspotnt.py.
beamspotnt.runMax |
Definition at line 1340 of file bin/beamspotnt.py.
beamspotnt.runMin |
Definition at line 1340 of file bin/beamspotnt.py.
beamspotnt.saveAsList |
Definition at line 1242 of file bin/beamspotnt.py.
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.
beamspotnt.sigmaX |
Definition at line 1321 of file bin/beamspotnt.py.
beamspotnt.sigmaXErr |
Definition at line 1330 of file bin/beamspotnt.py.
beamspotnt.sigmaXY |
Definition at line 1326 of file bin/beamspotnt.py.
beamspotnt.sigmaXYErr |
Definition at line 1335 of file bin/beamspotnt.py.
beamspotnt.sigmaY |
Definition at line 1322 of file bin/beamspotnt.py.
beamspotnt.sigmaYErr |
Definition at line 1331 of file bin/beamspotnt.py.
beamspotnt.sigmaZ |
Definition at line 1323 of file bin/beamspotnt.py.
beamspotnt.sigmaZErr |
Definition at line 1332 of file bin/beamspotnt.py.
beamspotnt.singleCanvasSize |
Definition at line 1399 of file bin/beamspotnt.py.
string beamspotnt.sqliteFile = options.cooltag+'.db' |
Definition at line 1311 of file bin/beamspotnt.py.
beamspotnt.srcNt = srcNtClass(args[1],database=options.database,folder=options.dbfolder,fullCorrelations=options.fullCorrelations) |
Definition at line 1172 of file bin/beamspotnt.py.
beamspotnt.srcNtClass = locals()[options.srctype] |
Definition at line 1169 of file bin/beamspotnt.py.
beamspotnt.status |
Definition at line 1317 of file bin/beamspotnt.py.
string beamspotnt.tableTemplate |
Definition at line 1073 of file bin/beamspotnt.py.
beamspotnt.tag |
Definition at line 1316 of file bin/beamspotnt.py.
beamspotnt.tiltX |
Definition at line 1324 of file bin/beamspotnt.py.
beamspotnt.tiltXErr |
Definition at line 1333 of file bin/beamspotnt.py.
beamspotnt.tiltY |
Definition at line 1325 of file bin/beamspotnt.py.
beamspotnt.tiltYErr |
Definition at line 1334 of file bin/beamspotnt.py.
int beamspotnt.time0 = 1262304000 |
Definition at line 1475 of file bin/beamspotnt.py.
string beamspotnt.timeLabel = 'Time (%s)' % options.timezone |
Definition at line 187 of file bin/beamspotnt.py.
int beamspotnt.totalEntries = 0 |
Definition at line 1182 of file bin/beamspotnt.py.
int beamspotnt.totalVtxs = 0 |
Definition at line 1183 of file bin/beamspotnt.py.
beamspotnt.type |
Definition at line 59 of file bin/beamspotnt.py.
beamspotnt.useAlternate |
Definition at line 1293 of file bin/beamspotnt.py.
beamspotnt.var = args[1] |
Definition at line 1394 of file bin/beamspotnt.py.
beamspotnt.varDefs |
Definition at line 171 of file bin/beamspotnt.py.
Definition at line 1108 of file bin/beamspotnt.py.
list beamspotnt.varRanges |
Definition at line 1273 of file bin/beamspotnt.py.
beamspotnt.whatList |
Definition at line 1241 of file bin/beamspotnt.py.
string beamspotnt.xtype = 'time' |
Definition at line 1509 of file bin/beamspotnt.py.