ATLAS Offline Software
|
Variables | |
p = argparse.ArgumentParser() | |
type | |
str | |
help | |
default | |
int | |
args = p.parse_args() | |
string | dbFile = 'PixelModuleFeMask_run'+str(args.run)+'.db' |
string | dbName = 'CONDBR2' |
string | path = '/PIXEL/PixelModuleFeMask' |
string | tag = 'PixelModuleFeMask-RUN2-DATA-UPD4-05' |
dbSvc = cool.DatabaseSvcFactory.databaseService() | |
string | dbString = "sqlite://;schema=%s;dbname=%s" % (dbFile, dbName) |
db = dbSvc.createDatabase(dbString) | |
spec = cool.RecordSpecification() | |
string | desc = '<timeStamp>run-lumi</timeStamp><addrHeader><address_header service_type="71" clid="1238547719" /></addrHeader><typeName>CondAttrListCollection</typeName>' |
folderSpec = cool.FolderSpecification(cool.FolderVersioning.MULTI_VERSION, spec) | |
folder = db.createFolder(path, folderSpec, desc, True) | |
data = cool.Record(spec) | |
input_file = open(args.input_file,'r') | |
nModules = sum(1 for line in input_file) | |
list | input_list = [[0 for x in range(4)] for y in range(nModules)] |
int | iterator = 0 |
int | runnumber_large = args.run << 32 |
int | iov_start_min = 100000000000000000000 |
int | iov_end_max = 0 |
list | payload_list = [] |
int | module_old = 0; |
int | FE_code_old = 0; |
string | payload = "" |
list | module = input_list[i][0] |
list | FEcode = input_list[i][1] |
list | iov_start = input_list[i][2] |
list | iov_end = input_list[i][3] |
int | stop = 0 |
string | remove = '"'+str(module_old)+'":'+str(FE_code_old)+"," |
bool | since_bool = False |
int | since = 0 |
int | until = 0 |
int | channel = 0 |
PixelModuleFeMask_create_db.args = p.parse_args() |
Definition at line 16 of file PixelModuleFeMask_create_db.py.
int PixelModuleFeMask_create_db.channel = 0 |
Definition at line 103 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.data = cool.Record(spec) |
Definition at line 44 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.db = dbSvc.createDatabase(dbString) |
Definition at line 33 of file PixelModuleFeMask_create_db.py.
Definition at line 20 of file PixelModuleFeMask_create_db.py.
string PixelModuleFeMask_create_db.dbName = 'CONDBR2' |
Definition at line 21 of file PixelModuleFeMask_create_db.py.
string PixelModuleFeMask_create_db.dbString = "sqlite://;schema=%s;dbname=%s" % (dbFile, dbName) |
Definition at line 31 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.dbSvc = cool.DatabaseSvcFactory.databaseService() |
Definition at line 30 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.default |
Definition at line 14 of file PixelModuleFeMask_create_db.py.
string PixelModuleFeMask_create_db.desc = '<timeStamp>run-lumi</timeStamp><addrHeader><address_header service_type="71" clid="1238547719" /></addrHeader><typeName>CondAttrListCollection</typeName>' |
Definition at line 41 of file PixelModuleFeMask_create_db.py.
list PixelModuleFeMask_create_db.FE_code_old = 0; |
Definition at line 65 of file PixelModuleFeMask_create_db.py.
int PixelModuleFeMask_create_db.FEcode = input_list[i][1] |
Definition at line 73 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.folder = db.createFolder(path, folderSpec, desc, True) |
Definition at line 43 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.folderSpec = cool.FolderSpecification(cool.FolderVersioning.MULTI_VERSION, spec) |
Definition at line 42 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.help |
Definition at line 14 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.input_file = open(args.input_file,'r') |
Definition at line 46 of file PixelModuleFeMask_create_db.py.
Definition at line 51 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.int |
Definition at line 15 of file PixelModuleFeMask_create_db.py.
list PixelModuleFeMask_create_db.iov_end = input_list[i][3] |
Definition at line 75 of file PixelModuleFeMask_create_db.py.
int PixelModuleFeMask_create_db.iov_end_max = 0 |
Definition at line 62 of file PixelModuleFeMask_create_db.py.
list PixelModuleFeMask_create_db.iov_start = input_list[i][2] |
Definition at line 74 of file PixelModuleFeMask_create_db.py.
int PixelModuleFeMask_create_db.iov_start_min = 100000000000000000000 |
Definition at line 61 of file PixelModuleFeMask_create_db.py.
int PixelModuleFeMask_create_db.iterator = 0 |
Definition at line 52 of file PixelModuleFeMask_create_db.py.
list PixelModuleFeMask_create_db.module = input_list[i][0] |
Definition at line 72 of file PixelModuleFeMask_create_db.py.
list PixelModuleFeMask_create_db.module_old = 0; |
Definition at line 64 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.nModules = sum(1 for line in input_file) |
Definition at line 47 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.p = argparse.ArgumentParser() |
Definition at line 13 of file PixelModuleFeMask_create_db.py.
string PixelModuleFeMask_create_db.path = '/PIXEL/PixelModuleFeMask' |
Definition at line 22 of file PixelModuleFeMask_create_db.py.
string PixelModuleFeMask_create_db.payload = "" |
Definition at line 69 of file PixelModuleFeMask_create_db.py.
list PixelModuleFeMask_create_db.payload_list = [] |
Definition at line 63 of file PixelModuleFeMask_create_db.py.
string PixelModuleFeMask_create_db.remove = '"'+str(module_old)+'":'+str(FE_code_old)+"," |
Definition at line 83 of file PixelModuleFeMask_create_db.py.
Definition at line 60 of file PixelModuleFeMask_create_db.py.
int PixelModuleFeMask_create_db.since = 0 |
Definition at line 101 of file PixelModuleFeMask_create_db.py.
bool PixelModuleFeMask_create_db.since_bool = False |
Definition at line 100 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.spec = cool.RecordSpecification() |
Definition at line 39 of file PixelModuleFeMask_create_db.py.
int PixelModuleFeMask_create_db.stop = 0 |
Definition at line 76 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.str |
Definition at line 14 of file PixelModuleFeMask_create_db.py.
string PixelModuleFeMask_create_db.tag = 'PixelModuleFeMask-RUN2-DATA-UPD4-05' |
Definition at line 23 of file PixelModuleFeMask_create_db.py.
PixelModuleFeMask_create_db.type |
Definition at line 14 of file PixelModuleFeMask_create_db.py.
int PixelModuleFeMask_create_db.until = 0 |
Definition at line 102 of file PixelModuleFeMask_create_db.py.