ATLAS Offline Software
Functions | Variables
CalibCoolCompareRT Namespace Reference

Functions

def printhelp (argv0)
 

Variables

list cool_database_strings = ['COOLOFL_MDT/COMP200', 'COOLOFL_MDT/COMP200']
 
list cool_folders = ['/MDT/RT', '/MDT/RT']
 
list cool_tags = ['COMCOND-BLKPST-004-07', 'COMCOND-BLKPST-004-07']
 
list run_numbers = [None, None]
 
 optlist
 
 args
 
 theArgs = args[1:]
 
 outfile_nm = theArgs[0]
 
 argv
 
list cool_rts = []
 
 outfile = TFile(outfile_nm, "RECREATE")
 
 all_stations = set(cool_rts[0].keys()).union(set(cool_rts[1].keys()))
 
 tree = TTree("tree", "t0 differences")
 
 station_nm = array('c', "BIL\0")
 
 station_phi = array('i', [0])
 
 station_eta = array('i', [0])
 
list n_tubes = []
 
list t = []
 
list v = []
 
 r = array('f', 13*[0.0])
 
 up = MuonFixedIdUnpack(ident)
 
 nm = up.stationNameString()
 
list theRt = cool_rts[i][ident]
 

Function Documentation

◆ printhelp()

def CalibCoolCompareRT.printhelp (   argv0)

Definition at line 13 of file CalibCoolCompareRT.py.

13 def printhelp(argv0):
14  sys.stderr.write("Usage: " + argv0 + " [-h] [-s <cool database string>] [-f <cool folder>] [-t <cool tag>] <run number 1> [-s <cool database string>] [-f <cool folder>] [-t <cool tag>] <run number 2> <root file>\n")
15  sys.exit(1)
16 
17 theArgs=sys.argv[1:]
18 

Variable Documentation

◆ all_stations

CalibCoolCompareRT.all_stations = set(cool_rts[0].keys()).union(set(cool_rts[1].keys()))

Definition at line 81 of file CalibCoolCompareRT.py.

◆ args

CalibCoolCompareRT.args

Definition at line 20 of file CalibCoolCompareRT.py.

◆ argv

CalibCoolCompareRT.argv

Definition at line 61 of file CalibCoolCompareRT.py.

◆ cool_database_strings

list CalibCoolCompareRT.cool_database_strings = ['COOLOFL_MDT/COMP200', 'COOLOFL_MDT/COMP200']

Definition at line 8 of file CalibCoolCompareRT.py.

◆ cool_folders

list CalibCoolCompareRT.cool_folders = ['/MDT/RT', '/MDT/RT']

Definition at line 9 of file CalibCoolCompareRT.py.

◆ cool_rts

list CalibCoolCompareRT.cool_rts = []

Definition at line 69 of file CalibCoolCompareRT.py.

◆ cool_tags

list CalibCoolCompareRT.cool_tags = ['COMCOND-BLKPST-004-07', 'COMCOND-BLKPST-004-07']

Definition at line 10 of file CalibCoolCompareRT.py.

◆ n_tubes

list CalibCoolCompareRT.n_tubes = []

Definition at line 93 of file CalibCoolCompareRT.py.

◆ nm

CalibCoolCompareRT.nm = up.stationNameString()

Definition at line 110 of file CalibCoolCompareRT.py.

◆ optlist

CalibCoolCompareRT.optlist

Definition at line 20 of file CalibCoolCompareRT.py.

◆ outfile

CalibCoolCompareRT.outfile = TFile(outfile_nm, "RECREATE")

Definition at line 71 of file CalibCoolCompareRT.py.

◆ outfile_nm

CalibCoolCompareRT.outfile_nm = theArgs[0]

Definition at line 53 of file CalibCoolCompareRT.py.

◆ r

CalibCoolCompareRT.r = array('f', 13*[0.0])

Definition at line 96 of file CalibCoolCompareRT.py.

◆ run_numbers

list CalibCoolCompareRT.run_numbers = [None, None]

Definition at line 11 of file CalibCoolCompareRT.py.

◆ station_eta

CalibCoolCompareRT.station_eta = array('i', [0])

Definition at line 88 of file CalibCoolCompareRT.py.

◆ station_nm

CalibCoolCompareRT.station_nm = array('c', "BIL\0")

Definition at line 86 of file CalibCoolCompareRT.py.

◆ station_phi

CalibCoolCompareRT.station_phi = array('i', [0])

Definition at line 87 of file CalibCoolCompareRT.py.

◆ t

list CalibCoolCompareRT.t = []

Definition at line 94 of file CalibCoolCompareRT.py.

◆ theArgs

CalibCoolCompareRT.theArgs = args[1:]

Definition at line 47 of file CalibCoolCompareRT.py.

◆ theRt

list CalibCoolCompareRT.theRt = cool_rts[i][ident]

Definition at line 121 of file CalibCoolCompareRT.py.

◆ tree

CalibCoolCompareRT.tree = TTree("tree", "t0 differences")

Definition at line 84 of file CalibCoolCompareRT.py.

◆ up

CalibCoolCompareRT.up = MuonFixedIdUnpack(ident)

Definition at line 109 of file CalibCoolCompareRT.py.

◆ v

list CalibCoolCompareRT.v = []

Definition at line 95 of file CalibCoolCompareRT.py.

CalibCoolCompareRT.printhelp
def printhelp(argv0)
Definition: CalibCoolCompareRT.py:13