ATLAS Offline Software
Functions | Variables
CalibCoolCompareT0 Namespace Reference

Functions

def printhelp (argv0)
 

Variables

list cool_database_strings = [CalibDbDefaults.cool_database_string, CalibDbDefaults.cool_database_string]
 
list cool_folders = [CalibDbDefaults.cool_folders[calibtype], CalibDbDefaults.cool_folders[calibtype]]
 
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_t0s = []
 
 all_stations = set(cool_t0s[0].keys()).union(set(cool_t0s[1].keys()))
 
 outfile = TFile(outfile_nm, "RECREATE")
 
 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 t0 = []
 
list t0_mean = []
 
list t0_min = []
 
list t0_max = []
 
list theT0s = cool_t0s[i][ident]
 

Function Documentation

◆ printhelp()

def CalibCoolCompareT0.printhelp (   argv0)

Definition at line 14 of file CalibCoolCompareT0.py.

14 def printhelp(argv0):
15  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")
16  sys.exit(1)
17 
18 theArgs=sys.argv[1:]
19 

Variable Documentation

◆ all_stations

CalibCoolCompareT0.all_stations = set(cool_t0s[0].keys()).union(set(cool_t0s[1].keys()))

Definition at line 78 of file CalibCoolCompareT0.py.

◆ args

CalibCoolCompareT0.args

Definition at line 21 of file CalibCoolCompareT0.py.

◆ argv

CalibCoolCompareT0.argv

Definition at line 62 of file CalibCoolCompareT0.py.

◆ cool_database_strings

list CalibCoolCompareT0.cool_database_strings = [CalibDbDefaults.cool_database_string, CalibDbDefaults.cool_database_string]

Definition at line 9 of file CalibCoolCompareT0.py.

◆ cool_folders

list CalibCoolCompareT0.cool_folders = [CalibDbDefaults.cool_folders[calibtype], CalibDbDefaults.cool_folders[calibtype]]

Definition at line 10 of file CalibCoolCompareT0.py.

◆ cool_t0s

list CalibCoolCompareT0.cool_t0s = []

Definition at line 69 of file CalibCoolCompareT0.py.

◆ cool_tags

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

Definition at line 11 of file CalibCoolCompareT0.py.

◆ n_tubes

list CalibCoolCompareT0.n_tubes = []

Definition at line 91 of file CalibCoolCompareT0.py.

◆ optlist

CalibCoolCompareT0.optlist

Definition at line 21 of file CalibCoolCompareT0.py.

◆ outfile

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

Definition at line 81 of file CalibCoolCompareT0.py.

◆ outfile_nm

CalibCoolCompareT0.outfile_nm = theArgs[0]

Definition at line 54 of file CalibCoolCompareT0.py.

◆ run_numbers

list CalibCoolCompareT0.run_numbers = [None, None]

Definition at line 12 of file CalibCoolCompareT0.py.

◆ station_eta

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

Definition at line 86 of file CalibCoolCompareT0.py.

◆ station_nm

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

Definition at line 84 of file CalibCoolCompareT0.py.

◆ station_phi

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

Definition at line 85 of file CalibCoolCompareT0.py.

◆ t0

list CalibCoolCompareT0.t0 = []

Definition at line 92 of file CalibCoolCompareT0.py.

◆ t0_max

list CalibCoolCompareT0.t0_max = []

Definition at line 95 of file CalibCoolCompareT0.py.

◆ t0_mean

list CalibCoolCompareT0.t0_mean = []

Definition at line 93 of file CalibCoolCompareT0.py.

◆ t0_min

list CalibCoolCompareT0.t0_min = []

Definition at line 94 of file CalibCoolCompareT0.py.

◆ theArgs

CalibCoolCompareT0.theArgs = args[1:]

Definition at line 48 of file CalibCoolCompareT0.py.

◆ theT0s

list CalibCoolCompareT0.theT0s = cool_t0s[i][ident]

Definition at line 126 of file CalibCoolCompareT0.py.

◆ tree

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

Definition at line 82 of file CalibCoolCompareT0.py.

CalibCoolCompareT0.printhelp
def printhelp(argv0)
Definition: CalibCoolCompareT0.py:14