ATLAS Offline Software
Namespaces | Variables
PixelModuleFeMask_create_db.py File Reference

Go to the source code of this file.

Namespaces

 PixelModuleFeMask_create_db
 

Variables

 PixelModuleFeMask_create_db.p = argparse.ArgumentParser()
 
 PixelModuleFeMask_create_db.type
 
 PixelModuleFeMask_create_db.str
 
 PixelModuleFeMask_create_db.help
 
 PixelModuleFeMask_create_db.default
 
 PixelModuleFeMask_create_db.int
 
 PixelModuleFeMask_create_db.args = p.parse_args()
 
string PixelModuleFeMask_create_db.dbFile = 'PixelModuleFeMask_run'+str(args.run)+'.db'
 
string PixelModuleFeMask_create_db.dbName = 'CONDBR2'
 
string PixelModuleFeMask_create_db.path = '/PIXEL/PixelModuleFeMask'
 
string PixelModuleFeMask_create_db.tag = 'PixelModuleFeMask-RUN2-DATA-UPD4-05'
 
 PixelModuleFeMask_create_db.dbSvc = cool.DatabaseSvcFactory.databaseService()
 
string PixelModuleFeMask_create_db.dbString = "sqlite://;schema=%s;dbname=%s" % (dbFile, dbName)
 
 PixelModuleFeMask_create_db.db = dbSvc.createDatabase(dbString)
 
 PixelModuleFeMask_create_db.spec = cool.RecordSpecification()
 
string PixelModuleFeMask_create_db.desc = '<timeStamp>run-lumi</timeStamp><addrHeader><address_header service_type="71" clid="1238547719" /></addrHeader><typeName>CondAttrListCollection</typeName>'
 
 PixelModuleFeMask_create_db.folderSpec = cool.FolderSpecification(cool.FolderVersioning.MULTI_VERSION, spec)
 
 PixelModuleFeMask_create_db.folder = db.createFolder(path, folderSpec, desc, True)
 
 PixelModuleFeMask_create_db.data = cool.Record(spec)
 
 PixelModuleFeMask_create_db.input_file = open(args.input_file,'r')
 
 PixelModuleFeMask_create_db.nModules = sum(1 for line in input_file)
 
list PixelModuleFeMask_create_db.input_list = [[0 for x in range(4)] for y in range(nModules)]
 
int PixelModuleFeMask_create_db.iterator = 0
 
int PixelModuleFeMask_create_db.runnumber_large = args.run << 32
 
int PixelModuleFeMask_create_db.iov_start_min = 100000000000000000000
 
int PixelModuleFeMask_create_db.iov_end_max = 0
 
list PixelModuleFeMask_create_db.payload_list = []
 
int PixelModuleFeMask_create_db.module_old = 0;
 
int PixelModuleFeMask_create_db.FE_code_old = 0;
 
string PixelModuleFeMask_create_db.payload = ""
 
list PixelModuleFeMask_create_db.module = input_list[i][0]
 
list PixelModuleFeMask_create_db.FEcode = input_list[i][1]
 
list PixelModuleFeMask_create_db.iov_start = input_list[i][2]
 
list PixelModuleFeMask_create_db.iov_end = input_list[i][3]
 
int PixelModuleFeMask_create_db.stop = 0
 
string PixelModuleFeMask_create_db.remove = '"'+str(module_old)+'":'+str(FE_code_old)+","
 
bool PixelModuleFeMask_create_db.since_bool = False
 
int PixelModuleFeMask_create_db.since = 0
 
int PixelModuleFeMask_create_db.until = 0
 
int PixelModuleFeMask_create_db.channel = 0