ATLAS Offline Software
Functions | Variables
CalibDbCompareRT Namespace Reference

Functions

def printhelp (argv0)
 

Variables

string calibtype = 'rt'
 
 cool_database_string = CalibDbDefaults.cool_database_string
 
 cool_folder = CalibDbDefaults.cool_folders[calibtype]
 
 cool_tag = CalibDbDefaults.cool_tags[calibtype]
 
 dbname = CalibDbDefaults.cool_dbname
 
 run_number = int(args[1])
 
 asp = args[2].split("/")
 
 db = asp[0]
 
 head_id = int(asp[1])
 
 reader_password = args[3]
 
 root_filename = args[4]
 
 argv
 
 outfile = TFile(root_filename, "RECREATE")
 
 cool_gr
 
 cool_sp
 
 dummy
 
 calib_gr
 
 calib_sp
 
 tree = TTree("tree", "rt differences")
 
 region_id = array('i', [0])
 
 station_nm = array('c', "BIL\0")
 
 station_phi = array('i', [0])
 
 station_eta = array('i', [0])
 
 n_points = array('i', [0])
 
 n_points_calib = array('i', [0])
 
 n_points_cool = array('i', [0])
 
 dt13 = array('f', [0.0])
 
 dr13 = array('f', [0.0])
 
 dr = array('f', 100*[0.0])
 
 dt = array('f', 100*[0.0])
 
 up = MuonFixedIdUnpack(chamber_id)
 
 st_str = up.stationNameString()
 
 co_gr = cool_gr[chamber_id]
 
 co_sp = cool_sp[chamber_id]
 
 ca_gr = calib_gr[chamber_id]
 
 ca_sp = calib_sp[chamber_id]
 

Function Documentation

◆ printhelp()

def CalibDbCompareRT.printhelp (   argv0)

Definition at line 15 of file CalibDbCompareRT.py.

15 def printhelp(argv0):
16  sys.stderr.write("Usage: " + argv0 + " [-h] [-s <cool database string>] [-f <cool folder>] [-t <cool tag>] <run number> <calib db>/<head id> <reader password> <root file>\n")
17  sys.exit(1)
18 
19 optlist, args = getopt.gnu_getopt(sys.argv, 'hs:f:t:')

Variable Documentation

◆ argv

CalibDbCompareRT.argv

Definition at line 45 of file CalibDbCompareRT.py.

◆ asp

CalibDbCompareRT.asp = args[2].split("/")

Definition at line 39 of file CalibDbCompareRT.py.

◆ ca_gr

CalibDbCompareRT.ca_gr = calib_gr[chamber_id]

Definition at line 101 of file CalibDbCompareRT.py.

◆ ca_sp

CalibDbCompareRT.ca_sp = calib_sp[chamber_id]

Definition at line 102 of file CalibDbCompareRT.py.

◆ calib_gr

CalibDbCompareRT.calib_gr

Definition at line 64 of file CalibDbCompareRT.py.

◆ calib_sp

CalibDbCompareRT.calib_sp

Definition at line 64 of file CalibDbCompareRT.py.

◆ calibtype

string CalibDbCompareRT.calibtype = 'rt'

Definition at line 9 of file CalibDbCompareRT.py.

◆ co_gr

CalibDbCompareRT.co_gr = cool_gr[chamber_id]

Definition at line 99 of file CalibDbCompareRT.py.

◆ co_sp

CalibDbCompareRT.co_sp = cool_sp[chamber_id]

Definition at line 100 of file CalibDbCompareRT.py.

◆ cool_database_string

string CalibDbCompareRT.cool_database_string = CalibDbDefaults.cool_database_string

Definition at line 10 of file CalibDbCompareRT.py.

◆ cool_folder

CalibDbCompareRT.cool_folder = CalibDbDefaults.cool_folders[calibtype]

Definition at line 11 of file CalibDbCompareRT.py.

◆ cool_gr

CalibDbCompareRT.cool_gr

Definition at line 60 of file CalibDbCompareRT.py.

◆ cool_sp

CalibDbCompareRT.cool_sp

Definition at line 60 of file CalibDbCompareRT.py.

◆ cool_tag

string CalibDbCompareRT.cool_tag = CalibDbDefaults.cool_tags[calibtype]

Definition at line 12 of file CalibDbCompareRT.py.

◆ db

CalibDbCompareRT.db = asp[0]

Definition at line 40 of file CalibDbCompareRT.py.

◆ dbname

CalibDbCompareRT.dbname = CalibDbDefaults.cool_dbname

Definition at line 13 of file CalibDbCompareRT.py.

◆ dr

CalibDbCompareRT.dr = array('f', 100*[0.0])

Definition at line 81 of file CalibDbCompareRT.py.

◆ dr13

CalibDbCompareRT.dr13 = array('f', [0.0])

Definition at line 80 of file CalibDbCompareRT.py.

◆ dt

CalibDbCompareRT.dt = array('f', 100*[0.0])

Definition at line 82 of file CalibDbCompareRT.py.

◆ dt13

CalibDbCompareRT.dt13 = array('f', [0.0])

Definition at line 79 of file CalibDbCompareRT.py.

◆ dummy

CalibDbCompareRT.dummy

Definition at line 60 of file CalibDbCompareRT.py.

◆ head_id

CalibDbCompareRT.head_id = int(asp[1])

Definition at line 41 of file CalibDbCompareRT.py.

◆ n_points

CalibDbCompareRT.n_points = array('i', [0])

Definition at line 76 of file CalibDbCompareRT.py.

◆ n_points_calib

CalibDbCompareRT.n_points_calib = array('i', [0])

Definition at line 77 of file CalibDbCompareRT.py.

◆ n_points_cool

CalibDbCompareRT.n_points_cool = array('i', [0])

Definition at line 78 of file CalibDbCompareRT.py.

◆ outfile

CalibDbCompareRT.outfile = TFile(root_filename, "RECREATE")

Definition at line 53 of file CalibDbCompareRT.py.

◆ reader_password

CalibDbCompareRT.reader_password = args[3]

Definition at line 42 of file CalibDbCompareRT.py.

◆ region_id

CalibDbCompareRT.region_id = array('i', [0])

Definition at line 68 of file CalibDbCompareRT.py.

◆ root_filename

CalibDbCompareRT.root_filename = args[4]

Definition at line 43 of file CalibDbCompareRT.py.

◆ run_number

CalibDbCompareRT.run_number = int(args[1])

Definition at line 38 of file CalibDbCompareRT.py.

◆ st_str

CalibDbCompareRT.st_str = up.stationNameString()

Definition at line 94 of file CalibDbCompareRT.py.

◆ station_eta

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

Definition at line 71 of file CalibDbCompareRT.py.

◆ station_nm

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

Definition at line 69 of file CalibDbCompareRT.py.

◆ station_phi

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

Definition at line 70 of file CalibDbCompareRT.py.

◆ tree

CalibDbCompareRT.tree = TTree("tree", "rt differences")

Definition at line 67 of file CalibDbCompareRT.py.

◆ up

CalibDbCompareRT.up = MuonFixedIdUnpack(chamber_id)

Definition at line 93 of file CalibDbCompareRT.py.

CalibDbCompareRT.printhelp
def printhelp(argv0)
Definition: CalibDbCompareRT.py:15